* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
[binutils-gdb.git] / gdb / tm-sparc.h
1 /* Parameters for target machine of Sun 4, for GDB, the GNU debugger.
2 Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
3 Contributed by Michael Tiemann (tiemann@mcc.com)
4 This file is part of GDB.
5
6 GDB is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 1, or (at your option)
9 any later version.
10
11 GDB is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GDB; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20 #define TARGET_BYTE_ORDER BIG_ENDIAN
21
22 /* Floating point is IEEE compatible. */
23 #define IEEE_FLOAT
24
25 /* Define this if the C compiler puts an underscore at the front
26 of external names before giving them to the linker. */
27
28 #define NAMES_HAVE_UNDERSCORE
29
30 /* Debugger information will be in DBX format. */
31
32 #define READ_DBX_FORMAT
33
34 /* When passing a structure to a function, Sun cc passes the address
35 in a register, not the structure itself. It (under SunOS4) creates
36 two symbols, so we get a LOC_ARG saying the address is on the stack
37 (a lie, and a serious one since we don't know which register to
38 use), and a LOC_REGISTER saying that the struct is in a register
39 (sort of a lie, but fixable with REG_STRUCT_HAS_ADDR).
40
41 This still doesn't work if the argument is not one passed in a
42 register (i.e. it's the 7th or later argument). */
43 #define REG_STRUCT_HAS_ADDR(gcc_p) (!(gcc_p))
44 #define STRUCT_ARG_SYM_GARBAGE(gcc_p) (!(gcc_p))
45
46 /* If Pcc says that a parameter is a short, it's a short. This is
47 because the parameter does get passed in in a register as an int,
48 but pcc puts it onto the stack frame as a short (not nailing
49 whatever else might be there. I'm not sure that I consider this
50 swift. Sigh.)
51
52 No, don't do this. The problem here is that pcc says that the
53 argument is in the upper half of the word reserved on the stack,
54 but puts it in the lower half. */
55 /* #define BELIEVE_PCC_PROMOTION 1 */
56 /* OK, I've added code to dbxread.c to deal with this case. */
57 #define BELIEVE_PCC_PROMOTION_TYPE
58
59 /* Offset from address of function to start of its code.
60 Zero on most machines. */
61
62 #define FUNCTION_START_OFFSET 0
63
64 /* Advance PC across any function entry prologue instructions
65 to reach some "real" code. */
66
67 #define SKIP_PROLOGUE(pc) \
68 { pc = skip_prologue (pc); }
69 extern CORE_ADDR skip_prologue ();
70
71 /* Immediately after a function call, return the saved pc.
72 Can't go through the frames for this because on some machines
73 the new frame is not set up until the new function executes
74 some instructions. */
75
76 /* On the Sun 4 under SunOS, the compile will leave a fake insn which
77 encodes the structure size being returned. If we detect such
78 a fake insn, step past it. */
79
80 #define PC_ADJUST(pc) ((read_memory_integer (pc + 8, 4) & 0xfffffe00) == 0 ? \
81 pc+12 : pc+8)
82
83 #define SAVED_PC_AFTER_CALL(frame) PC_ADJUST (read_register (RP_REGNUM))
84
85 /* Address of the end of stack space. We get this from the system
86 include files. */
87 #include <sys/types.h>
88 #include <machine/vmparam.h>
89 #define STACK_END_ADDR USRSTACK
90
91 #define INNER_THAN <
92
93 /* Stack has strict alignment. */
94
95 #define STACK_ALIGN(ADDR) (((ADDR)+7)&-8)
96
97 /* Sequence of bytes for breakpoint instruction. */
98
99 #define BREAKPOINT {0x91, 0xd0, 0x20, 0x01}
100
101 /* Amount PC must be decremented by after a breakpoint.
102 This is often the number of bytes in BREAKPOINT
103 but not always. */
104
105 #define DECR_PC_AFTER_BREAK 0
106
107 /* Nonzero if instruction at PC is a return instruction. */
108 /* For SPARC, this is either a "jmpl %o7+8,%g0" or "jmpl %i7+8,%g0".
109
110 Note: this does not work for functions returning structures under SunOS. */
111 #define ABOUT_TO_RETURN(pc) \
112 ((read_memory_integer (pc, 4)|0x00040000) == 0x81c7e008)
113
114 /* Return 1 if P points to an invalid floating point value. */
115
116 #define INVALID_FLOAT(p, len) 0 /* Just a first guess; not checked */
117
118 /* Say how long (ordinary) registers are. */
119
120 #define REGISTER_TYPE long
121
122 /* Number of machine registers */
123
124 #define NUM_REGS 72
125
126 /* Initializer for an array of names of registers.
127 There should be NUM_REGS strings in this initializer. */
128
129 #define REGISTER_NAMES \
130 { "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", \
131 "o0", "o1", "o2", "o3", "o4", "o5", "sp", "o7", \
132 "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7", \
133 "i0", "i1", "i2", "i3", "i4", "i5", "fp", "i7", \
134 \
135 "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \
136 "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \
137 "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", \
138 "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", \
139 \
140 "y", "psr", "wim", "tbr", "pc", "npc", "fpsr", "cpsr" };
141
142 /* Register numbers of various important registers.
143 Note that some of these values are "real" register numbers,
144 and correspond to the general registers of the machine,
145 and some are "phony" register numbers which are too large
146 to be actual register numbers as far as the user is concerned
147 but do serve to get the desired values when passed to read_register. */
148
149 #define G0_REGNUM 0 /* %g0 */
150 #define G1_REGNUM 1 /* %g1 */
151 #define O0_REGNUM 8 /* %o0 */
152 #define SP_REGNUM 14 /* Contains address of top of stack, \
153 which is also the bottom of the frame. */
154 #define RP_REGNUM 15 /* Contains return address value, *before* \
155 any windows get switched. */
156 #define O7_REGNUM 15 /* Last local reg not saved on stack frame */
157 #define L0_REGNUM 16 /* First local reg that's saved on stack frame
158 rather than in machine registers */
159 #define I0_REGNUM 24 /* %i0 */
160 #define FP_REGNUM 30 /* Contains address of executing stack frame */
161 #define I7_REGNUM 31 /* Last local reg saved on stack frame */
162 #define FP0_REGNUM 32 /* Floating point register 0 */
163 #define Y_REGNUM 64 /* Temp register for multiplication, etc. */
164 #define PS_REGNUM 65 /* Contains processor status */
165 #define WIM_REGNUM 66 /* Window Invalid Mask (not really supported) */
166 #define TBR_REGNUM 67 /* Trap Base Register (not really supported) */
167 #define PC_REGNUM 68 /* Contains program counter */
168 #define NPC_REGNUM 69 /* Contains next PC */
169 #define FPS_REGNUM 70 /* Floating point status register */
170 #define CPS_REGNUM 71 /* Coprocessor status register */
171
172 /* Total amount of space needed to store our copies of the machine's
173 register state, the array `registers'. */
174 #define REGISTER_BYTES (32*4+32*4+8*4)
175
176 /* Index within `registers' of the first byte of the space for
177 register N. */
178 /* ?? */
179 #define REGISTER_BYTE(N) ((N)*4)
180
181 /* The SPARC processor has register windows. */
182
183 #define HAVE_REGISTER_WINDOWS
184
185 /* Is this register part of the register window system? A yes answer
186 implies that 1) The name of this register will not be the same in
187 other frames, and 2) This register is automatically "saved" (out
188 registers shifting into ins counts) upon subroutine calls and thus
189 there is no need to search more than one stack frame for it. */
190
191 #define REGISTER_IN_WINDOW_P(regnum) \
192 ((regnum) >= 8 && (regnum) < 32)
193
194 /* Number of bytes of storage in the actual machine representation
195 for register N. */
196
197 /* On the SPARC, all regs are 4 bytes. */
198
199 #define REGISTER_RAW_SIZE(N) (4)
200
201 /* Number of bytes of storage in the program's representation
202 for register N. */
203
204 /* On the SPARC, all regs are 4 bytes. */
205
206 #define REGISTER_VIRTUAL_SIZE(N) (4)
207
208 /* Largest value REGISTER_RAW_SIZE can have. */
209
210 #define MAX_REGISTER_RAW_SIZE 8
211
212 /* Largest value REGISTER_VIRTUAL_SIZE can have. */
213
214 #define MAX_REGISTER_VIRTUAL_SIZE 8
215
216 /* Nonzero if register N requires conversion
217 from raw format to virtual format. */
218
219 #define REGISTER_CONVERTIBLE(N) (0)
220
221 /* Convert data from raw format for register REGNUM
222 to virtual format for register REGNUM. */
223
224 #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \
225 { bcopy ((FROM), (TO), 4); }
226
227 /* Convert data from virtual format for register REGNUM
228 to raw format for register REGNUM. */
229
230 #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
231 { bcopy ((FROM), (TO), 4); }
232
233 /* Return the GDB type object for the "standard" data type
234 of data in register N. */
235
236 #define REGISTER_VIRTUAL_TYPE(N) \
237 ((N) < 32 ? builtin_type_int : (N) < 64 ? builtin_type_float : \
238 builtin_type_int)
239
240 /* Writing to %g0 is a noop (not an error or exception or anything like
241 that, however). */
242
243 #define CANNOT_STORE_REGISTER(regno) ((regno) == G0_REGNUM)
244
245 /* Store the address of the place in which to copy the structure the
246 subroutine will return. This is called from call_function. */
247
248 #define STORE_STRUCT_RETURN(ADDR, SP) \
249 { target_write_memory ((SP)+(16*4), (char *)&(ADDR), 4); }
250
251 /* Extract from an array REGBUF containing the (raw) register state
252 a function return value of type TYPE, and copy that, in virtual format,
253 into VALBUF. */
254
255 #define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
256 { \
257 if (TYPE_CODE (TYPE) == TYPE_CODE_FLT) \
258 { \
259 bcopy (((int *)(REGBUF))+FP0_REGNUM, \
260 (VALBUF), TYPE_LENGTH(TYPE)); \
261 } \
262 else \
263 bcopy (((int *)(REGBUF))+8, (VALBUF), TYPE_LENGTH (TYPE)); \
264 }
265
266 /* Write into appropriate registers a function return value
267 of type TYPE, given in virtual format. */
268 /* On sparc, values are returned in register %o0. */
269 #define STORE_RETURN_VALUE(TYPE,VALBUF) \
270 { \
271 if (TYPE_CODE (TYPE) == TYPE_CODE_FLT) \
272 /* Floating-point values are returned in the register pair */ \
273 /* formed by %f0 and %f1 (doubles are, anyway). */ \
274 write_register_bytes (REGISTER_BYTE (FP0_REGNUM), (VALBUF), \
275 TYPE_LENGTH (TYPE)); \
276 else \
277 /* Other values are returned in register %o0. */ \
278 write_register_bytes (REGISTER_BYTE (O0_REGNUM), (VALBUF), \
279 TYPE_LENGTH (TYPE)); \
280 }
281
282 /* Extract from an array REGBUF containing the (raw) register state
283 the address in which a function should return its structure value,
284 as a CORE_ADDR (or an expression that can be used as one). */
285
286 #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
287 (read_memory_integer (((int *)(REGBUF))[SP_REGNUM]+(16*4), 4))
288
289 \f
290 /* Describe the pointer in each stack frame to the previous stack frame
291 (its caller). */
292
293 /* I don't know whether this will work for cross-debugging, even if you
294 do get the right reg.h. */
295 #include <machine/reg.h>
296
297 #define GET_RWINDOW_REG(FRAME, REG) \
298 (read_memory_integer ((CORE_ADDR)&((struct rwindow *)FRAME)->REG, 4))
299
300 /* FRAME_CHAIN takes a frame's nominal address
301 and produces the frame's chain-pointer.
302
303 FRAME_CHAIN_COMBINE takes the chain pointer and the frame's nominal address
304 and produces the nominal address of the caller frame.
305
306 However, if FRAME_CHAIN_VALID returns zero,
307 it means the given frame is the outermost one and has no caller.
308 In that case, FRAME_CHAIN_COMBINE is not used. */
309
310 /* In the case of the Sun 4, the frame-chain's nominal address
311 is held in the frame pointer register.
312
313 On the Sun4, the frame (in %fp) is %sp for the previous frame.
314 From the previous frame's %sp, we can find the previous frame's
315 %fp: it is in the save area just above the previous frame's %sp.
316
317 If we are setting up an arbitrary frame, we'll need to know where
318 it ends. Hence the following. This part of the frame cache
319 structure should be checked before it is assumed that this frame's
320 bottom is in the stack pointer.
321
322 If there isn't a frame below this one, the bottom of this frame is
323 in the stack pointer.
324
325 If there is a frame below this one, and the frame pointers are
326 identical, it's a leaf frame and the bottoms are the same also.
327
328 Otherwise the bottom of this frame is the top of the next frame. */
329
330 #define EXTRA_FRAME_INFO FRAME_ADDR bottom;
331 #define INIT_EXTRA_FRAME_INFO(fci) \
332 (fci)->bottom = \
333 ((fci)->next ? \
334 ((fci)->frame == (fci)->next_frame ? \
335 (fci)->next->bottom : (fci)->next->frame) : \
336 read_register (SP_REGNUM));
337
338 #define FRAME_CHAIN(thisframe) \
339 GET_RWINDOW_REG ((thisframe)->frame, rw_in[6])
340
341 #define FRAME_CHAIN_VALID(chain, thisframe) \
342 (chain != 0 && (outside_startup_file (FRAME_SAVED_PC (thisframe))))
343
344 #define FRAME_CHAIN_COMBINE(chain, thisframe) (chain)
345
346 /* Define other aspects of the stack frame. */
347
348 /* A macro that tells us whether the function invocation represented
349 by FI does not have a frame on the stack associated with it. If it
350 does not, FRAMELESS is set to 1, else 0. */
351 #define FRAMELESS_FUNCTION_INVOCATION(FI, FRAMELESS) \
352 (FRAMELESS) = frameless_look_for_prologue(FI)
353
354 /* Where is the PC for a specific frame */
355
356 #define FRAME_SAVED_PC(FRAME) frame_saved_pc (FRAME)
357 CORE_ADDR frame_saved_pc ();
358
359 /* If the argument is on the stack, it will be here. */
360 #define FRAME_ARGS_ADDRESS(fi) ((fi)->frame)
361
362 #define FRAME_STRUCT_ARGS_ADDRESS(fi) ((fi)->frame)
363
364 #define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame)
365
366 /* Set VAL to the number of args passed to frame described by FI.
367 Can set VAL to -1, meaning no way to tell. */
368
369 /* We can't tell how many args there are
370 now that the C compiler delays popping them. */
371 #define FRAME_NUM_ARGS(val,fi) (val = -1)
372
373 /* Return number of bytes at start of arglist that are not really args. */
374
375 #define FRAME_ARGS_SKIP 68
376
377 /* Put here the code to store, into a struct frame_saved_regs,
378 the addresses of the saved registers of frame described by FRAME_INFO.
379 The actual code is in sparc-tdep.c so we can debug it sanely. */
380
381 #define FRAME_FIND_SAVED_REGS(fi, frame_saved_regs) \
382 sparc_frame_find_saved_regs ((fi), &(frame_saved_regs))
383 extern void sparc_frame_find_saved_regs ();
384 \f
385 /* Things needed for making the inferior call functions. */
386 /*
387 * First of all, let me give my opinion of what the DUMMY_FRAME
388 * actually looks like.
389 *
390 * | |
391 * | |
392 * + - - - - - - - - - - - - - - - - +<-- fp (level 0)
393 * | |
394 * | |
395 * | |
396 * | |
397 * | Frame of innermost program |
398 * | function |
399 * | |
400 * | |
401 * | |
402 * | |
403 * | |
404 * |---------------------------------|<-- sp (level 0), fp (c)
405 * | |
406 * DUMMY | fp0-31 |
407 * | |
408 * | ------ |<-- fp - 0x80
409 * FRAME | g0-7 |<-- fp - 0xa0
410 * | i0-7 |<-- fp - 0xc0
411 * | other |<-- fp - 0xe0
412 * | ? |
413 * | ? |
414 * |---------------------------------|<-- sp' = fp - 0x140
415 * | |
416 * xcution start | |
417 * sp' + 0x94 -->| CALL_DUMMY (x code) |
418 * | |
419 * | |
420 * |---------------------------------|<-- sp'' = fp - 0x200
421 * | align sp to 8 byte boundary |
422 * | ==> args to fn <== |
423 * Room for | |
424 * i & l's + agg | CALL_DUMMY_STACK_ADJUST = 0x0x44|
425 * |---------------------------------|<-- final sp (variable)
426 * | |
427 * | Where function called will |
428 * | build frame. |
429 * | |
430 * | |
431 *
432 * I understand everything in this picture except what the space
433 * between fp - 0xe0 and fp - 0x140 is used for. Oh, and I don't
434 * understand why there's a large chunk of CALL_DUMMY that never gets
435 * executed (its function is superceeded by PUSH_DUMMY_FRAME; they
436 * are designed to do the same thing).
437 *
438 * PUSH_DUMMY_FRAME saves the registers above sp' and pushes the
439 * register file stack down one.
440 *
441 * call_function then writes CALL_DUMMY, pushes the args onto the
442 * stack, and adjusts the stack pointer.
443 *
444 * run_stack_dummy then starts execution (in the middle of
445 * CALL_DUMMY, as directed by call_function).
446 */
447
448 /* Push an empty stack frame, to record the current PC, etc. */
449
450 #define PUSH_DUMMY_FRAME sparc_push_dummy_frame ()
451 #define POP_FRAME sparc_pop_frame ()
452
453 void sparc_push_dummy_frame (), sparc_pop_frame ();
454 /* This sequence of words is the instructions
455
456 save %sp,-0x140,%sp
457 std %f30,[%fp-0x08]
458 std %f28,[%fp-0x10]
459 std %f26,[%fp-0x18]
460 std %f24,[%fp-0x20]
461 std %f22,[%fp-0x28]
462 std %f20,[%fp-0x30]
463 std %f18,[%fp-0x38]
464 std %f16,[%fp-0x40]
465 std %f14,[%fp-0x48]
466 std %f12,[%fp-0x50]
467 std %f10,[%fp-0x58]
468 std %f8,[%fp-0x60]
469 std %f6,[%fp-0x68]
470 std %f4,[%fp-0x70]
471 std %f2,[%fp-0x78]
472 std %f0,[%fp-0x80]
473 std %g6,[%fp-0x88]
474 std %g4,[%fp-0x90]
475 std %g2,[%fp-0x98]
476 std %g0,[%fp-0xa0]
477 std %i6,[%fp-0xa8]
478 std %i4,[%fp-0xb0]
479 std %i2,[%fp-0xb8]
480 std %i0,[%fp-0xc0]
481 nop ! stcsr [%fp-0xc4]
482 nop ! stfsr [%fp-0xc8]
483 nop ! wr %npc,[%fp-0xcc]
484 nop ! wr %pc,[%fp-0xd0]
485 rd %tbr,%o0
486 st %o0,[%fp-0xd4]
487 rd %wim,%o1
488 st %o0,[%fp-0xd8]
489 rd %psr,%o0
490 st %o0,[%fp-0xdc]
491 rd %y,%o0
492 st %o0,[%fp-0xe0]
493
494 /..* The arguments are pushed at this point by GDB;
495 no code is needed in the dummy for this.
496 The CALL_DUMMY_START_OFFSET gives the position of
497 the following ld instruction. *../
498
499 ld [%sp+0x58],%o5
500 ld [%sp+0x54],%o4
501 ld [%sp+0x50],%o3
502 ld [%sp+0x4c],%o2
503 ld [%sp+0x48],%o1
504 call 0x00000000
505 ld [%sp+0x44],%o0
506 nop
507 ta 1
508 nop
509
510 note that this is 192 bytes, which is a multiple of 8 (not only 4) bytes.
511 note that the `call' insn is a relative, not an absolute call.
512 note that the `nop' at the end is needed to keep the trap from
513 clobbering things (if NPC pointed to garbage instead).
514
515 We actually start executing at the `sethi', since the pushing of the
516 registers (as arguments) is done by PUSH_DUMMY_FRAME. If this were
517 real code, the arguments for the function called by the CALL would be
518 pushed between the list of ST insns and the CALL, and we could allow
519 it to execute through. But the arguments have to be pushed by GDB
520 after the PUSH_DUMMY_FRAME is done, and we cannot allow these ST
521 insns to be performed again, lest the registers saved be taken for
522 arguments. */
523
524 #define CALL_DUMMY { 0x9de3bee0, 0xfd3fbff8, 0xf93fbff0, 0xf53fbfe8, \
525 0xf13fbfe0, 0xed3fbfd8, 0xe93fbfd0, 0xe53fbfc8, \
526 0xe13fbfc0, 0xdd3fbfb8, 0xd93fbfb0, 0xd53fbfa8, \
527 0xd13fbfa0, 0xcd3fbf98, 0xc93fbf90, 0xc53fbf88, \
528 0xc13fbf80, 0xcc3fbf78, 0xc83fbf70, 0xc43fbf68, \
529 0xc03fbf60, 0xfc3fbf58, 0xf83fbf50, 0xf43fbf48, \
530 0xf03fbf40, 0x01000000, 0x01000000, 0x01000000, \
531 0x01000000, 0x91580000, 0xd027bf50, 0x93500000, \
532 0xd027bf4c, 0x91480000, 0xd027bf48, 0x91400000, \
533 0xd027bf44, 0xda03a058, 0xd803a054, 0xd603a050, \
534 0xd403a04c, 0xd203a048, 0x40000000, 0xd003a044, \
535 0x01000000, 0x91d02001, 0x01000000, 0x01000000}
536
537 #define CALL_DUMMY_LENGTH 192
538
539 #define CALL_DUMMY_START_OFFSET 148
540
541 #define CALL_DUMMY_STACK_ADJUST 68
542
543 /* Insert the specified number of args and function address
544 into a call sequence of the above form stored at DUMMYNAME.
545
546 For structs and unions, if the function was compiled with Sun cc,
547 it expects 'unimp' after the call. But gcc doesn't use that
548 (twisted) convention. So leave a nop there for gcc (FIX_CALL_DUMMY
549 can assume it is operating on a pristine CALL_DUMMY, not one that
550 has already been customized for a different function). */
551
552 #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \
553 { \
554 *(int *)((char *) dummyname+168) = (0x40000000|((fun-(pc+168))>>2)); \
555 if (!gcc_p \
556 && (TYPE_CODE (type) == TYPE_CODE_STRUCT \
557 || TYPE_CODE (type) == TYPE_CODE_UNION)) \
558 *(int *)((char *) dummyname+176) = (TYPE_LENGTH (type) & 0x1fff); \
559 }
560
561 \f
562 /* Sparc has no reliable single step ptrace call */
563
564 #define NO_SINGLE_STEP 1
565 extern void single_step ();
566
567 /* We need two arguments (in general) to the "info frame" command.
568 Note that the definition of this macro implies that there exists a
569 function "setup_arbitrary_frame" in mach-dep.c */
570
571 #define FRAME_SPECIFICATION_DYADIC
572
573 /* To print every pair of float registers as a double, we use this hook. */
574
575 #define PRINT_REGISTER_HOOK(regno) \
576 if (((regno) >= FP0_REGNUM) \
577 && ((regno) < FP0_REGNUM + 32) \
578 && (0 == (regno & 1))) { \
579 char doublereg[8]; /* two float regs */ \
580 if (!read_relative_register_raw_bytes (i , doublereg ) \
581 && !read_relative_register_raw_bytes (i+1, doublereg+4)) { \
582 printf("\t"); \
583 print_floating (doublereg, builtin_type_double, stdout); \
584 } \
585 }
586