forked from Imagelibrary/binutils-gdb
* regformats/reg-ia64.dat: Remove NAT registers.
gdbserver: * server.c (main): Allocate mem_buf with PBUFSIZ bytes. * linux-ia64-low.c (ia64_regmap): Remove NAT registers. (ia64_num_regs): Reduce to 462.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2005-10-25 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* server.c (main): Allocate mem_buf with PBUFSIZ bytes.
|
||||
|
||||
* linux-ia64-low.c (ia64_regmap): Remove NAT registers.
|
||||
(ia64_num_regs): Reduce to 462.
|
||||
|
||||
2005-09-17 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* acinclude.m4: Correct quoting.
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <sys/reg.h>
|
||||
#endif
|
||||
|
||||
#define ia64_num_regs 590
|
||||
#define ia64_num_regs 462
|
||||
|
||||
#include <asm/ptrace_offsets.h>
|
||||
|
||||
@@ -263,24 +263,6 @@ static int ia64_regmap[] =
|
||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1,
|
||||
/* nat bits - not fetched directly; instead we obtain these bits from
|
||||
either rnat or unat or from memory. */
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1,
|
||||
};
|
||||
|
||||
static int
|
||||
|
||||
@@ -322,7 +322,7 @@ int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
char ch, status, *own_buf;
|
||||
unsigned char mem_buf[2000];
|
||||
unsigned char *mem_buf;
|
||||
int i = 0;
|
||||
int signal;
|
||||
unsigned int len;
|
||||
@@ -359,6 +359,7 @@ main (int argc, char *argv[])
|
||||
initialize_low ();
|
||||
|
||||
own_buf = malloc (PBUFSIZ);
|
||||
mem_buf = malloc (PBUFSIZ);
|
||||
|
||||
if (pid == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user