Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Joel Brobecker <brobecker@act-europe.fr>
Cc: gdb-patches@sources.redhat.com
Subject: Re: patch to gdb on Tru64 5.1
Date: Fri, 11 May 2001 15:29:00 -0000	[thread overview]
Message-ID: <3AFC67C4.9000102@cygnus.com> (raw)
In-Reply-To: <20010511020332.H15086@act-europe.fr>

>> In the above, half of core_reg_mapping[] is determined by the macro
>> NFC_REGS.
>> 
>> Can you instead define both tables and select the correct one at
>> runtime?
> 
> 
> I don't understand your suggestion. The conditionalization is needed in
> order to successfully compile on Tru64 5.1. If I had 2 tables, one of
> them would not compile.

I've two requests:

	o	per NickD's post, could the table be initialised
		as either two separate entries, a single simple
		table.  Not something that is split down the middle
		by a #if/#else/#endif

	o	is it possible to compile in both tables
		so that the correct table can be selected
		at run time.  In theory allowing GDB to
		handle both 4.x and 5.x core files.

It sounds like the second one isn't going to fly.

To give some background to my second request, GDB is moving away from 
the good old days where it was always built/configured for a very 
specific host/target combination. Depending on that combination, certain 
features would, or would not be available.  For instance, 
shared-library, thread and core file support were all once native-only. 
  For an increasing number of targets, that is no longer the case.

	enjoy,
		Andrew



  reply	other threads:[~2001-05-11 15:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08 23:22 Joel Brobecker
2001-05-09  7:41 ` Christopher Faylor
2001-05-09 10:57   ` Joel Brobecker
2001-05-09 13:56     ` Christopher Faylor
2001-05-10  8:32   ` Andrew Cagney
2001-05-09 11:07 ` Jim Blandy
2001-05-10  8:32 ` Andrew Cagney
2001-05-10 17:03   ` Joel Brobecker
2001-05-11 15:29     ` Andrew Cagney [this message]
2001-05-12 19:30       ` Nick Duffek
2001-05-10  9:56 ` Nick Duffek
2001-05-10 17:06   ` Joel Brobecker
2001-05-10 17:20     ` Nick Duffek

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=3AFC67C4.9000102@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=brobecker@act-europe.fr \
    --cc=gdb-patches@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