diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-09-18 17:33:51 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-09-18 17:33:51 +0000 |
commit | adb7f3388f557308fab00d544185922035efa8f0 (patch) | |
tree | 9a72462bc520831ecd495d4683d819db9f2fd77f /gdb/rs6000-nat.c | |
parent | 924731f649dfb01afee8f46738ed2de7436d98d6 (diff) | |
download | gdb-adb7f3388f557308fab00d544185922035efa8f0.zip gdb-adb7f3388f557308fab00d544185922035efa8f0.tar.gz gdb-adb7f3388f557308fab00d544185922035efa8f0.tar.bz2 |
gdb/
* objfiles.c (free_objfile): Clear SYMFILE_OBJFILE if it is OBJFILE.
* rs6000-nat.c (vmap_ldinfo): Only assertion check SYMFILE_OBJFILE now.
* symfile.c (syms_from_objfile, symbol_file_clear): Likewise.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 7fa7c41..8273046 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -915,7 +915,7 @@ If in fact that file has symbols which the mapped files listed by\n\ symbols to the proper address)."), symfile_objfile->name); free_objfile (symfile_objfile); - symfile_objfile = NULL; + gdb_assert (symfile_objfile == NULL); } breakpoint_re_set (); } |