Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: Fix committed for mi-syn-frames fails (was: Re: PATCH RFA: Fix MI stack frame output for synthetic frames)
@ 2003-02-06 17:10 Michael Elizabeth Chastain
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Elizabeth Chastain @ 2003-02-06 17:10 UTC (permalink / raw)
  To: jason-swarelist; +Cc: gdb-patches

> I've commited this.  mi-syn-frames.exp passes with gcc 3.2 and
> gcc 2.96 with stabs and DWARF 2.

It's all PASS all the time in my test bed now.  Good job.

Michael C


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: PATCH: Fix MI stack frame output for synthetic frames
@ 2002-11-08 14:38 Andrew Cagney
  2002-11-09  0:47 ` PATCH RFA: " Jason Molenda
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Cagney @ 2002-11-08 14:38 UTC (permalink / raw)
  To: Jason Molenda; +Cc: gdb-patches, jjohnstn

> Hi all,
> 
> We've recently found a little problem with the current gdb in MI
> mode with synthesized frames on the stack (a gdb call dummy or a
> stack handler).  Until last month, print_frame_info_base() would
> print information about these frames to stdout via printf_unfiltered;
> the reply to -stack-list-frames would have a FRAME tuple for level
> 0, skip level 1 (assuming that's the synthesized frame), then a
> FRAME tuple for level 2 and so on.

It should be possible to test the "<function called from gdb>" case. 
All the more main-stream architectures now use dummy-frames so any one 
of them can be used for the test.

Can you do that?

Andrew


> With Jeff's change a month ago -
> http://sources.redhat.com/ml/gdb-patches/2002-09/msg00777.html
> 
> a LEVEL field is being output, but no other parts of the FRAME tuple.
> (the FRAME tuple is a named tuple ("frame") with fields ADDR, FUNC,
> ARGS, and LINE if those are all available).  The output now looks like
> 
> ~"<signal handler called>\n"
> stack=[frame={level="0",addr=...,func=...},level="1",frame={level="2",addr=...},...]
> 
> I've attached a patch to emit a TUPLE with a func name of "<signal
> handler called>" or "<function called from gdb>" and to include
> the ADDR field.  I also took the opportunity to remove some code that'd
> been #if 0'ed since the original import on to sources.redhat.com in 1999.
> It's probably easier to read the new code than the patch -- I'll list the
> new code below and attach the patch.
> 
> 2002-11-08  Jason Molenda  (jmolenda@apple.com)
>       
>         * stack.c (print_frame_info_base): Emit full FRAME tuple for
>         gdb call dummy and signal handler synthetic stack frames; send
>         stack frame name through UI instead of stdout.
> 
> Jason



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-06 18:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 17:10 Fix committed for mi-syn-frames fails (was: Re: PATCH RFA: Fix MI stack frame output for synthetic frames) Michael Elizabeth Chastain
  -- strict thread matches above, loose matches on Subject: below --
2002-11-08 14:38 PATCH: Fix MI stack frame output for synthetic frames Andrew Cagney
2002-11-09  0:47 ` PATCH RFA: " Jason Molenda
2003-02-02  5:52   ` Andrew Cagney
2003-02-03 18:15     ` David Carlton
2003-02-03 18:27       ` Jason Molenda
2003-02-03 18:34         ` Daniel Jacobowitz
2003-02-04  8:09           ` Jason Molenda
2003-02-05  8:28             ` Jason Molenda
2003-02-05 13:59               ` Daniel Jacobowitz
2003-02-05 14:54                 ` Elena Zannoni
2003-02-06  6:28                   ` Fix committed for mi-syn-frames fails (was: Re: PATCH RFA: Fix MI stack frame output for synthetic frames) Jason Molenda
2003-02-06  6:31                     ` Jason Molenda
2003-02-06 17:01                     ` David Carlton
2003-02-06 18:21                     ` Andrew Cagney
2003-02-06 18:27                       ` Jason Molenda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox