[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses.
From: |
Thomas Schmitt |
Subject: |
Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses. |
Date: |
Wed, 20 Oct 2021 08:45:55 +0200 |
Hi,
Robbie Harwood wrote:
> dl.c:694:
> add-symbol-file ...
> dl.c:694:
> add-symbol-file ...
> dl.c:694:
> add-symbol-file ...
>
> You can't easily copy-paste that into gdb. It needs to be processed to
> remove the file:line stuff.
How about hiding the "dl.c" lines behind a "#" ?
# dl.c:694:
add-symbol-file ...
I don't find the current gdb documentation online from GNU, but
https://sourceware.org/gdb/current/onlinedocs/gdb/Command-Syntax.html#Command-Syntax
looks young and promises
"Any text from a # to the end of the line is a comment; it does nothing."
(All gdbs i ever saw fulfill this promise.)
Have a nice day :)
Thomas
- [PATCH 0/2] Print out load addresses for .text and .data, Robbie Harwood, 2021/10/11
- [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Robbie Harwood, 2021/10/11
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Glenn Washburn, 2021/10/12
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Robbie Harwood, 2021/10/14
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Glenn Washburn, 2021/10/15
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Robbie Harwood, 2021/10/15
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Glenn Washburn, 2021/10/15
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Robbie Harwood, 2021/10/19
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses., Glenn Washburn, 2021/10/19
- Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses.,
Thomas Schmitt <=
[PATCH 1/2] Add grub_qdprintf() - grub_dprintf() without the file+line number., Robbie Harwood, 2021/10/11