This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: small patch to 19991101 snapshot


>>>>> "Jimmy" == Jimmy Guo <guo@cup.hp.com> writes:

Jimmy> If this is not already in the CVS repository ... breakpoint.c
Jimmy> in yesterday's snapshot doesn't compile.

What compiler are you using?
What is the error?

Jimmy> - 	win:
Jimmy>   	}
Jimmy>         p = p1;
Jimmy>       }
Jimmy>   }
Jimmy> --- 6635,6642 ----
Jimmy> +     win:
Jimmy>         p = p1;
Jimmy>       }
Jimmy>   }

I think the problem is that some C compilers expect a statement after
a label.  I like `win: ;' instead, but it isn't my call.

Tom

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