This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc] Avoid conflicts between gdb and cross-gdb.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: vapier at gentoo dot org, brobecker at adacore dot com, dje at google dot com, gdb-patches at sourceware dot org, monaka at monami-software dot com
- Date: Thu, 21 Aug 2014 18:00:33 +0300
- Subject: Re: [doc] Avoid conflicts between gdb and cross-gdb.
- Authentication-results: sourceware.org; auth=none
- References: <CAJBvFxOPfJU42a-5vk6Uz3UYktAPSwnNekRw19OnuV4jJY0pww at mail dot gmail dot com> <20140806213412 dot GD4881 at adacore dot com> <8361i4nw49 dot fsf at gnu dot org> <1554189 dot EX2Nlz1ClI at vapier> <53F6018E dot 7020302 at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 21 Aug 2014 15:26:22 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: Joel Brobecker <brobecker@adacore.com>, dje@google.com,
> gdb-patches@sourceware.org, monaka@monami-software.com
>
> > yes, you'd actually have to rewrite the base node name so that instead of
> > identifying itself as "gdb" it'd be "${target}-gdb" (i.e. apply the program
> > transformation). then doing `info sh4-linux-gnu-gdb` would give you the
> > correct man page. this matches the man page behavior where you can do `man
> > sh4-linux-gnu-gdb` and such.
>
> Eh, I always assumed this sort of thing is why we write @value{GDBN} all
> over the manual, and that we were already transforming that, but indeed
> seems like we aren't.
In addition, we would need to use @value{GDBN} in the @direntry
section of gdb.texinfo.