aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-14 10:39:33 +0000
committerYao Qi <yao@codesourcery.com>2013-01-14 10:39:33 +0000
commit442e4d9c87c24744b266abb5a616f90ac41b4378 (patch)
tree7c83cf97756ec60e631fc9314e570a7454c736fa /gdb/xcoffread.c
parent7765a960b35e2a65bdd0480a384e0e6ff0704583 (diff)
downloadgdb-442e4d9c87c24744b266abb5a616f90ac41b4378.zip
gdb-442e4d9c87c24744b266abb5a616f90ac41b4378.tar.gz
gdb-442e4d9c87c24744b266abb5a616f90ac41b4378.tar.bz2
gdb/
2013-01-14 Yao Qi <yao@codesourcery.com> * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. (dbx_psymtab_to_symtab): Likewise. * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 9fe8621..41aaf02 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1855,14 +1855,11 @@ xcoff_psymtab_to_symtab_1 (struct objfile *objfile, struct partial_symtab *pst)
}
/* Read in all of the symbols for a given psymtab for real.
- Be verbose about it if the user wants that. */
+ Be verbose about it if the user wants that. PST is not NULL. */
static void
xcoff_psymtab_to_symtab (struct objfile *objfile, struct partial_symtab *pst)
{
- if (!pst)
- return;
-
if (pst->readin)
{
fprintf_unfiltered