[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: |
Robbie Harwood |
Subject: |
Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses. |
Date: |
Thu, 14 Oct 2021 13:09:21 -0400 |
Glenn Washburn <development@efficientek.com> writes:
> I don't agree with suppressing file:line for debug output. I have some
> changes in the pipeline which will allow selectively disabling
> conditions when also using "deubg=all". Suppressing file:line makes it
> harder to figure out where the debug output is coming from to find the
> condition to disable it.
Grep for add-symbol-file or /usr/lib/debug etc. will get there.
> I think solution that we both might find agree able is to prepend "\n"
> to your format string. That way "add-symbol-file" will still start on
> a new-line, which seems to be what you're after.
During a boot with this enabled, you don't get just one line - you get
one for each module (plus the initial one for kernel.exec). So if
nothing intersperses, you can do `set confirm off`, then copy/paste the
block.
Be well,
--Robbie
signature.asc
Description: PGP signature
- [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 <=
- 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, 2021/10/20
[PATCH 1/2] Add grub_qdprintf() - grub_dprintf() without the file+line number., Robbie Harwood, 2021/10/11