Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Mark Kettenis <kettenis@chello.nl>, gdb-patches@sources.redhat.com
Subject: Re: [rfa] Add cross platform i386 corefile support
Date: Thu, 21 Aug 2003 20:12:00 -0000	[thread overview]
Message-ID: <3F4527A8.10409@redhat.com> (raw)
In-Reply-To: <3F2E9ABA.7000704@redhat.com>

I've checked this into cagney_x86i386-20030821-branch.

Andrew

> 2003-08-04  Andrew Cagney  <cagney@redhat.com>
> 
> 	* i386-tdep.h (i386_regnums): Replace I386_EAX_REGNUM,
> 	I386_EDX_REGNUM, I386_ESP_REGNUM, I386_EBP_REGNUM,
> 	I386_EIP_REGNUM, I386_EFLAGS_REGNUM, I386_ST0_REGNUM.
> 	* i386-linux-tdep.h (i386_linux_greg_offset): Declare.
> 	(i386_linux_supply_fpxregset): Declare.
> 	(i386_linux_supply_fpregset): Declare.
> 	(i386_linux_supply_gregset): Declare.
> 	* i386-linux-tdep.c: Include "gdb_assert.h", and "i387-tdep.h".
> 	Do not include "gregset.h".
> 	(enum user_regs): Define.
> 	(struct regnum_map, struct regnum_to_user): Define.
> 	(i386_linux_greg_offset): New function.
> 	(dummy_sse_values): New function, copied from "i386-linux-nat.c"
> 	make hist independant.
> 	(i386_linux_supply_fpregset): New function.
> 	(i386_linux_supply_gregset): New function.
> 	(i386_linux_supply_fpxregset): New function.
> 	(fetch_core_registers): New function.
> 	(i386_linux_core_sniffer): New function.
> 	(i386_linux_core_fns): New table.
> 	(_initialize_i386_linux_tdep): Add i386_linux_core_fns to core
> 	functions.
> 	* i386-linux-nat.c: Do not include "gregset.h".
> 	(dummy_sse_values) Delete function.
> 	(regmap): Delete array.
> 	(register_u_addr, fill_gregset, cannot_fetch_register): Use
> 	i386_linux_greg_offset.
> 	(cannot_store_register): Call cannot_fetch_register.
> 	(supply_gregset): Call i386_linux_supply_gregset.
> 	(supply_fpregset): Call i386_linux_supply_fpregset.
> 	(supply_fpxregset): Call i386_linux_supply_fpxregset.
> 	(fetch_core_registers): Delete function.
> 	(linux_elf_core_fns): Delete table.
> 	(_initialize_i386_linux_nat): Delete function.
> 



      parent reply	other threads:[~2003-08-21 20:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 16:26 Andrew Cagney
2003-08-01 16:32 ` Daniel Jacobowitz
2003-08-04 17:43 ` Andrew Cagney
2003-08-09 14:47   ` Andrew Cagney
2003-08-10 23:23     ` Mark Kettenis
2003-08-11  3:11       ` Andrew Cagney
2003-08-12 19:27         ` Andrew Cagney
2003-08-21 20:12   ` Andrew Cagney [this message]

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=3F4527A8.10409@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@chello.nl \
    /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