This is the mail archive of the gdb@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: GDB/MI & CLI commands


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


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