summaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2001-12-10 22:04:10 +0000
committerFred Fish <fnf@specifix.com>2001-12-10 22:04:10 +0000
commit504689fb7bb23161d7c46ca3ecf0d2f3935b2f11 (patch)
tree30efa74b48e1087475fd63fefb6a6b0ef23bdda0 /gdb/i386-linux-tdep.c
parent737dafcbee456d6bc8e11e49ba420a9a6bb4d0df (diff)
downloadgdb-504689fb7bb23161d7c46ca3ecf0d2f3935b2f11.tar.gz
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/i386-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index aae44bcc4fc..a8bc52f66f2 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -458,7 +458,7 @@ skip_hurd_resolver (CORE_ADDR pc)
if (resolver)
{
struct minimal_symbol *fixup
- = lookup_minimal_symbol ("fixup", 0, objfile);
+ = lookup_minimal_symbol ("fixup", NULL, objfile);
if (fixup && SYMBOL_VALUE_ADDRESS (fixup) == pc)
return (SAVED_PC_AFTER_CALL (get_current_frame ()));