This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New feature "source-id"
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gerhard dot gappmeier at ascolab dot com, gdb-patches at sourceware dot org
- Date: Sun, 16 Mar 2014 18:34:46 +0200
- Subject: Re: New feature "source-id"
- Authentication-results: sourceware.org; auth=none
- References: <7365721 dot BnaR1nHazz at lt-gergap> <CADPb22RsRdFvr09HC_zj_tvBVLEScC6UzgNs=UCjpf3zWCt_gQ at mail dot gmail dot com> <83siqjb50u dot fsf at gnu dot org> <CADPb22RX30L=95ST8H+PfWKzEj3Erw1_9HXa1a+7-G0iGDC_kw at mail dot gmail dot com> <CADPb22QSYj0RRy-HOVUrU_GgFHRbfkEjeysa4-AFkNL5uxQDhw at mail dot gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 16 Mar 2014 09:22:17 -0700
> From: Doug Evans <dje@google.com>
> Cc: Gerhard Gappmeier <gerhard.gappmeier@ascolab.com>, gdb-patches <gdb-patches@sourceware.org>
>
> another way to go is to just have a convention for some global
> variables in the binary.
> With the debug info gdb can access them, and they could contain
> everything that would be in the .note section.
This would have an advantage of not being dependent on the ELF format
of the object files.