aboutsummaryrefslogtreecommitdiff
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
commit9b27852e6d21117f342e9d4de0d07a0ada5f174f (patch)
treef94e677240fb485abb095207937b0d3fec257357 /gdb/i386-linux-tdep.c
parent347dc97d2d4b80f3d8c23570fbedf7c6fa5e7c5c (diff)
downloadgdb-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/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 aae44bc..a8bc52f 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 ()));