This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Empty result of "info types inner": Is this a bug?
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 5 Jan 2015 07:04:31 +0400
- Subject: Re: [RFC] Empty result of "info types inner": Is this a bug?
- Authentication-results: sourceware.org; auth=none
- References: <m3lhlj7wq3 dot fsf at seba dot sebabeach dot org>
> Technically, it's a bug that the first "info types inner" didn't
> print anything, but is this a bug we're willing to accept for
> performance reasons? I want to make the case that the answer is "No."
My inclination as well, and you'll probably see in dwarf2read.c
a few added blocks of code that say "if (ada an some other langs),
add children into global scope. That was for things such as putting
a breakpoint on a nested subprogram, for instance.
--
Joel