public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Paul Schlie <schlie@comcast.net>
To: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: Tweaks needed to build head for non-shared library targets.
Date: Sun, 15 May 2005 17:59:00 -0000	[thread overview]
Message-ID: <BEAD063B.A278%schlie@comcast.net> (raw)

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)



                 reply	other threads:[~2005-05-15 17:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BEAD063B.A278%schlie@comcast.net \
    --to=schlie@comcast.net \
    --cc=insight@sources.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 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).