Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-dd-dev] Source lookup and remote debugging launch sequence

On Wed, Feb 20, 2008 at 01:50:23PM +0100, Tobias Södergren XT wrote:
> -file-exec-and-symbols C:\\dev\\workspace\\GDB-test\\Threads
> ^done

FYI, this quoting is correct according to the GDB manual...

> (gdb)
> -gdb-set sysroot C:\Program\CodeSourcery\SourceryG++\arm-none-linux-gnueabi\libc
> ^done

... and this is correct in practice, but wrong according to the
manual.  It's a known bug in GDB that we quote different MI commands
differently, and I hope we'll fix it eventually.

>   1. It looks loke the gdb MI interface for CodeSourcery accepts inserting breakpoints using backslash

GCC puts whatever was on its command line into the ELF file, and GDB
reads it from there.  So it depends which slashes your builder uses,
whether you have a mingw32 or cygwin GCC, et cetera.

>   2. There's a file and a fullname attribute in the response for the -break-insert command, possibly useful for source lookup.

Yes indeed.

-- 
Daniel Jacobowitz
CodeSourcery


Back to the top