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]

[Bug mi/9166] malformed +download record on GNU ARM's arm-elf-gdb


https://sourceware.org/bugzilla/show_bug.cgi?id=9166

Matthijs Kooijman <matthijs at stdin dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthijs at stdin dot nl

--- Comment #2 from Matthijs Kooijman <matthijs at stdin dot nl> ---
I just ran into this problem as well, so it is still present in gdb 7.6.0. Any
chance of fixing this?

As for the proposed fix, this would change from the invalid:

+download,{section=".vectors",section-size="60",total-size="5617"}

to a valid:

+download,status={section=".vectors",section-size="60",total-size="5617"}

It would probably be more consistent to instead just leave off the {}:

+download,section=".vectors",section-size="60",total-size="5617"

but I guess that would require changes to make_cleanup_ui_out_tuple_begin_end
to allow "top level tuples" or something like that.

For reference, here's an overview of the valid MI syntax:
https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Output-Syntax.html#GDB_002fMI-Output-Syntax

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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