summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorcsgr <csgr@FreeBSD.org>1994-06-14 12:45:41 +0000
committercsgr <csgr@FreeBSD.org>1994-06-14 12:45:41 +0000
commit32ebc790cfb8b21f05548ce2d6f485ac2e0b4151 (patch)
tree02df2dea461b3b36c4fd13163c3db83a6b3fecaa /gnu/usr.bin/gdb
parentb180b786f2dce401bce6e86ac74f548ffacb9c1b (diff)
downloadFreeBSD-src-32ebc790cfb8b21f05548ce2d6f485ac2e0b4151.zip
FreeBSD-src-32ebc790cfb8b21f05548ce2d6f485ac2e0b4151.tar.gz
Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>
Paul Kranenburg's description: ld is in error here, assuming that symbols with N_EXT set always have an entry in the (global) symbol table: this is not the case for C++ generated constructor/destructor symbols. I can reproduce your failure by fudging a "multiply defined" constructor symbol by hand. Checking for `g == NULL' seems to be a ok as a fence for now. So: for now, in do_file_warnings() we check if g == NULL, before trying to generate any warning messages. This prevents a NULL pointer dereference.
Diffstat (limited to 'gnu/usr.bin/gdb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud