* [PATCH] Ping - PR1473
@ 2004-01-05 11:28 Paul Brook
2004-01-05 21:06 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Paul Brook @ 2004-01-05 11:28 UTC (permalink / raw)
To: gdb-patches
I submitted a patch to fix PR1473 a couple of weeks ago, but haven't recieved
any feedback.
http://sources.redhat.com/ml/gdb-patches/2003-12/msg00426.html
I forgot to put [patch] in the subject line, so I guess it might have slipped
past unnoticed.
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Ping - PR1473
2004-01-05 11:28 [PATCH] Ping - PR1473 Paul Brook
@ 2004-01-05 21:06 ` Daniel Jacobowitz
2004-01-21 16:12 ` Paul Brook
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2004-01-05 21:06 UTC (permalink / raw)
To: gdb-patches; +Cc: Paul Brook
On Mon, Jan 05, 2004 at 11:28:37AM +0000, Paul Brook wrote:
> I submitted a patch to fix PR1473 a couple of weeks ago, but haven't recieved
> any feedback.
>
> http://sources.redhat.com/ml/gdb-patches/2003-12/msg00426.html
>
> I forgot to put [patch] in the subject line, so I guess it might have slipped
> past unnoticed.
It slipped past because no one likes to deal with infrun :)
I don't like the idea of adding this test to keep_going. This should
only be necessary in the BPSTAT_WHAT_CHECK_SHLIBS case, correct?
Somethng like this:
- if (stop_on_solib_events)
+ if (stop_on_solib_events || stop_stack_dummy)
I don't know if you need a stop_print_frame=0 also if
(stop_stack_dummy).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Ping - PR1473
2004-01-05 21:06 ` Daniel Jacobowitz
@ 2004-01-21 16:12 ` Paul Brook
2004-01-21 16:18 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Paul Brook @ 2004-01-21 16:12 UTC (permalink / raw)
To: Daniel Jacobowitz, gdb-patches
On Monday 05 January 2004 9:06 pm, Daniel Jacobowitz wrote:
> I don't like the idea of adding this test to keep_going. This should
> only be necessary in the BPSTAT_WHAT_CHECK_SHLIBS case, correct?
Yes.
> Something like this:
>
> - if (stop_on_solib_events)
> + if (stop_on_solib_events || stop_stack_dummy)
Updated patch appended below, ok to apply?
Tested on i686-linux.
> I don't know if you need a stop_print_frame=0 also if
> (stop_stack_dummy).
This is already handled elsewhere.
Paul
2004-01-21 Paul Brook <paul@codesourcery.com>
* infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
BPSTAT_CHECK_WHAT_SHLIBS.
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.130
diff -u -p -r1.130 infrun.c
--- infrun.c 19 Jan 2004 17:28:52 -0000 1.130
+++ infrun.c 21 Jan 2004 13:18:11 -0000
@@ -2301,7 +2301,7 @@ process_event_stop_test:
gdb of events. This allows the user to get control
and place breakpoints in initializer routines for
dynamically loaded objects (among other things). */
- if (stop_on_solib_events)
+ if (stop_on_solib_events || stop_stack_dummy)
{
stop_stepping (ecs);
return;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Ping - PR1473
2004-01-21 16:12 ` Paul Brook
@ 2004-01-21 16:18 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2004-01-21 16:18 UTC (permalink / raw)
To: Paul Brook; +Cc: gdb-patches
On Wed, Jan 21, 2004 at 04:12:24PM +0000, Paul Brook wrote:
> On Monday 05 January 2004 9:06 pm, Daniel Jacobowitz wrote:
> > I don't like the idea of adding this test to keep_going. This should
> > only be necessary in the BPSTAT_WHAT_CHECK_SHLIBS case, correct?
>
> Yes.
>
> > Something like this:
> >
> > - if (stop_on_solib_events)
> > + if (stop_on_solib_events || stop_stack_dummy)
>
> Updated patch appended below, ok to apply?
> Tested on i686-linux.
>
> > I don't know if you need a stop_print_frame=0 also if
> > (stop_stack_dummy).
>
> This is already handled elsewhere.
>
> Paul
>
> 2004-01-21 Paul Brook <paul@codesourcery.com>
>
> * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
> BPSTAT_CHECK_WHAT_SHLIBS.
Typo, it's BPSTAT_WHAT_CHECK_SHLIBS I think.
This patch is OK. Please also add yourself to write-after-approval in
gdb/MAINTAINERS, and post the patch and changelog for that.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-21 16:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05 11:28 [PATCH] Ping - PR1473 Paul Brook
2004-01-05 21:06 ` Daniel Jacobowitz
2004-01-21 16:12 ` Paul Brook
2004-01-21 16:18 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox