aboutsummaryrefslogtreecommitdiff
path: root/gdb/irix5-nat.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-09-11 11:43:40 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-09-11 11:43:40 +0000
commit54d478cdbad17a305f2684184a9999cc137ce529 (patch)
treeba689f6bee81b425baf29a404e20793821f91653 /gdb/irix5-nat.c
parentdd37f21531b13bbc023bca91d45cb2095957977d (diff)
downloadgdb-54d478cdbad17a305f2684184a9999cc137ce529.zip
gdb-54d478cdbad17a305f2684184a9999cc137ce529.tar.gz
gdb-54d478cdbad17a305f2684184a9999cc137ce529.tar.bz2
* irix5-nat.c, osfsolib.c, solib.c (solib_add): Simplify last
change by replacing `symbols_added' with `so_last'. * mdebugread.c (parse_external, parse_partial_symbols): Ignore global common symbols, they will be resolved by the runtime loader. * mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref): Handle scSCommon like scCommon symbols.
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r--gdb/irix5-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c
index 2831b9c..38cc094 100644
--- a/gdb/irix5-nat.c
+++ b/gdb/irix5-nat.c
@@ -607,7 +607,6 @@ solib_add (arg_string, from_tty, target)
char *re_err;
int count;
int old;
- int symbols_added = 0;
if ((re_err = re_comp (arg_string ? arg_string : ".")) != NULL)
{
@@ -682,14 +681,13 @@ solib_add (arg_string, from_tty, target)
{
so_last = so;
so -> symbols_loaded = 1;
- symbols_added = 1;
}
}
}
/* Getting new symbols may change our opinion about what is
frameless. */
- if (symbols_added)
+ if (so_last)
reinit_frame_cache ();
}