summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-09 16:26:17 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-09 16:26:17 +0000
commitd3ac150cd64579e639cef954482927b37fbec7a2 (patch)
treeccf45e5171bceba00ef552711f36026b49c9775c /gdb
parent5c5f0e69cba49b66e208850dc4d883fc37ed388e (diff)
downloadgdb-d3ac150cd64579e639cef954482927b37fbec7a2.tar.gz
* dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
complaining. (process_one_symbol): Deal with N_PATCH stabs.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/dbxread.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7dfffcf50c0..2f037e90c19 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-09 Mark Kettenis <kettenis@gnu.org>
+
+ * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
+ complaining.
+ (process_one_symbol): Deal with N_PATCH stabs.
+
2004-01-09 Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 9bcb50eda32..62a583f0fff 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -2087,6 +2087,7 @@ read_dbx_symtab (struct objfile *objfile)
case N_OBJ: /* useless types from Solaris */
case N_OPT:
+ case N_PATCH:
/* These symbols aren't interesting; don't worry about them */
continue;
@@ -3253,6 +3254,7 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
/* The following symbol types can be ignored. */
case N_OBJ: /* Solaris 2: Object file dir and name */
+ case N_PATCH: /* Solaris2: Patch Run Time Checker. */
/* N_UNDF: Solaris 2: file separator mark */
/* N_UNDF: -- we will never encounter it, since we only process one
file's symbols at once. */