aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
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
commitc77c642a84c94b0c2fdb4fcac7c038089038602f (patch)
treec74ba3ff6184dd41cdfe93e0cf97c709fc85d90c /gdb/dbxread.c
parentb44e9041564f8b446bab9175540999d7930b8f84 (diff)
downloadgdb-c77c642a84c94b0c2fdb4fcac7c038089038602f.zip
gdb-c77c642a84c94b0c2fdb4fcac7c038089038602f.tar.gz
gdb-c77c642a84c94b0c2fdb4fcac7c038089038602f.tar.bz2
* dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
complaining. (process_one_symbol): Deal with N_PATCH stabs.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 9bcb50e..62a583f 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. */