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