This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Improve "set debug separate-debug-file"
- From: Tom Tromey <tom at tromey dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: "gdb-patches\@sourceware.org" <gdb-patches at sourceware dot org>
- Date: Mon, 24 Dec 2018 13:53:15 -0700
- Subject: Re: [PATCH] Improve "set debug separate-debug-file"
- References: <20181221221852.2960-1-simon.marchi@ericsson.com>
>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:
Simon> "set debug separate-debug-file" shows which candidates are considered,
Simon> when trying to find separate debug info. But it's not clear if GDB used
Simon> a certain candidate, and if not, why not. This patch adds some
Simon> precision:
This seems good to me.
Simon> if (separate_debug_file_debug)
Simon> - printf_unfiltered (_(" Trying %s\n"), link.c_str ());
Simon> + printf_unfiltered (_(" Trying %s..."), link.c_str ());
It probably (?) doesn't matter here but normally there should be a call
to gdb_flush as well.
Tom