mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
Tweeks for HP/UX and -Werror.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
Tue Oct 23 14:16:10 2001 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
|
||||||
|
(som_solib_desire_dynamic_linker_symbols): Compare integers with
|
||||||
|
zero not NULL.
|
||||||
|
* hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
|
||||||
|
|
||||||
2001-10-21 Andrew Cagney <ac131313@redhat.com>
|
2001-10-21 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
|
* top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
|
||||||
|
@ -110,7 +110,7 @@ static char main_string[] = "main";
|
|||||||
|
|
||||||
Return value: 1 if ok, 0 if not */
|
Return value: 1 if ok, 0 if not */
|
||||||
int
|
int
|
||||||
hpread_call_pxdb (char *file_name)
|
hpread_call_pxdb (const char *file_name)
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
int status;
|
int status;
|
||||||
|
@ -715,7 +715,8 @@ som_solib_add (char *arg_string, int from_tty, struct target_ops *target)
|
|||||||
if (status != 0)
|
if (status != 0)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
new_so->som_solib.next = (void *) extract_unsigned_integer (buf, 4);
|
new_so->som_solib.next =
|
||||||
|
address_to_host_pointer (extract_unsigned_integer (buf, 4));
|
||||||
|
|
||||||
/* Note that we don't re-set "addr" to the next pointer
|
/* Note that we don't re-set "addr" to the next pointer
|
||||||
* until after we've read the trailing data.
|
* until after we've read the trailing data.
|
||||||
@ -1263,8 +1264,10 @@ som_solib_desire_dynamic_linker_symbols (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Did we find everything we were looking for? If so, stop. */
|
/* Did we find everything we were looking for? If so, stop. */
|
||||||
if ((dld_cache.load.address != NULL) && (dld_cache.load_stub.address != NULL)
|
if ((dld_cache.load.address != 0)
|
||||||
&& (dld_cache.unload.address != NULL) && (dld_cache.unload_stub.address != NULL))
|
&& (dld_cache.load_stub.address != 0)
|
||||||
|
&& (dld_cache.unload.address != 0)
|
||||||
|
&& (dld_cache.unload_stub.address != 0))
|
||||||
{
|
{
|
||||||
dld_cache.is_valid = 1;
|
dld_cache.is_valid = 1;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user