This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix too many "no debugging symbols found" warnings.
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Pedro Alves <pedro at codesourcery dot com>, Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Thu, 27 Aug 2009 12:28:00 -0600
- Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings.
- References: <20090523232414.BED2B846C2@localhost> <200907022344.12495.pedro@codesourcery.com> <e394668d0907101512q708b6bf3ua96e2ff55bdea4b9@mail.gmail.com> <200907201402.47393.pedro@codesourcery.com> <e394668d0907231106j49aa4ee5k8fbfbc34214ed698@mail.gmail.com> <m37hxujcmv.fsf@fleche.redhat.com> <e394668d0908241413gac76a36j434507ebd7408b1d@mail.gmail.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Tom> This particular function seems overdue for ui-out-ification.
Tom> This would let us keep the old version for MI[12], and then properly
Tom> evolve the output for future versions MI.
Doug> Is this what you had in mind?
Yes, thanks.
FWIW that was just a drive-by complaint of mine... I will try to stop
doing that, I didn't intend to get you to do this.
Doug> + ui_out_table_header (uiout, addr_width - 1, ui_left, "From", "From");
Doug> + ui_out_table_header (uiout, addr_width - 1, ui_left, "To", "To");
Doug> + ui_out_table_header (uiout, 12 - 1, ui_left, "SymsRead", "Syms Read");
It seems to be GDB style that column names (the first string arg) should
be lowercase, not camelcase. Generally they use "-" and not "_" as well
(I only saw one exception).
Doug> + ui_out_field_string (uiout, "From", "");
Doug> + ui_out_field_string (uiout, "To", "");
Probably use ui_out_field_skip here.
Tom