aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.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/linespec.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/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 3f7f5a5..98b13a4 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1115,7 +1115,7 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
goto symbol_found;
/* If symbol was not found, look in minimal symbol tables */
- msymbol = lookup_minimal_symbol (copy, 0, 0);
+ msymbol = lookup_minimal_symbol (copy, NULL, NULL);
/* Min symbol was found --> jump to minsym processing. */
if (msymbol)
goto minimal_symbol_found;