This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix committed for mi-syn-frames fails (was: Re: PATCH RFA: Fix MI stack frame output for synthetic frames)


(Yes yes, I fixed the ChangeLog -- deep in my heart I know this file
should be called "mi-syn-frames", not "mi-syn-frame". :-)

On Wed, Feb 05, 2003 at 10:28:35PM -0800, Jason Molenda wrote:
> I've commited this.  mi-syn-frames.exp passes with gcc 3.2 and
> gcc 2.96 with stabs and DWARF 2.
> 
> 
> 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
> 
> 	* gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement
> 	at the beginning so the breakpoint doesn't get set on the loop.
> 
> Index: gdb.mi/mi-syn-frame.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-syn-frame.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mi-syn-frame.c
> --- gdb.mi/mi-syn-frame.c	2 Feb 2003 05:51:09 -0000	1.1
> +++ gdb.mi/mi-syn-frame.c	6 Feb 2003 06:26:01 -0000
> @@ -46,8 +46,9 @@ handler (int sig)
>  void
>  subroutine (int in)
>  {
> -  while (in < 100)
> -    in++;
> +  int count = in;
> +  while (count < 100)
> +    count++;
>  }
>  
>  void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]