1 2006-06-09 Nathan Sidwell <nathan@codesourcery.com>
4 * gdb.base/break.c: Add breakpoint 10a marker.
5 * gdb.base/break.exp: Check breakpoint on }
8 * m68k-tdep.c (m68k_frame_align): New.
9 (m68k_push_dummy_call): Don't align here.
10 (m68k_gdbarch_init): Set frame_align here.
12 2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
14 * gdb/remote.c (remote_open_1): Do preopen tasks before
15 irreversably destroying state.
17 * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Use
18 tdep->ptr_value_regnum for pointer returns.
19 (m68k_svr4_store_return_value): Likewise.
20 (m68k_reg_struct_return_r): New, broken out of ...
21 (m68k_reg_struct_return_p): ... here. Implement gcc's structure
23 (m68k_svr4_init_abi, m68k_aout_init_abi): Set ptr_value_regnum.
24 (m68k_gdbarch_init): Likewise.
25 * gdb/m68k-tdep.h (struct gdbarch_tdep): Add ptr_value_regnum
28 2006-06-05 Nathan Sidwell <nathan@codesourcery.com>
30 * gdb/remote.c (remote_insert_watchpoint): Return -1, rather than
31 fatal error if packet is disabled.
32 (remote_remove_watchpoint, remote_insert_hw_breakpoint,
33 remote_remove_hw_breakpoint): Likewise.
34 Revert my 2006-06-01 Nathan Sidwell <nathan@codesourcery.com>
35 change to breakpoint.c
37 * gdb/testsuite/gdb.asm/m68k.inc (gdbasm_call): Use jsr.
38 * gdb/testsuite/gdb.base/fileio.c (stop): New. Call it everywhere
39 the debugger should stop.
40 * gdb/testsuite/gdb.base/fileio.exp: Add breakpoint to stop
42 * gdb/testsuite/gdb.base/charset.exp: Specify source file for
45 * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Remove.
46 (REGISTER_BYTES_FP): Use tdep->fpreg_type.
47 (m68k_register_bytes_ok): adjust.
48 (m68k_register_type): Use tdep->fpreg_type.
49 (m68k_register_to_value, m68k_value_to_register): Likewise.
50 (m68k_svr4_extract_return_value): Use tdep->float_return &
52 (m68k_svr4_store_return_value): Likewise.
53 (m68k_gdbarch_init): Set tdep->float_return & tdep->fpreg_type.
54 * gdb/m68k-tdep.h (struct gdbarch_tdep): Add floar_return &
56 * gdb/m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use tdep->fpreg_type.
58 * gdb/m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
59 (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
60 conversion. Use M68K_NUM_REGS for number of regs.
62 * gdb/configure.tgt (gdb_osabi): uclinux is like linux.
63 * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Return value
65 (m68k_reg_struct_return_p): Duplicate gcc's struct mode algorithm.
66 (m68k_svr4_return_value) Use VALUE_STRUCT_CONVENTION. do not rely
68 (m68k_push_dummy_call): Force stack alignment.
69 (m68k_svr4_init_abi): Set struct_return convention.
70 (m68k_aout_init_abi): New.
71 (m68k_gdbarch_init): Default to bare elf ABI that gcc provides.
72 * gdb/m68k-tdep.h (m68k_aout_init_abi): Declare.
73 * gdb/m68kbsd-tdep.c (m68kbsd_aout_init_abi): Use m68k_aout_init_abi.
74 (m68kbsd_elf_init_abi): Add comment.
75 * gdb/m68klinux-tdep.c (m68k_linux_init_abi): Just set the struct
76 pointer register here.
78 2006-06-01 Nathan Sidwell <nathan@codesourcery.com>
80 * gdb/breakpoint.c (insert_bp_location): Remember the failing
81 watchpoint address and pass to remove_breakpoint.
82 (remove_breakpoints, remove_hw_watchpoints, reattach_breakpoints,
83 detach_breakpoints): Adjust remove_breakpoint call.
84 (remove_breakpoint): Add VAL_FAILED parameter. Stop removing
85 watchpoint addresses when it is reached.
86 (delete_breakpoint): Adjust remove_breakpoint call.
88 2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
90 * gdb/remote-fileio.c (remote_fileio_reset): New.
91 * gdb/remote-fileio.h (remote_fileio_reset): Prototype.
92 * gdb/remote.c (extended_remote_restart, remote_open_1): Call it.
94 2006-05-22 Richard Sandiford <richard@codesourcery.com>
97 * m68k-dis.c (m68k_scan_mask): Add missing return.
99 2006-05-08 Richard Sandiford <richard@codesourcery.com>
102 * m68k.h (mcf_mask): Define.
105 * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
106 and fmovem entries. Put register list entries before immediate
107 mask entries. Use "l" rather than "L" in the fmovem entries.
108 * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
110 (m68k_scan_mask): New function, split out from...
111 (print_insn_m68k): ...here. If no architecture has been set,
112 first try printing an m680x0 instruction, then try a Coldfire one.
114 2006-05-03 Paul Brook <paul@codesourcery.com>
115 Daniel Jacobowitz <dan@codesourcery.com>
117 * gdb/testsuite/gdb.cp/gdb1355.exp: Accept different spellings of
119 * gdb/testsuite/gdb.cp/gdb1355.cc: Ensure all types are referenced.
120 * gdb/testsuite/gdb.cp/hang2.C: Ditto.
121 * gdb/testsuite/gdb.cp/m-data.cc: Ditto.
122 * gdb/testsuite/gdb.cp/hang3.C: Ditto.
123 * gdb/testsuite/gdb.cp/hang1.C: Ditto.
125 * gdb/gdbtypes.c (rank_one_type): Check for plain char -> signed/
128 * gdb/testsuite/gdb.base/completion.exp: Accept "long" as a type.
130 * gdb/testsuite/gdb.base/volatile.exp: Accept different spellings of
132 * gdb/testsuite/gdb.base/constvars.c: Ensure all types are referenced.
134 * gdb/testsuite/gdb.stabs/weird.exp: Return -1 instead of issuing
137 * gdb/testsuite/gdb.base/advance.c: Add proper function prototype.
139 * gdb/testsuite/gdb.base/ending-run.exp: Add case for ARM runtime.
141 * gdb/testsuite/gdb.base/gdb1821.c: Ensure all types are referenced.
143 * gdb/testsuite/gdb.base/ptype.exp: Accept different spellings of
146 * gdb/testsuite/gdb.cp/inherit.exp: Cope with armcc vtable pointers.
148 * gdb/testsuite/gdb.mi/mi2-var-child.exp: Accept different spellings
150 * gdb/testsuite/gdb.mi/mi-var-display.exp: Ditto.
151 * gdb/testsuite/gdb.mi/mi2-var-display.exp: Ditto.
152 * gdb/testsuite/gdb.mi/mi2-var-cmd.exp: Ditto.
154 2006-05-03 Paul Brook <paul@codesourcery.com>
156 * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
158 2006-05-03 Paul Brook <paul@codesourcery.com>
159 Daniel Jacobowitz <dan@codesourcery.com>
161 * gdb/c-valprint.c: Handle class member typedefs.
163 * gdb/symtab.c (skip_prologue_using_sal): Treat two consecutive lines
164 at the same address as a prolouge marker.
165 * gdb/arm-tdep.c (arm_skip_prologue): Use skip_prologue_using_sal.
167 * gdb/dwarf2expr.c (execute_stack_op): Check for bogus DW_OP_reg.
169 * gdb/dwarf2read.c (read_structure_type): Use tag name for C++/Java
172 * Makefile.in (eval.o): Update dependencies.
173 * eval.c: Include "ui-out.h" and "exceptions.h".
174 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
175 Use value_zero if an error occurs when avoiding side effects.
176 * varobj.c (varobj_create): Call release_value after evaluate_type.
177 (c_value_of_root): Initialize new_val. Don't release_value a NULL
180 * gdb/c-typeprint.c (cp_type_print_method_args): Don't print type
183 * gdb/dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
185 (dwarf_decode_lines): Check for line info without a file.
187 2006-05-03 Paul Brook <paul@codesourcery.com>
188 Daniel Jacobowitz <dan@codesourcery.com>
190 * gdb/dwarf2read.c (read_subroutine_type): Add armcc workaround.
192 * gdb/dwarf2read.c (read_structure_type): Look for ADS vtable
195 * gdb/dwarf2read.c (dwarf_decode_lines): Don't set dir for absolute
197 (dwarf_decode_lines): Ditto.
198 (dwarf2_start_subfile): Split absolute filenames into path+file.
200 * gdb/symtab.h (struct symbol): Add is_argument.
201 (SYMBOL_IS_ARGUMENT): Define.
202 * gdb/stack.c (print_frame_args): Use SYMBOL_IS_ARGUMENT.
203 (print_frame_arg_vars): Ditto.
204 * gdb/dwarf2read.c (new_symbol): Set SYMBOL_IS_ARGUMENT.
205 (new_symbol): Mark optimized out arguments.
207 * gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
209 * gdb/dwarf2read.c (read_unspecified_type): New function.
210 (read_type_die): Handle DW_TAG_unspecified_type.
212 2006-05-03 Paul Brook <paul@codesourcery.com>
213 Daniel Jacobowitz <dan@codesourcery.com>
215 * gdb/dwarf2read.c (field_info): Add baseclasses.
216 (dwarf2_add_field): Check base classes.
217 (dwarf2_attach_fields_to_type): Ditto.
219 * gdb/gnu-v3-abi.c (gnuv3_rtti_type): Check for NULL base_type.
220 (gnuv3_virtual_fn_field): Handle missing base.
221 (gnuv3_baseclass_offset): Handle missing vptr.
222 * gdb/varobj.c (cplus_class_num_children): Call fill_in_vptr_fieldno.
223 (cplus_name_of_child): Ditto.
224 * gdb/eval.c (evaluate_subexp_standard): Ditto.
225 * gdb/dwarf2read.c (read_structure_type): Search for vtable pointer
226 by name in objects built by ARM compiler.
228 * gdb/dwarf2read.c (dwarf2_add_member_fn): Calculate virtual function
229 offset for classes without DW_AT_containing_type.
231 2006-04-28 Mark Mitchell <mark@codesourcery.com>
233 * gdb/mt-tdep.c (mt_register_name): Correct out-of-range logic to
234 include additional registers.
236 2006-04-28 Richard Sandiford <richard@codesourcery.com>
238 * gdb/gdbserver/configure.srv (m68k*-*-linux*): Use reg-cf.o.
240 2006-04-19 Daniel Jacobowitz <dan@codesourcery.com>
242 * gdb/doc/gdb.texinfo (Remote configuration): Mention "set remote
244 (General Query Packets): Document qPartInfo.
246 2006-04-18 Mark Mitchell <mark@codesourcery.com>
249 * gdb/mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
250 Iscramb2, Qscramb2, Qchannel2.
251 (mt_register_name): Likewise.
252 (mt_copro_register_type): Describe ZI2 and ZQ2.
254 2006-04-11 Mark Mitchell <mark@codesourcery.com>
257 * gdb/mt-tdep.c (mt_gdb_regnums): Define
258 MT_COPRO_PSEUDOREG_MAC_REGNUM.
259 (mt_register_name): Use it.
260 (mt_copro_register_type): Likewise.
261 (mt_register_type): Likewise.
262 (mt_pseudo_register_read): Likewise. Read the MAC register, not
263 the coprocessor register.
264 (mt_pseudo_register_write): Likewise.
266 2006-04-11 Daniel Jacobowitz <dan@codesourcery.com>
268 * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
271 2006-04-11 Daniel Jacobowitz <dan@codesourcery.com>
274 2006-03-09 Paul Brook <paul@codesourcery.com>
275 * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
278 2006-04-02 Daniel Jacobowitz <dan@codesourcery.com>
280 * Makefile.def (host_modules, dependencies): Add expat.
281 * configure.in (host_libs): Add expat.
282 * Makefile.in, configure: Regenerate.
283 * expat: New directory.
285 * gdb/Makefile.in: Add expat, new files, and xml-builtin.c. Update
287 * gdb/acinclude.m4: Include stdint.m4.
288 * gdb/configure.ac: Use AC_C_BIGENDIAN and GCC_HEADER_STDINT.
289 * gdb/aclocal.m4, gdb/config.in, gdb/configure: Regenerate.
291 * gdb/auxv.h: Remove target_auxv_read prototype.
292 * gdb/auxv.c, gdb/avr-tdep.c, gdb/ia64-tdep.c, gdb/linux-nat.c,
293 gdb/procfs.c: Use target_read_whole.
294 * gdb/sparc-tdep.c: Use target_read.
296 * gdb/frame.c: Work around null frame_id handling.
298 * gdb/breakpoint.c, gdb/f-valprint.c, gdb/infcmd.c, gdb/inflow.c,
299 gdb/infrun.c, gdb/stack.c, gdb/valops.c, gdb/varobj.c,
300 gdb/cli-cmds.c, gdb/testsuite/gdb.base/default.exp,
301 gdb/tui/tui-disasm.c, gdb/tui/tui-source.c,
302 gdb/tui/tui-winsource.c: Selected frame fixups.
304 * gdb/README.AVAIL, gdb/available.c, gdb/available.h,
305 gdb/parse-avail.c, gdb/sha1.c, gdb/features/feature_to_c.sh,
306 gdb/features/gdb-target.dtd: New files.
307 * gdb/arm-tdep.c: Handle missing FPA, present VFP, and
308 self-described registers. Decode VFP register numbers from DWARF.
309 * gdb/arm-tdep.h: Add flags for VFP and FPA.
310 * gdb/gdbarch.sh: Add available_features_support and feature_set.
311 Export the arch's obstack. Check feature sets. Improve error
313 * gdb/gdbarch.c, gdb/gdbarch.h: Regenerated.
314 * gdb/infcmd.c: Trigger architecture selection.
315 * gdb/remote.c: Available feature support. qPacketInfo support.
316 Improved g/G packet support. Improved qPart support.
317 qPart:features support.
318 * gdb/symfile.c: Adjust download_write_size.
319 * gdb/target.c: Revise partial transfer support. Handle available
320 features method. Add target_read_whole.
321 * gdb/target.h: Add the available features object and methods.
322 * gdb/doc/gdb.texinfo: Document new features.
324 * gdb/symfile.h: Include symtab.h.
326 2006-03-31 Nathan Sidwell <nathan@codesourcery.com>
328 * gdb/config/m68k/monitor.mt (TDEPFILES): Remove unneeded
330 (DEPRECATED_TM_FILE): Remove.
332 * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Define.
333 (REGISTER_BYTES_FP): Use it.
335 * gdb/configure.tgt (m68k-*-uclinux*): target is linux.
337 * gdb/remote.c (remote_fetch_registers): Revert bogus change.
339 * gdb/remote.c (remote_fetch_registers): Don't warn about short
340 register packet if we've not set the expected value.
342 * gdb/gdbserver/linux-low.c (linux_read_offsets): Remove debugging
345 * gdb/gdbserver/Makefile.in (reg-cf.o, reg-cf.c): New targets.
346 * gdb/gdbserver/configure.srv (m68k*-*-uclinux*): New target.
347 * gdb/gdbserver/linux-low.c (linux_create_inferior): Use vfork on
349 (linux_resume_one_process): Remove extraneous cast.
350 (linux_read_offsets): New.
351 (linux_target_op): Add linux_read_offsets on mmuless systems.
352 * gdb/gdbserver/server.c (handle_query): Add qOffsets logic.
353 * gdb/gdbserver/target.h (struct target_ops): Add read_offsets.
355 2006-03-30 Mark Mitchell <mark@codesourcery.com>
357 * libiberty/configure.ac: Add cygpath for mingw hosts.
358 * libiberty/configure: Rebuilt.
359 * libiberty/Makefile.in: Add cygpath.
360 * libiberty/cygpath.c: New.
362 2006-03-30 Paul Brook <paul@codesourcery.com>
364 Backport form mainline.
365 * gdb/testsuite/gdb.mi/mi-until.exp: kfail broken until command.
366 * gdb/testsuite/gdb.mi/mi2-until.exp: Ditto.
368 2006-03-29 Nathan Sidwell <nathan@codesourcery.com>
370 * gdb/m68k-tdep.c (M68K_FPREG_TYPE, M68K_LONG_DOUBLE_FORMAT,
371 M68K_RETURN_FP0): New. Set for Coldfire.
372 (m68k_register_type, m68k_register_to_value,
373 m68k_svr4_extract_return_value, m68k_svr4_store_return_value,
374 m68k_gdbarch_init): Use them.
376 2006-03-21 Mark Mitchell <mark@codesourcery.com>
378 * gdb/ser-mingw.c (net_windows_state): Add mutex.
379 (net_windows_select_thread): Grab lock around access to
381 (net_windows_wait_handle): Do not reset the read_event.
382 (net_windows_open): Create a mutex.
383 (net_windows_read_prim): New function.
384 (_initialize_ser_windows): Use it.
386 2006-03-20 Mark Mitchell <mark@codesourcery.com>
388 * libiberty/pex-common.c (pex_run): Close the write end of the
389 pipe after starting the child.
391 * gdb/config/arm/armv7m.mt (TDEPFILES): Add prologue-value.o.
393 2006-03-21 Paul Brook <paul@codesourcery.com>
394 Daniel Jacobowitz <dan@codesourcery.com>
395 Jim Blandy <jimb@codesourcery.com>
397 * gdb/Makefile.in: Add prologue_value.{c,h}
398 * gdb/arm-tdep.c: Include prologue-value.h.
399 (thumb_skip_prologue): Remove.
400 (thumb_analyze_prologue): New function.
401 (arm_skip_prologue): Use thumb_analyze_prologue.
402 (thumb_scan_prologue): Ditto.
403 * gdb/prologue-value.c: New file.
404 * gdb/prologue-value.h: New file.
405 * gdb/config/arm/embed.mt (TDEPFILES): Add prologue-value.o.
406 * gdb/config/arm/linux.mt (TDEPFILES): Add prologue-value.o.
407 * gdb/config/arm/nbsd.mt (TDEPFILES): Add prologue-value.o.
408 * gdb/config/arm/wince.mt (TDEPFILES): Add prologue-value.o.
409 * gdb/testsuite/gdb.arch/thumb-prologue.c: New file.
410 * gdb/testsuite/gdb.arch/thumb-prologue.exp: New file.
412 2006-03-20 Mark Mitchell <mark@codesourcery.com>
414 * configure.tgt (arm*-stellaris-*): Use armv7m configuration.
415 * config/arm/armv7m.mt: New file.
416 * config/arm/tm-armv7m.h: Likewise.
417 * arm-tdep.c (arm_register_name_strings): Use xPSR on ARM V7M.
418 (arm_pc_is_thumb): ARM V7M is always Thumb.
419 (set_disassembly_style): Use xPSR on ARM V7M.
420 (arm_write_pc): Do not set T bit in CSPR on V7M.
422 2006-03-20 Mark Mitchell <mark@codesourcery.com>
424 * libiberty/pex-win32.c (<errno.h>): Include.
426 (argv_to_cmdline): New function.
427 (std_suffixes): New variable.
428 (no_suffixes): Likewise.
429 (find_executable): New function.
430 (win32_spawn): Likewise.
431 (spawn_script): Use win32_spawn instead of _spawnv[p].
432 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
433 (pex_win32_wait): Likewise.
435 2006-03-19 Mark Mitchell <mark@codesourcery.com>
437 * gdb/ser-mingw.c (free_pipe_state): Close pipe before calling
440 2006-03-17 Mark Mitchell <mark@codesourcery.com>
442 * gdb/config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
444 2006-03-17 Jim Blandy <jimb@codesourcery.com>
446 Add support for 'target remote |' on MinGW.
447 * gdb/ser-mingw.c (struct pipe_state): New structure.
448 (make_pipe_state, free_pipe_state, cleanup_pipe_state)
449 (pipe_windows_open, pipe_windows_close, pipe_windows_read)
450 (pipe_windows_write, pipe_wait_handle): New functions.
451 (_initialize_ser_windows): Register a "pipe" interface based on
454 * libiberty/pex-common.c (pex_write_input): New function.
455 * libiberty/pexecute.txh (pex_write_input): Document it.
456 * libiberty/pex-common.h (struct pex_funcs): New function ptr fdopenw.
457 * libiberty/pex-unix.c (pex_unix_fdopenw): New function.
458 (funcs): List it as our fdopenw function.
459 * libiberty/pex-win32.c (pex_win32_fdopenw): New function.
460 (funcs): List it as our fdopenw function.
461 * libiberty/pex-djgpp.c (funcs): Leave fdopenw null.
462 * libiberty/pex-msdos (funcs): Same.
463 * libiberty/functions.texi: Regenerated.
465 * include/libiberty.h (pex_write_input): New declaration.
467 * libiberty/pex-common.h (struct pex_obj): Doc fixes.
469 * libibery/functions.texi: Regenerate.
471 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
473 * gdb/gdb_proc_service.h (paddr_t): Use psaddr_t if available.
474 * gdb/proc-service.c (ps_xfer_memory): Cast paddr_t to unsigned
476 (ps_pglobal_lookup): Cast CORE_ADDR to paddr_t.
478 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
480 * gdb/gdbserver/linux-mips-low.c: Include <sys/ptrace.h> and
481 "gdb_proc_service.h".
482 (PTRACE_GET_THREAD_AREA): Define.
483 (ps_get_thread_area): New function.
484 * gdb/gdbserver/Makefile.in (linux-i386-low.o, linux-mips-low.o)
485 (linux-x86-64-low.o): Update.
487 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
489 * gdb/gdbserver/configure.ac: Remove checks for prfpregset_t.
490 * gdb/gdbserver/gdb_proc_service.h: New file.
491 * gdb/gdbserver/linux-i386-low.c, gdb/gdbserver/linux-x86-64-low.c,
492 gdb/gdbserver/thread-db.c: Use the new "gdb_proc_service.h".
493 * gdb/gdbserver/proc-service.c: Likewise.
494 (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t.
495 (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument.
496 * gdb/gdbserver/Makefile.in (gdb_proc_service_h): Updated.
497 * gdb/gdbserver/configure, config.in: Regenerated.
499 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
501 * gdb/Makefile.in (mips_linux_tdep_h): New.
502 (mpis-linux-nat.o, mips-linux-tdep.o): Update.
503 * gdb/mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
505 (have_ptrace_regsets, super_fetch_registers, super_store_registers)
506 (mips64_linux_regsets_fetch_registers)
507 (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
508 (mips64_linux_store_registers): New.
509 (_initialize_mips_linux_nat): Override to_fetch_registers and
511 * gdb/mips-linux-tdep.h: New file.
512 * gdb/mips-linux-tdep.c: Include "mips-linux-tdep.c".
513 (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
514 (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
515 (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
516 (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
517 (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
518 (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
519 (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
520 (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
521 (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
522 (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
523 (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
524 (supply_32bit_reg): Use gdb_byte.
525 (supply_64bit_reg): New.
526 (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
527 (mips_fill_fpregset, fetch_core_registers, supply_gregset)
528 (fill_gregset, supply_fpregset): Update for renamed types.
529 (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
530 (mips64_fill_gregset): Make global. Handle 32-bit register
532 (mips64_fill_fpregset): Make global. Use gdb_byte. Handle
535 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
537 * gdb/mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
538 (mips_fill_gregset): Renamed from fill_gregset.
539 (mips_supply_fpregset): Renamed from supply_fpregset.
540 (mips_fill_fpregset): Renamed from fill_fpregset.
541 (fetch_core_registers): Update calls.
542 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
545 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
547 * gdb/mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
549 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
551 * gdb/mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
552 Correct arithmetic for 64-bit CORE_ADDR.
554 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
556 * gdb/mips-linux-tdep.c: Include "floatformat.h".
557 (mips_linux_init_abi): Use 128-bit long double for N32 and N64.
558 (mips_n32n64_return_value): Support 128-bit long double.
559 (print_gp_register_row): Don't print spaces before ignored
560 or floating point registers.
562 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
564 * gdb/mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
566 (non_heuristic_proc_desc): Likewise.
568 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
570 * gdb/mips-linux-nat.c: Include "gdb_proc_service.h".
571 (PTRACE_GET_THREAD_AREA): Define.
572 (ps_get_thread_area): New.
573 * gdb/Makefile.in (mips-linux-nat.o): Update.
575 2006-03-08 Paul Brook <paul@codesourcery.com>
577 Backport from mainline.
578 * gdb/arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
579 (arm_frame_align): New function.
580 (arm_gdbarch_init): Use it.
582 2006-03-07 Paul Brook <paul@codesourcery.com>
584 Backport from mainline.
585 * gdb/testsuite/gdb.base/assign.exp: Correct fail message.
587 2006-03-07 Paul Brook <paul@codesourcery.com>
589 Backport from mainline.
590 * sim/arm/elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
592 2006-03-07 Paul Brook <paul@codesourcery.com>
594 Backport from mainline.
595 * gdb/testsuite/lib/compiler.c: Extract armcc version number.
596 * gdb/testsuite/lib/compiler.cc: Ditto.
598 2006-03-07 Paul Brook <paul@codesourcery.com>
600 Backport from mainline.
601 2006-03-03 Khem Raj <khem@mvista.com>
602 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
604 2006-03-07 Paul Brook <paul@codesourcery.com>
606 Backport from mainline.
607 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
609 * gdb.arch/altivec-regs.exp: Ditto.
610 * gdb.arch/e500-abi.exp: Ditto.
611 * gdb.arch/e500-regs.exp: Ditto.
612 * gdb.base/all-bin.exp: Ditto.
613 * gdb.base/annota1.exp: Ditto.
614 * gdb.base/annota3.exp: Ditto.
615 * gdb.base/args.exp: Ditto.
616 * gdb.base/arithmet.exp: Ditto.
617 * gdb.base/assign.exp: Ditto.
618 * gdb.base/async.exp: Ditto.
619 * gdb.base/bang.exp: Ditto.
620 * gdb.base/break.exp: Ditto.
621 * gdb.base/call-rt-st.exp: Ditto.
622 * gdb.base/completion.exp: Ditto.
623 * gdb.base/cond-expr.exp: Ditto.
624 * gdb.base/condbreak.exp: Ditto.
625 * gdb.base/consecutive.exp: Ditto.
626 * gdb.base/define.exp: Ditto.
627 * gdb.base/display.exp: Ditto.
628 * gdb.base/ena-dis-br.exp: Ditto.
629 * gdb.base/environ.exp: Ditto.
630 * gdb.base/eval-skip.exp: Ditto.
631 * gdb.base/info-proc.exp: Ditto.
632 * gdb.base/jump.exp: Ditto.
633 * gdb.base/logical.exp: Ditto.
634 * gdb.base/long_long.exp: Ditto.
635 * gdb.base/maint.exp: Ditto.
636 * gdb.base/miscexprs.exp: Ditto.
637 * gdb.base/pc-fp.exp: Ditto.
638 * gdb.base/pointers.exp: Ditto.
639 * gdb.base/relational.exp: Ditto.
640 * gdb.base/reread.exp: Ditto.
641 * gdb.base/sect-cmd.exp: Ditto.
642 * gdb.base/sep.exp: Ditto.
643 * gdb.base/sepdebug.exp: Ditto.
644 * gdb.base/until.exp: Ditto.
645 * gdb.base/whatis-exp.exp: Ditto.
646 * gdb.cp/annota2.exp: Ditto.
647 * gdb.cp/annota3.exp: Ditto.
648 * gdb.trace/actions.exp: Ditto.
649 * gdb.trace/backtrace.exp: Ditto.
650 * gdb.trace/circ.exp: Ditto.
651 * gdb.trace/collection.exp: Ditto.
652 * gdb.trace/deltrace.exp: Ditto.
653 * gdb.trace/infotrace.exp: Ditto.
654 * gdb.trace/limits.exp: Ditto.
655 * gdb.trace/packetlen.exp: Ditto.
656 * gdb.trace/passc-dyn.exp: Ditto.
657 * gdb.trace/passcount.exp: Ditto.
658 * gdb.trace/report.exp: Ditto.
659 * gdb.trace/save-trace.exp: Ditto.
660 * gdb.trace/tfind.exp: Ditto.
661 * gdb.trace/tracecmd.exp: Ditto.
662 * gdb.trace/while-dyn.exp: Ditto.
663 * gdb.trace/while-stepping.exp: Ditto.
664 * lib/gdb.exp: Ditto.
665 (gdb_compile): Handle nowarning option.