Browse Source

* amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead

of 'char *' in cast.
readline_5_1-import-branch
Mark Kettenis 21 years ago
parent
commit
d7a30af77f
  1. 5
      gdb/ChangeLog
  2. 2
      gdb/amd64obsd-nat.c

5
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.

2
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(). */

Loading…
Cancel
Save