This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] ARI fix: remove 6 last %p occurences
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 20 Apr 2009 18:05:46 -0600
- Subject: Re: [RFA] ARI fix: remove 6 last %p occurences
- References: <003601c9c078$44881fb0$cd985f10$@u-strasbg.fr>
- Reply-to: tromey at redhat dot com
>>>>> "Pierre" == Pierre Muller <muller@ics.u-strasbg.fr> writes:
Pierre> The two last changes in symmisc.c were postponed
Pierre> in my first patch because I had a question:
[...]
>> I don't know the rules for C,
>> is an addition of a pointer and a integer always of type pointer?
Pierre> But nobody answered :(
Sorry about that. Yes, in C, the addition of a pointer and an integer
always has pointer type.
Pierre> Is this OK?
Yes, thanks.
Pierre> + host_address_to_string (
Pierre> + psymtab->objfile->global_psymbols.list
The formatting here looks a bit weird. There aren't many good
choices, but usually I just choose to let the line wrap rather than
splitting after the "(".
Tom