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: How to tell gdb to exit?


On Thu, May 06, 2004 at 10:50:14AM -0500, Grant Edwards wrote:

> In MI mode, I can't figure out what the "quit" command is, and
> it just hangs on EOF -- so this doesn't work either:
> 
>   #!/bin/bash
>   h8300-elf-gdb -interpreter=mi <<EOF
>   10-target-select async /dev/ttyS0
>   20-target-download test.elf
>   30-exec-continue
>   EOF

I've also tried -gdb-exit.  Gdb refuses to exit since it's
obviously smarter than I and knows a-priori that I don't know
what I'm talking about and I obviously don't _really_ want it
to exit.

-target-detch and -target-disconnect don't make any difference
either.

-- 
Grant Edwards
grante@visi.com


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