Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: brobecker@adacore.com
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC/commit] Getting rid of tm-rs6000.h (PROCESS_LINENUMBER_HOOK)
Date: Fri, 21 Sep 2007 07:48:00 -0000	[thread overview]
Message-ID: <200709210748.l8L7mlOG000473@brahms.sibelius.xs4all.nl> (raw)
In-Reply-To: <20070920211311.GA4363@adacore.com> (message from Joel Brobecker 	on Thu, 20 Sep 2007 14:13:11 -0700)

> Date: Thu, 20 Sep 2007 14:13:11 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> 
> --+HP7ph2BbKc20aGI
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> > What do you think about adding a new method inside struct sym_fns: 
> > 
> >         void (*sym_read_linetable) (void)
> > 
> > It would be null for all object formats except XCOFF.
> > 
> > I'll experiment with that... Thanks for your feedback!
> 
> Here is a patch that implements exactly this.
> 
> 2007-09-20  Joel Brobecker  <brobecker@adacore.com>
> 
>         * symfile.h (struct sym_fns): Add new field sym_read_linetable.
>         * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c:
>         Adjust the struct sym_fns object accordingly by setting
>         the new field to NULL.
>         * xcoffread.c (aix_process_linenos): Make static.
>         (xcoff_sym_fns): Set new field to aix_process_linenos.
>         * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK
>         by call to new the new sym_fns sym_read_linetable function.
>         * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete.
>         * config/rs6000/tm-rs6000.h: Delete.
> 
> Tested on powerpc-aix and x86-linux, no regression. Does it look good?

Looks very good to me.

Mark


  reply	other threads:[~2007-09-21  7:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 23:15 Joel Brobecker
2007-09-20  6:10 ` Mark Kettenis
2007-09-20  6:37   ` Joel Brobecker
2007-09-20  9:04     ` Mark Kettenis
2007-09-20 21:13     ` Joel Brobecker
2007-09-21  7:48       ` Mark Kettenis [this message]
2007-09-21 18:03         ` Joel Brobecker
2007-10-02 17:38           ` Ulrich Weigand

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=200709210748.l8L7mlOG000473@brahms.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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