* Tweaks needed to build head for non-shared library targets.
@ 2005-05-15 17:59 Paul Schlie
0 siblings, 0 replies; only message in thread
From: Paul Schlie @ 2005-05-15 17:59 UTC (permalink / raw)
To: insight
As there's been a few changes to GDB, BFD, etc. regarding shared library
headers/use, the following files/lines need have basename => lbasename
to compile gdbtk without a "_basename_cannot_be_used_without_a_prototype"
link error for compatibility with targets that may not support basename():
/Applications/avr/avr-src/gdb/gdbtk/generic/gdbtk-bp.c:538:
xasprintf (&buf, "%s:%d", basename (Tcl_GetStringFromObj (objv[1],
NULL)),
/Applications/avr/avr-src/gdb/gdbtk/generic/gdbtk-cmds.c:1148:
|| !strcmp (psymtab->filename, basename (psymtab->filename)))
/Applications/avr/avr-src/gdb/gdbtk/generic/gdbtk-cmds.c:1150:
files[numfiles++] = basename (psymtab->filename);
/Applications/avr/avr-src/gdb/gdbtk/generic/gdbtk-cmds.c:1165:
|| !strcmp (symtab->filename, basename (symtab->filename)))
/Applications/avr/avr-src/gdb/gdbtk/generic/gdbtk-cmds.c:1167:
files[numfiles++] = basename (symtab->filename);
(sorry, I know a patch would have been better)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-15 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15 17:59 Tweaks needed to build head for non-shared library targets Paul Schlie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).