From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Cc: rharwood@redhat.com
Subject: Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses.
Date: Wed, 20 Oct 2021 08:45:55 +0200 [thread overview]
Message-ID: <5967365596703349800@scdbackup.webframe.org> (raw)
In-Reply-To: <jlglf2o67tg.fsf@redhat.com>
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
next prev parent reply other threads:[~2021-10-20 6:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 18:48 [PATCH 0/2] Print out load addresses for .text and .data Robbie Harwood
2021-10-11 18:48 ` [PATCH 1/2] Add grub_qdprintf() - grub_dprintf() without the file+line number Robbie Harwood
2021-10-12 6:14 ` Glenn Washburn
2021-10-11 18:48 ` [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses Robbie Harwood
2021-10-12 6:29 ` Glenn Washburn
2021-10-14 17:09 ` Robbie Harwood
2021-10-15 20:24 ` Glenn Washburn
2021-10-15 20:55 ` Robbie Harwood
2021-10-16 3:25 ` Glenn Washburn
2021-10-19 21:08 ` Robbie Harwood
2021-10-19 21:57 ` Glenn Washburn
2021-10-20 6:45 ` Thomas Schmitt [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-16 17:48 Michael Schierl
2021-10-18 20:29 ` Glenn Washburn
2021-10-18 21:04 ` Michael Schierl
2021-10-19 7:06 ` Glenn Washburn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5967365596703349800@scdbackup.webframe.org \
--to=scdbackup@gmx.net \
--cc=grub-devel@gnu.org \
--cc=rharwood@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.