diff options
author | Fred Fish <fnf@specifix.com> | 2001-12-10 22:04:10 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2001-12-10 22:04:10 +0000 |
commit | 9b27852e6d21117f342e9d4de0d07a0ada5f174f (patch) | |
tree | f94e677240fb485abb095207937b0d3fec257357 /gdb/minsyms.c | |
parent | 347dc97d2d4b80f3d8c23570fbedf7c6fa5e7c5c (diff) | |
download | gdb-9b27852e6d21117f342e9d4de0d07a0ada5f174f.zip gdb-9b27852e6d21117f342e9d4de0d07a0ada5f174f.tar.gz gdb-9b27852e6d21117f342e9d4de0d07a0ada5f174f.tar.bz2 |
Approved by Jim Blandy:
2001-12-10 Fred Fish <fnf@redhat.com>
* arm-linux-tdep.c (skip_hurd_resolver): Use NULL rather than
zero in args to lookup_minimal_symbol.
* linespec.c (decode_line_1): Ditto.
* i386-linux-tdep.c (skip_hurd_resolver): Ditto.
* minsyms.c (find_stab_function_addr): Ditto.
* symfile.c (simple_read_overlay_table): Ditto.
(simple_read_overlay_region_table): Ditto.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r-- | gdb/minsyms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c index b20074b..36d695a 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -547,14 +547,14 @@ find_stab_function_addr (char *namestring, char *filename, { /* Try again without the filename. */ p[n] = 0; - msym = lookup_minimal_symbol (p, 0, objfile); + msym = lookup_minimal_symbol (p, NULL, objfile); } if (msym == NULL && filename != NULL) { /* And try again for Sun Fortran, but without the filename. */ p[n] = '_'; p[n + 1] = 0; - msym = lookup_minimal_symbol (p, 0, objfile); + msym = lookup_minimal_symbol (p, NULL, objfile); } return msym == NULL ? 0 : SYMBOL_VALUE_ADDRESS (msym); |