aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-03-24 15:28:40 +0000
committerMichael Tiemann <tiemann@cygnus>1992-03-24 15:28:40 +0000
commitbe1384b0567a8c202807b622a5e0c8a75348f4f9 (patch)
tree6327c6b2cedc8bac97b525001a783a4f42ba51c4
parent62a469e129b32e32bb0409d2632d3ccaf1f61144 (diff)
downloadgdb-be1384b0567a8c202807b622a5e0c8a75348f4f9.zip
gdb-be1384b0567a8c202807b622a5e0c8a75348f4f9.tar.gz
gdb-be1384b0567a8c202807b622a5e0c8a75348f4f9.tar.bz2
Fixed a place where dbx symbol name continuation was appearing in an
unexpected place, causing the `Trace' type in gperf/main.o to be mis-parsed.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/buildsym.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6cfc985..35a30d0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Tue Mar 24 07:26:19 1992 Michael Tiemann (tiemann@cygnus.com)
+
+ * buildsym.c (read_struct_type): Handle cretinous dbx symbol name
+ continuation in yet another place (between method declarations).
+
Mon Mar 23 23:01:41 1992 Stu Grossman (grossman at cygnus.com)
* mips-tdep.c: include symfile.h and objfiles.h to fix
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index c74ea1e..f50ced7 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -2579,6 +2579,7 @@ read_struct_type (pp, type, objfile)
mainlist = new_mainlist;
nfn_fields++;
total_length += length;
+ if (**pp == '\\') *pp = next_symbol_text ();
}
while (**pp != ';');
}