diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-01-08 23:18:13 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-01-08 23:18:13 +0000 |
commit | d7a30af77fa4f10b646017420ed091d0525c392c (patch) | |
tree | 33c44194092eff4c83d4332064d6f53760437fbd | |
parent | 734ca0a1f4dc2d808d042a11bfc5a7c06b7ba1ed (diff) | |
download | gdb-d7a30af77fa4f10b646017420ed091d0525c392c.zip gdb-d7a30af77fa4f10b646017420ed091d0525c392c.tar.gz gdb-d7a30af77fa4f10b646017420ed091d0525c392c.tar.bz2 |
* amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
of 'char *' in cast.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/amd64obsd-nat.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3b7e2f6..c2b55b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-01-09 Mark Kettenis <kettenis@gnu.org> + + * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead + of 'char *' in cast. + 2006-01-07 Paul N. Hilfinger <hilfinger@adacore.com> * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup. diff --git a/gdb/amd64obsd-nat.c b/gdb/amd64obsd-nat.c index 265aca9..cfc9161 100644 --- a/gdb/amd64obsd-nat.c +++ b/gdb/amd64obsd-nat.c @@ -103,7 +103,7 @@ amd64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) return 0; /* Read the stack frame, and check its validity. */ - read_memory (pcb->pcb_rsp, (char *) &sf, sizeof sf); + read_memory (pcb->pcb_rsp, (gdb_byte *) &sf, sizeof sf); if (sf.sf_rbp == pcb->pcb_rbp) { /* Yes, we have a frame that matches cpu_switch(). */ |