small patch to 19991101 snapshot

Tom Tromey tromey@cygnus.com
Tue Nov 2 14:30:00 GMT 1999


>>>>> "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


More information about the Gdb-patches mailing list