This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Limit attempts to place breakpoints on _start, __start, and main in solib-svr4.c
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 30 Nov 2010 01:07:07 +0100
- Subject: Re: [RFC] Limit attempts to place breakpoints on _start, __start, and main in solib-svr4.c
- References: <20101129160233.1265d555@mesquite.lan>
Hello Kevin,
On Tue, 30 Nov 2010 00:02:33 +0100, Kevin Buettner wrote:
> -enable_break (struct svr4_info *info, int from_tty)
> +enable_break (struct svr4_info *info, int from_tty, int from_run_command)
I haven't tried it myself but is there a reason why not to use
`struct inferior->attach_flag' instead?
Thanks,
Jan