diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-10-24 14:42:21 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-10-24 14:42:21 +0000 |
commit | 55e0deaaaeb82e52e6b4c8f61c2a3a583b57b95e (patch) | |
tree | f96c1cb5b976a262bfed9f80e98de8d36d60cf98 | |
parent | 3731b38ac36756f50937835496c4fa48dc5ef801 (diff) | |
download | gdb-55e0deaaaeb82e52e6b4c8f61c2a3a583b57b95e.zip gdb-55e0deaaaeb82e52e6b4c8f61c2a3a583b57b95e.tar.gz gdb-55e0deaaaeb82e52e6b4c8f61c2a3a583b57b95e.tar.bz2 |
* solib.c (open_symbol_file_object): Update function signature to
match catch_errors function argument.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/solib.c | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e1e510..c0897ed 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 25 01:19:26 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * solib.c (open_symbol_file_object): Update function signature to + match catch_errors function argument. + Wed Oct 25 00:08:01 2000 Andrew Cagney <cagney@b1.cygnus.com> From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>: diff --git a/gdb/solib.c b/gdb/solib.c index 65e98db9..a492dbf 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -1060,7 +1060,7 @@ first_link_map_member (void) SYNOPSIS - void open_symbol_file_object (int *from_tty) + int open_symbol_file_object (void *from_ttyp) DESCRIPTION @@ -1075,11 +1075,12 @@ first_link_map_member (void) catch_errors() requires a pointer argument. */ static int -open_symbol_file_object (int *from_ttyp) +open_symbol_file_object (void *from_ttyp) { CORE_ADDR lm; char *filename; int errcode; + int from_tty = *(int *)from_ttyp; if (symfile_objfile) if (!query ("Attempt to reload symbols from process? ")) @@ -1130,7 +1131,7 @@ open_symbol_file_object (int *from_ttyp) make_cleanup (free, filename); /* Have a pathname: read the symbol file. */ - symbol_file_command (filename, *from_ttyp); + symbol_file_command (filename, from_tty); return 1; } |