This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB/MI & CLI commands
- From: Bob Rossi <bob_rossi at cox dot net>
- To: gdb at sources dot redhat dot com
- Date: Fri, 7 Feb 2003 10:10:39 -0500
- Subject: Re: GDB/MI & CLI commands
- References: <20030207145557.GC7980@white>
Please forgive my ignorance. It works when -O2 isn't used during the
compile. However, I would like to confirm that GDB/MI is supposed to
accept CLI commands.
On Fri, Feb 07, 2003 at 09:55:57AM -0500, Bob Rossi wrote:
> Is GDB/MI supposed to accept all CLI commands?
>
> If so, does gdb-5.3 or cvs do it? I know the documentation says that it
> accepts CLI commands for Debug purposes only, however, reading through
> the mailing lists, it looks like GDB/MI is supposed to accept CLI
> commands.
>
> If I debug a small main program and then type
> b main
> r
> then the debugger will stop at the main.
>
> If I debug a larger program and type the same commands, gdb never stops
> at the main subprogram.
>
> Does anyone know why? Is this a bug?
>
> Thanks,
> Bob Rossi