From: Tom Tromey <tromey@redhat.com>
To: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Cc: "ext Jan Kratochvil" <jan.kratochvil@redhat.com>,
gdb-patches@sourceware.org,
"ext Tristan Gingold" <gingold@adacore.com>,
"André Pönitz" <andre.poenitz@nokia.com>
Subject: Re: [PATCH,gdb,Update4]: ensures that cie ptr of an fda is a cie
Date: Thu, 07 Jul 2011 23:37:00 -0000 [thread overview]
Message-ID: <m3zkkpq3u9.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4A77D598-9262-4A47-813D-0CD977E9DA68@nokia.com> (Fawzi Mohamed's message of "Thu, 7 Jul 2011 18:16:01 +0200")
>>>>> "Fawzi" == Fawzi Mohamed <fawzi.mohamed@nokia.com> writes:
Fawzi> 2011-07-07 Fawzi Mohamed <fawzi.mohamed@nokia.com>
Fawzi> * dwarf2-frame.c (decode_frame_entry, decode_frame_entry_1): Ensure
Fawzi> that CIE pointer of an FDE really points to a CIE .
Looks pretty good.
Fawzi> + error (_("Found a CIE when not expecting it, broken eh_info"));
Remove ", broken eh_info" here.
Fawzi> + error (_("Found an FDE when not expecting it, broken eh_info."));
And here.
The reason is that the error that is printed mentions .eh_frame, and I
think that is sufficient.
Fawzi> + warning (_("skipping .eh_frame info of %s: %s"),objfile->name, e.message);
Line too long. Also, missing a space after the first "," -- but that is
where you should split the line anyhow.
Fawzi> + xfree(fde_table.entries);
Space before the paren.
Fawzi> + warning (_("skipping .debug_frame info of %s: %s"),objfile->name, e.message);
Likewise.
Fawzi> + xfree(fde_table.entries);
Space.
Fawzi> + {
Fawzi> + xrealloc (fde_table.entries,
Fawzi> + fde_table.num_entries * sizeof (fde_table.entries[0]));
Wrong indentation for the xrealloc.
I think it is weird not to use the result of the xrealloc call, even
though we know it is just shrinking the buffer.
Tom
next prev parent reply other threads:[~2011-07-07 19:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 18:19 [PATCH,gdb]: " Fawzi Mohamed
2011-07-04 18:52 ` Joel Brobecker
2011-07-05 10:44 ` [PATCH,gdb, Update1]: " Fawzi Mohamed
2011-07-05 15:17 ` Joel Brobecker
2011-07-05 16:57 ` [PATCH,gdb, Update2]: " Fawzi Mohamed
2011-07-05 16:26 ` [PATCH,gdb]: " Tom Tromey
2011-07-06 14:45 ` [PATCH,gdb,Update3]: " Fawzi Mohamed
2011-07-06 18:16 ` Jan Kratochvil
2011-07-07 17:17 ` [PATCH,gdb,Update4]: " Fawzi Mohamed
2011-07-07 23:37 ` Tom Tromey [this message]
2011-07-11 17:19 ` [PATCH,gdb,Update6]: " Fawzi Mohamed
2011-07-11 21:52 ` Tom Tromey
2011-07-12 11:15 ` [PATCH,gdb,Update7]: " Fawzi Mohamed
2011-07-12 20:01 ` Tom Tromey
2011-07-15 15:34 ` FYI " Fawzi Mohamed
2011-07-07 18:48 ` [PATCH,gdb,Update5]: " Fawzi Mohamed
2011-07-07 19:38 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zkkpq3u9.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=andre.poenitz@nokia.com \
--cc=fawzi.mohamed@nokia.com \
--cc=gdb-patches@sourceware.org \
--cc=gingold@adacore.com \
--cc=jan.kratochvil@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox