This is the mail archive of the gdb-prs@sourceware.org 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]

mi/2061: malformed +download record on GNU ARM's arm-elf-gdb


>Number:         2061
>Category:       mi
>Synopsis:       malformed +download record on GNU ARM's arm-elf-gdb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 23:18:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     scottw@intrepidcs.com
>Release:        GNU gdb 6.1
>Organization:
>Environment:
Windows XP SP2 (using GNU ARM (www.gnuarm.com) with Cygwin DLLs)
arm-elf-gcc 4.0.1 (also GNU ARM)
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf".
>Description:
In response to -target-download when using a remote target (happens to be OCDRemote in this case), GDB/MI emits lines like:
+download,{section=".vectors",section-size="60",total-size="5617"}

However, this is against the MI syntax. Specifically, download should be followed by a comma and a "result", which is of the form variable "=" value. The portion of the line in braces does qualify as a value, but it is not preceded by a variable and an equals sign.
>How-To-Repeat:
1. Start OCDRemote or another remote target on port 8888 (or any other port).
2. arm-elf-gdb foo.elf
3. -target-select remote localhost:8888
4. -target-download foo.elf
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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