* [rfa] remove unused variable
@ 2003-05-22 23:03 Theodore A. Roth
2003-05-23 15:06 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Theodore A. Roth @ 2003-05-22 23:03 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: TEXT/PLAIN, Size: 344 bytes --]
Hi,
I was just digging in blockframe.c and noticed an unused varible
declared in frameless_look_for_prologue(). The attached patch removed
it.
Probably obvious, but ok to commit?
Ted Roth
2003-05-22 Theodore A. Roth <troth@openavr.org>
* blockframe.c (frameless_look_for_prologue): Remove unused
after_prologue variable.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 647 bytes --]
2003-05-22 Theodore A. Roth <troth@openavr.org>
* blockframe.c (frameless_look_for_prologue): Remove unused
after_prologue variable.
Index: blockframe.c
===================================================================
RCS file: /cvs/src/src/gdb/blockframe.c,v
retrieving revision 1.70
diff -u -r1.70 blockframe.c
--- blockframe.c 14 May 2003 17:43:16 -0000 1.70
+++ blockframe.c 22 May 2003 22:55:24 -0000
@@ -144,7 +144,7 @@
int
frameless_look_for_prologue (struct frame_info *frame)
{
- CORE_ADDR func_start, after_prologue;
+ CORE_ADDR func_start;
func_start = get_frame_func (frame);
if (func_start)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rfa] remove unused variable
2003-05-22 23:03 [rfa] remove unused variable Theodore A. Roth
@ 2003-05-23 15:06 ` Andrew Cagney
2003-05-23 17:06 ` Theodore A. Roth
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2003-05-23 15:06 UTC (permalink / raw)
To: Theodore A. Roth; +Cc: gdb-patches
> Hi,
>
> I was just digging in blockframe.c and noticed an unused varible
> declared in frameless_look_for_prologue(). The attached patch removed
> it.
>
> Probably obvious,
Yes.
> but ok to commit?
Yes.
Thanks for cleaning things like this.
Andrew
>
> Ted Roth
>
> 2003-05-22 Theodore A. Roth <troth@openavr.org>
>
> * blockframe.c (frameless_look_for_prologue): Remove unused
> after_prologue variable.
>
>
>
> 2003-05-22 Theodore A. Roth <troth@openavr.org>
>
> * blockframe.c (frameless_look_for_prologue): Remove unused
> after_prologue variable.
>
> Index: blockframe.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/blockframe.c,v
> retrieving revision 1.70
> diff -u -r1.70 blockframe.c
> --- blockframe.c 14 May 2003 17:43:16 -0000 1.70
> +++ blockframe.c 22 May 2003 22:55:24 -0000
> @@ -144,7 +144,7 @@
> int
> frameless_look_for_prologue (struct frame_info *frame)
> {
> - CORE_ADDR func_start, after_prologue;
> + CORE_ADDR func_start;
>
> func_start = get_frame_func (frame);
> if (func_start)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rfa] remove unused variable
2003-05-23 15:06 ` Andrew Cagney
@ 2003-05-23 17:06 ` Theodore A. Roth
0 siblings, 0 replies; 3+ messages in thread
From: Theodore A. Roth @ 2003-05-23 17:06 UTC (permalink / raw)
Cc: gdb-patches
On Fri, 23 May 2003, Andrew Cagney wrote:
:) > Hi,
:) >
:) > I was just digging in blockframe.c and noticed an unused varible
:) > declared in frameless_look_for_prologue(). The attached patch removed
:) > it.
:) >
:) > Probably obvious,
:)
:) Yes.
:)
:) > but ok to commit?
:)
Committed.
Ted Roth
:) > 2003-05-22 Theodore A. Roth <troth@openavr.org>
:) >
:) > * blockframe.c (frameless_look_for_prologue): Remove unused
:) > after_prologue variable.
:) >
:) >
:) >
:) > 2003-05-22 Theodore A. Roth <troth@openavr.org>
:) >
:) > * blockframe.c (frameless_look_for_prologue): Remove unused
:) > after_prologue variable.
:) >
:) > Index: blockframe.c
:) > ===================================================================
:) > RCS file: /cvs/src/src/gdb/blockframe.c,v
:) > retrieving revision 1.70
:) > diff -u -r1.70 blockframe.c
:) > --- blockframe.c 14 May 2003 17:43:16 -0000 1.70
:) > +++ blockframe.c 22 May 2003 22:55:24 -0000
:) > @@ -144,7 +144,7 @@
:) > int
:) > frameless_look_for_prologue (struct frame_info *frame)
:) > {
:) > - CORE_ADDR func_start, after_prologue;
:) > + CORE_ADDR func_start;
:) >
:) > func_start = get_frame_func (frame);
:) > if (func_start)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-23 17:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 23:03 [rfa] remove unused variable Theodore A. Roth
2003-05-23 15:06 ` Andrew Cagney
2003-05-23 17:06 ` Theodore A. Roth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox