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