From: Phil Muldoon <pmuldoon@redhat.com>
To: gdb-patches@sourceware.org
Subject: [RFA] Delete breakpoint.c local variables
Date: Wed, 30 Jul 2008 17:03:00 -0000 [thread overview]
Message-ID: <48909EDB.3050001@redhat.com> (raw)
While stepping through breakpoint.c longjmp breakpoint code, I noticed
some small trivial unused local variables. Patch to fix.
2008-07-30 Phil Muldoon <pmuldoon@redhat.com>
* breakpoint.c (create_longjmp_breakpoint): Remove unused struct
breakpoint.
(set_longjmp_breakpoint): Likewise.
Index: gdb/breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.338
diff -u -r1.338 breakpoint.c
--- gdb/breakpoint.c 28 Jul 2008 17:53:52 -0000 1.338
+++ gdb/breakpoint.c 30 Jul 2008 16:56:07 -0000
@@ -4466,7 +4466,6 @@
static void
create_longjmp_breakpoint (char *func_name)
{
- struct breakpoint *b;
struct minimal_symbol *m;
if ((m = lookup_minimal_symbol_text (func_name, NULL)) == NULL)
@@ -4482,8 +4481,6 @@
void
set_longjmp_breakpoint (void)
{
- struct breakpoint *b;
-
if (gdbarch_get_longjmp_target_p (current_gdbarch))
{
create_longjmp_breakpoint ("longjmp");
next reply other threads:[~2008-07-30 17:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 17:03 Phil Muldoon [this message]
2008-08-02 23:51 ` Michael Snyder
2008-08-04 15:46 ` Phil Muldoon
2008-08-06 4:31 ` Michael Snyder
2008-08-06 8:21 ` Phil Muldoon
2008-08-06 11:28 ` Daniel Jacobowitz
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=48909EDB.3050001@redhat.com \
--to=pmuldoon@redhat.com \
--cc=gdb-patches@sourceware.org \
/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