* amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
authorMark Kettenis <kettenis@gnu.org>
Sun, 8 Jan 2006 23:18:13 +0000 (23:18 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 8 Jan 2006 23:18:13 +0000 (23:18 +0000)
of 'char *' in cast.

gdb/ChangeLog
gdb/amd64obsd-nat.c

index 3b7e2f6f372ed7552a34c2945258690c3f894e02..c2b55b022c105ef2af412eb9f09f81b8670c994c 100644 (file)
@@ -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.
index 265aca9ec56c322553495faea04d623bfbda0682..cfc916104de18e88fcc3582371e80ebe005bde8e 100644 (file)
@@ -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().  */
This page took 0.0289 seconds and 4 git commands to generate.