This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Warn if add-symbol-file does not provide any symbols
- From: Tom Tromey <tromey at adacore dot com>
- To: Tom Tromey <tromey at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Jun 2019 12:37:45 -0600
- Subject: Re: [PATCH] Warn if add-symbol-file does not provide any symbols
- References: <20190604194258.6520-1-tromey@adacore.com>
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:
Tom> A user suggested that add-symbol-file ought to warn if the file does
Tom> not in fact provide any symbols. This seemed like a decent idea, so
Tom> this patch implements this idea.
Tom> Tested on x86-64 Fedora 29.
Tom> gdb/ChangeLog
Tom> 2019-06-04 Tom Tromey <tromey@adacore.com>
Tom> * symfile.c (add_symbol_file_command): Remove obsolete comment.
Tom> Warn if symbol file does not provide any symbols.
I'm checking this in now.
Tom