1 2006-06-10 Daniel Jacobowitz <dan@codesourcery.com>
5 * remote-fileio.c (remote_fileio_func_read): Limit console
8 2006-06-09 Nathan Sidwell <nathan@codesourcery.com>
11 * gdb.base/recurse.exp: Add gdb,hardware_watchpoint target
12 info. Adjust testing to cope with a single watchpoint.
13 * gdb.base/watchpoint.exp: Adjust expected string.
16 * gdb.base/cursal.exp: Run to main before setting listing
18 * gdb.base/dbx.exp: Run to main before testing.
19 * gdb.base/ending-run.exp: Add additional expected string.
20 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
22 * gdb.base/huge.exp: Loop over compilation to find a size that
24 * gdb.base/remote.exp: Correct expected strings.
25 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
28 * remote-file.io.c (remote_fileio_func_system): Treat zero length
29 string as NULL. Adjust for NULL pointer argument.
30 * doc/gdb.texinfo (system): Document behaviour with zero length
34 * gdb.base/fileio.c: Add system(NULL) test.
35 * gdb.base/fileio.exp: Check it.
38 * gdb.cp/anon-union.cc: Add code at end of function.
39 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
40 * gdb.mi/var-cmd.c: Add code at end of function.
41 * gdb.mi/mi-var-display.exp: Adjust end of next.
42 * gdb.mi/mi2-var-display.exp: Likewise.
45 * gdb.base/break.c: Add breakpoint 10a marker.
46 * gdb.base/break.exp: Check breakpoint on }
49 * m68k-tdep.c (m68k_frame_align): New.
50 (m68k_push_dummy_call): Don't align here.
51 (m68k_gdbarch_init): Set frame_align here.
53 2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
55 * gdb/remote.c (remote_open_1): Do preopen tasks before
56 irreversably destroying state.
58 * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Use
59 tdep->ptr_value_regnum for pointer returns.
60 (m68k_svr4_store_return_value): Likewise.
61 (m68k_reg_struct_return_r): New, broken out of ...
62 (m68k_reg_struct_return_p): ... here. Implement gcc's structure
64 (m68k_svr4_init_abi, m68k_aout_init_abi): Set ptr_value_regnum.
65 (m68k_gdbarch_init): Likewise.
66 * gdb/m68k-tdep.h (struct gdbarch_tdep): Add ptr_value_regnum
69 2006-06-05 Nathan Sidwell <nathan@codesourcery.com>
71 * gdb/remote.c (remote_insert_watchpoint): Return -1, rather than
72 fatal error if packet is disabled.
73 (remote_remove_watchpoint, remote_insert_hw_breakpoint,
74 remote_remove_hw_breakpoint): Likewise.
75 Revert my 2006-06-01 Nathan Sidwell <nathan@codesourcery.com>
76 change to breakpoint.c
78 * gdb/testsuite/gdb.asm/m68k.inc (gdbasm_call): Use jsr.
79 * gdb/testsuite/gdb.base/fileio.c (stop): New. Call it everywhere
80 the debugger should stop.
81 * gdb/testsuite/gdb.base/fileio.exp: Add breakpoint to stop
83 * gdb/testsuite/gdb.base/charset.exp: Specify source file for
86 * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Remove.
87 (REGISTER_BYTES_FP): Use tdep->fpreg_type.
88 (m68k_register_bytes_ok): adjust.
89 (m68k_register_type): Use tdep->fpreg_type.
90 (m68k_register_to_value, m68k_value_to_register): Likewise.
91 (m68k_svr4_extract_return_value): Use tdep->float_return &
93 (m68k_svr4_store_return_value): Likewise.
94 (m68k_gdbarch_init): Set tdep->float_return & tdep->fpreg_type.
95 * gdb/m68k-tdep.h (struct gdbarch_tdep): Add floar_return &
97 * gdb/m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use tdep->fpreg_type.
99 * gdb/m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
100 (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
101 conversion. Use M68K_NUM_REGS for number of regs.
103 * gdb/configure.tgt (gdb_osabi): uclinux is like linux.
104 * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Return value
106 (m68k_reg_struct_return_p): Duplicate gcc's struct mode algorithm.
107 (m68k_svr4_return_value) Use VALUE_STRUCT_CONVENTION. do not rely
109 (m68k_push_dummy_call): Force stack alignment.
110 (m68k_svr4_init_abi): Set struct_return convention.
111 (m68k_aout_init_abi): New.
112 (m68k_gdbarch_init): Default to bare elf ABI that gcc provides.
113 * gdb/m68k-tdep.h (m68k_aout_init_abi): Declare.
114 * gdb/m68kbsd-tdep.c (m68kbsd_aout_init_abi): Use m68k_aout_init_abi.
115 (m68kbsd_elf_init_abi): Add comment.
116 * gdb/m68klinux-tdep.c (m68k_linux_init_abi): Just set the struct
117 pointer register here.
119 2006-06-01 Nathan Sidwell <nathan@codesourcery.com>
121 * gdb/breakpoint.c (insert_bp_location): Remember the failing
122 watchpoint address and pass to remove_breakpoint.
123 (remove_breakpoints, remove_hw_watchpoints, reattach_breakpoints,
124 detach_breakpoints): Adjust remove_breakpoint call.
125 (remove_breakpoint): Add VAL_FAILED parameter. Stop removing
126 watchpoint addresses when it is reached.
127 (delete_breakpoint): Adjust remove_breakpoint call.
129 2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
131 * gdb/remote-fileio.c (remote_fileio_reset): New.
132 * gdb/remote-fileio.h (remote_fileio_reset): Prototype.
133 * gdb/remote.c (extended_remote_restart, remote_open_1): Call it.
135 2006-05-22 Richard Sandiford <richard@codesourcery.com>
138 * m68k-dis.c (m68k_scan_mask): Add missing return.
140 2006-05-08 Richard Sandiford <richard@codesourcery.com>
143 * m68k.h (mcf_mask): Define.
146 * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
147 and fmovem entries. Put register list entries before immediate
148 mask entries. Use "l" rather than "L" in the fmovem entries.
149 * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
151 (m68k_scan_mask): New function, split out from...
152 (print_insn_m68k): ...here. If no architecture has been set,
153 first try printing an m680x0 instruction, then try a Coldfire one.
155 2006-05-03 Paul Brook <paul@codesourcery.com>
156 Daniel Jacobowitz <dan@codesourcery.com>
158 * gdb/testsuite/gdb.cp/gdb1355.exp: Accept different spellings of
160 * gdb/testsuite/gdb.cp/gdb1355.cc: Ensure all types are referenced.
161 * gdb/testsuite/gdb.cp/hang2.C: Ditto.
162 * gdb/testsuite/gdb.cp/m-data.cc: Ditto.
163 * gdb/testsuite/gdb.cp/hang3.C: Ditto.
164 * gdb/testsuite/gdb.cp/hang1.C: Ditto.
166 * gdb/gdbtypes.c (rank_one_type): Check for plain char -> signed/
169 * gdb/testsuite/gdb.base/completion.exp: Accept "long" as a type.
171 * gdb/testsuite/gdb.base/volatile.exp: Accept different spellings of
173 * gdb/testsuite/gdb.base/constvars.c: Ensure all types are referenced.
175 * gdb/testsuite/gdb.stabs/weird.exp: Return -1 instead of issuing
178 * gdb/testsuite/gdb.base/advance.c: Add proper function prototype.
180 * gdb/testsuite/gdb.base/ending-run.exp: Add case for ARM runtime.
182 * gdb/testsuite/gdb.base/gdb1821.c: Ensure all types are referenced.
184 * gdb/testsuite/gdb.base/ptype.exp: Accept different spellings of
187 * gdb/testsuite/gdb.cp/inherit.exp: Cope with armcc vtable pointers.
189 * gdb/testsuite/gdb.mi/mi2-var-child.exp: Accept different spellings
191 * gdb/testsuite/gdb.mi/mi-var-display.exp: Ditto.
192 * gdb/testsuite/gdb.mi/mi2-var-display.exp: Ditto.
193 * gdb/testsuite/gdb.mi/mi2-var-cmd.exp: Ditto.
195 2006-05-03 Paul Brook <paul@codesourcery.com>
197 * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
199 2006-05-03 Paul Brook <paul@codesourcery.com>
200 Daniel Jacobowitz <dan@codesourcery.com>
202 * gdb/c-valprint.c: Handle class member typedefs.
204 * gdb/symtab.c (skip_prologue_using_sal): Treat two consecutive lines
205 at the same address as a prolouge marker.
206 * gdb/arm-tdep.c (arm_skip_prologue): Use skip_prologue_using_sal.
208 * gdb/dwarf2expr.c (execute_stack_op): Check for bogus DW_OP_reg.
210 * gdb/dwarf2read.c (read_structure_type): Use tag name for C++/Java
213 * Makefile.in (eval.o): Update dependencies.
214 * eval.c: Include "ui-out.h" and "exceptions.h".
215 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
216 Use value_zero if an error occurs when avoiding side effects.
217 * varobj.c (varobj_create): Call release_value after evaluate_type.
218 (c_value_of_root): Initialize new_val. Don't release_value a NULL
221 * gdb/c-typeprint.c (cp_type_print_method_args): Don't print type
224 * gdb/dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
226 (dwarf_decode_lines): Check for line info without a file.
228 2006-05-03 Paul Brook <paul@codesourcery.com>
229 Daniel Jacobowitz <dan@codesourcery.com>
231 * gdb/dwarf2read.c (read_subroutine_type): Add armcc workaround.
233 * gdb/dwarf2read.c (read_structure_type): Look for ADS vtable
236 * gdb/dwarf2read.c (dwarf_decode_lines): Don't set dir for absolute
238 (dwarf_decode_lines): Ditto.
239 (dwarf2_start_subfile): Split absolute filenames into path+file.
241 * gdb/symtab.h (struct symbol): Add is_argument.
242 (SYMBOL_IS_ARGUMENT): Define.
243 * gdb/stack.c (print_frame_args): Use SYMBOL_IS_ARGUMENT.
244 (print_frame_arg_vars): Ditto.
245 * gdb/dwarf2read.c (new_symbol): Set SYMBOL_IS_ARGUMENT.
246 (new_symbol): Mark optimized out arguments.
248 * gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
250 * gdb/dwarf2read.c (read_unspecified_type): New function.
251 (read_type_die): Handle DW_TAG_unspecified_type.
253 2006-05-03 Paul Brook <paul@codesourcery.com>
254 Daniel Jacobowitz <dan@codesourcery.com>
256 * gdb/dwarf2read.c (field_info): Add baseclasses.
257 (dwarf2_add_field): Check base classes.
258 (dwarf2_attach_fields_to_type): Ditto.
260 * gdb/gnu-v3-abi.c (gnuv3_rtti_type): Check for NULL base_type.
261 (gnuv3_virtual_fn_field): Handle missing base.
262 (gnuv3_baseclass_offset): Handle missing vptr.
263 * gdb/varobj.c (cplus_class_num_children): Call fill_in_vptr_fieldno.
264 (cplus_name_of_child): Ditto.
265 * gdb/eval.c (evaluate_subexp_standard): Ditto.
266 * gdb/dwarf2read.c (read_structure_type): Search for vtable pointer
267 by name in objects built by ARM compiler.
269 * gdb/dwarf2read.c (dwarf2_add_member_fn): Calculate virtual function
270 offset for classes without DW_AT_containing_type.
272 2006-04-28 Mark Mitchell <mark@codesourcery.com>
274 * gdb/mt-tdep.c (mt_register_name): Correct out-of-range logic to
275 include additional registers.
277 2006-04-28 Richard Sandiford <richard@codesourcery.com>
279 * gdb/gdbserver/configure.srv (m68k*-*-linux*): Use reg-cf.o.
281 2006-04-19 Daniel Jacobowitz <dan@codesourcery.com>
283 * gdb/doc/gdb.texinfo (Remote configuration): Mention "set remote
285 (General Query Packets): Document qPartInfo.
287 2006-04-18 Mark Mitchell <mark@codesourcery.com>
290 * gdb/mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
291 Iscramb2, Qscramb2, Qchannel2.
292 (mt_register_name): Likewise.
293 (mt_copro_register_type): Describe ZI2 and ZQ2.
295 2006-04-11 Mark Mitchell <mark@codesourcery.com>
298 * gdb/mt-tdep.c (mt_gdb_regnums): Define
299 MT_COPRO_PSEUDOREG_MAC_REGNUM.
300 (mt_register_name): Use it.
301 (mt_copro_register_type): Likewise.
302 (mt_register_type): Likewise.
303 (mt_pseudo_register_read): Likewise. Read the MAC register, not
304 the coprocessor register.
305 (mt_pseudo_register_write): Likewise.
307 2006-04-11 Daniel Jacobowitz <dan@codesourcery.com>
309 * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
312 2006-04-11 Daniel Jacobowitz <dan@codesourcery.com>
315 2006-03-09 Paul Brook <paul@codesourcery.com>
316 * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
319 2006-04-02 Daniel Jacobowitz <dan@codesourcery.com>
321 * Makefile.def (host_modules, dependencies): Add expat.
322 * configure.in (host_libs): Add expat.
323 * Makefile.in, configure: Regenerate.
324 * expat: New directory.
326 * gdb/Makefile.in: Add expat, new files, and xml-builtin.c. Update
328 * gdb/acinclude.m4: Include stdint.m4.
329 * gdb/configure.ac: Use AC_C_BIGENDIAN and GCC_HEADER_STDINT.
330 * gdb/aclocal.m4, gdb/config.in, gdb/configure: Regenerate.
332 * gdb/auxv.h: Remove target_auxv_read prototype.
333 * gdb/auxv.c, gdb/avr-tdep.c, gdb/ia64-tdep.c, gdb/linux-nat.c,
334 gdb/procfs.c: Use target_read_whole.
335 * gdb/sparc-tdep.c: Use target_read.
337 * gdb/frame.c: Work around null frame_id handling.
339 * gdb/breakpoint.c, gdb/f-valprint.c, gdb/infcmd.c, gdb/inflow.c,
340 gdb/infrun.c, gdb/stack.c, gdb/valops.c, gdb/varobj.c,
341 gdb/cli-cmds.c, gdb/testsuite/gdb.base/default.exp,
342 gdb/tui/tui-disasm.c, gdb/tui/tui-source.c,
343 gdb/tui/tui-winsource.c: Selected frame fixups.
345 * gdb/README.AVAIL, gdb/available.c, gdb/available.h,
346 gdb/parse-avail.c, gdb/sha1.c, gdb/features/feature_to_c.sh,
347 gdb/features/gdb-target.dtd: New files.
348 * gdb/arm-tdep.c: Handle missing FPA, present VFP, and
349 self-described registers. Decode VFP register numbers from DWARF.
350 * gdb/arm-tdep.h: Add flags for VFP and FPA.
351 * gdb/gdbarch.sh: Add available_features_support and feature_set.
352 Export the arch's obstack. Check feature sets. Improve error
354 * gdb/gdbarch.c, gdb/gdbarch.h: Regenerated.
355 * gdb/infcmd.c: Trigger architecture selection.
356 * gdb/remote.c: Available feature support. qPacketInfo support.
357 Improved g/G packet support. Improved qPart support.
358 qPart:features support.
359 * gdb/symfile.c: Adjust download_write_size.
360 * gdb/target.c: Revise partial transfer support. Handle available
361 features method. Add target_read_whole.
362 * gdb/target.h: Add the available features object and methods.
363 * gdb/doc/gdb.texinfo: Document new features.
365 * gdb/symfile.h: Include symtab.h.
367 2006-03-31 Nathan Sidwell <nathan@codesourcery.com>
369 * gdb/config/m68k/monitor.mt (TDEPFILES): Remove unneeded
371 (DEPRECATED_TM_FILE): Remove.
373 * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Define.
374 (REGISTER_BYTES_FP): Use it.
376 * gdb/configure.tgt (m68k-*-uclinux*): target is linux.
378 * gdb/remote.c (remote_fetch_registers): Revert bogus change.
380 * gdb/remote.c (remote_fetch_registers): Don't warn about short
381 register packet if we've not set the expected value.
383 * gdb/gdbserver/linux-low.c (linux_read_offsets): Remove debugging
386 * gdb/gdbserver/Makefile.in (reg-cf.o, reg-cf.c): New targets.
387 * gdb/gdbserver/configure.srv (m68k*-*-uclinux*): New target.
388 * gdb/gdbserver/linux-low.c (linux_create_inferior): Use vfork on
390 (linux_resume_one_process): Remove extraneous cast.
391 (linux_read_offsets): New.
392 (linux_target_op): Add linux_read_offsets on mmuless systems.
393 * gdb/gdbserver/server.c (handle_query): Add qOffsets logic.
394 * gdb/gdbserver/target.h (struct target_ops): Add read_offsets.
396 2006-03-30 Mark Mitchell <mark@codesourcery.com>
398 * libiberty/configure.ac: Add cygpath for mingw hosts.
399 * libiberty/configure: Rebuilt.
400 * libiberty/Makefile.in: Add cygpath.
401 * libiberty/cygpath.c: New.
403 2006-03-30 Paul Brook <paul@codesourcery.com>
405 Backport form mainline.
406 * gdb/testsuite/gdb.mi/mi-until.exp: kfail broken until command.
407 * gdb/testsuite/gdb.mi/mi2-until.exp: Ditto.
409 2006-03-29 Nathan Sidwell <nathan@codesourcery.com>
411 * gdb/m68k-tdep.c (M68K_FPREG_TYPE, M68K_LONG_DOUBLE_FORMAT,
412 M68K_RETURN_FP0): New. Set for Coldfire.
413 (m68k_register_type, m68k_register_to_value,
414 m68k_svr4_extract_return_value, m68k_svr4_store_return_value,
415 m68k_gdbarch_init): Use them.
417 2006-03-21 Mark Mitchell <mark@codesourcery.com>
419 * gdb/ser-mingw.c (net_windows_state): Add mutex.
420 (net_windows_select_thread): Grab lock around access to
422 (net_windows_wait_handle): Do not reset the read_event.
423 (net_windows_open): Create a mutex.
424 (net_windows_read_prim): New function.
425 (_initialize_ser_windows): Use it.
427 2006-03-20 Mark Mitchell <mark@codesourcery.com>
429 * libiberty/pex-common.c (pex_run): Close the write end of the
430 pipe after starting the child.
432 * gdb/config/arm/armv7m.mt (TDEPFILES): Add prologue-value.o.
434 2006-03-21 Paul Brook <paul@codesourcery.com>
435 Daniel Jacobowitz <dan@codesourcery.com>
436 Jim Blandy <jimb@codesourcery.com>
438 * gdb/Makefile.in: Add prologue_value.{c,h}
439 * gdb/arm-tdep.c: Include prologue-value.h.
440 (thumb_skip_prologue): Remove.
441 (thumb_analyze_prologue): New function.
442 (arm_skip_prologue): Use thumb_analyze_prologue.
443 (thumb_scan_prologue): Ditto.
444 * gdb/prologue-value.c: New file.
445 * gdb/prologue-value.h: New file.
446 * gdb/config/arm/embed.mt (TDEPFILES): Add prologue-value.o.
447 * gdb/config/arm/linux.mt (TDEPFILES): Add prologue-value.o.
448 * gdb/config/arm/nbsd.mt (TDEPFILES): Add prologue-value.o.
449 * gdb/config/arm/wince.mt (TDEPFILES): Add prologue-value.o.
450 * gdb/testsuite/gdb.arch/thumb-prologue.c: New file.
451 * gdb/testsuite/gdb.arch/thumb-prologue.exp: New file.
453 2006-03-20 Mark Mitchell <mark@codesourcery.com>
455 * configure.tgt (arm*-stellaris-*): Use armv7m configuration.
456 * config/arm/armv7m.mt: New file.
457 * config/arm/tm-armv7m.h: Likewise.
458 * arm-tdep.c (arm_register_name_strings): Use xPSR on ARM V7M.
459 (arm_pc_is_thumb): ARM V7M is always Thumb.
460 (set_disassembly_style): Use xPSR on ARM V7M.
461 (arm_write_pc): Do not set T bit in CSPR on V7M.
463 2006-03-20 Mark Mitchell <mark@codesourcery.com>
465 * libiberty/pex-win32.c (<errno.h>): Include.
467 (argv_to_cmdline): New function.
468 (std_suffixes): New variable.
469 (no_suffixes): Likewise.
470 (find_executable): New function.
471 (win32_spawn): Likewise.
472 (spawn_script): Use win32_spawn instead of _spawnv[p].
473 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
474 (pex_win32_wait): Likewise.
476 2006-03-19 Mark Mitchell <mark@codesourcery.com>
478 * gdb/ser-mingw.c (free_pipe_state): Close pipe before calling
481 2006-03-17 Mark Mitchell <mark@codesourcery.com>
483 * gdb/config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
485 2006-03-17 Jim Blandy <jimb@codesourcery.com>
487 Add support for 'target remote |' on MinGW.
488 * gdb/ser-mingw.c (struct pipe_state): New structure.
489 (make_pipe_state, free_pipe_state, cleanup_pipe_state)
490 (pipe_windows_open, pipe_windows_close, pipe_windows_read)
491 (pipe_windows_write, pipe_wait_handle): New functions.
492 (_initialize_ser_windows): Register a "pipe" interface based on
495 * libiberty/pex-common.c (pex_write_input): New function.
496 * libiberty/pexecute.txh (pex_write_input): Document it.
497 * libiberty/pex-common.h (struct pex_funcs): New function ptr fdopenw.
498 * libiberty/pex-unix.c (pex_unix_fdopenw): New function.
499 (funcs): List it as our fdopenw function.
500 * libiberty/pex-win32.c (pex_win32_fdopenw): New function.
501 (funcs): List it as our fdopenw function.
502 * libiberty/pex-djgpp.c (funcs): Leave fdopenw null.
503 * libiberty/pex-msdos (funcs): Same.
504 * libiberty/functions.texi: Regenerated.
506 * include/libiberty.h (pex_write_input): New declaration.
508 * libiberty/pex-common.h (struct pex_obj): Doc fixes.
510 * libibery/functions.texi: Regenerate.
512 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
514 * gdb/gdb_proc_service.h (paddr_t): Use psaddr_t if available.
515 * gdb/proc-service.c (ps_xfer_memory): Cast paddr_t to unsigned
517 (ps_pglobal_lookup): Cast CORE_ADDR to paddr_t.
519 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
521 * gdb/gdbserver/linux-mips-low.c: Include <sys/ptrace.h> and
522 "gdb_proc_service.h".
523 (PTRACE_GET_THREAD_AREA): Define.
524 (ps_get_thread_area): New function.
525 * gdb/gdbserver/Makefile.in (linux-i386-low.o, linux-mips-low.o)
526 (linux-x86-64-low.o): Update.
528 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
530 * gdb/gdbserver/configure.ac: Remove checks for prfpregset_t.
531 * gdb/gdbserver/gdb_proc_service.h: New file.
532 * gdb/gdbserver/linux-i386-low.c, gdb/gdbserver/linux-x86-64-low.c,
533 gdb/gdbserver/thread-db.c: Use the new "gdb_proc_service.h".
534 * gdb/gdbserver/proc-service.c: Likewise.
535 (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t.
536 (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument.
537 * gdb/gdbserver/Makefile.in (gdb_proc_service_h): Updated.
538 * gdb/gdbserver/configure, config.in: Regenerated.
540 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
542 * gdb/Makefile.in (mips_linux_tdep_h): New.
543 (mpis-linux-nat.o, mips-linux-tdep.o): Update.
544 * gdb/mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
546 (have_ptrace_regsets, super_fetch_registers, super_store_registers)
547 (mips64_linux_regsets_fetch_registers)
548 (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
549 (mips64_linux_store_registers): New.
550 (_initialize_mips_linux_nat): Override to_fetch_registers and
552 * gdb/mips-linux-tdep.h: New file.
553 * gdb/mips-linux-tdep.c: Include "mips-linux-tdep.c".
554 (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
555 (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
556 (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
557 (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
558 (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
559 (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
560 (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
561 (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
562 (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
563 (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
564 (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
565 (supply_32bit_reg): Use gdb_byte.
566 (supply_64bit_reg): New.
567 (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
568 (mips_fill_fpregset, fetch_core_registers, supply_gregset)
569 (fill_gregset, supply_fpregset): Update for renamed types.
570 (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
571 (mips64_fill_gregset): Make global. Handle 32-bit register
573 (mips64_fill_fpregset): Make global. Use gdb_byte. Handle
576 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
578 * gdb/mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
579 (mips_fill_gregset): Renamed from fill_gregset.
580 (mips_supply_fpregset): Renamed from supply_fpregset.
581 (mips_fill_fpregset): Renamed from fill_fpregset.
582 (fetch_core_registers): Update calls.
583 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
586 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
588 * gdb/mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
590 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
592 * gdb/mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
593 Correct arithmetic for 64-bit CORE_ADDR.
595 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
597 * gdb/mips-linux-tdep.c: Include "floatformat.h".
598 (mips_linux_init_abi): Use 128-bit long double for N32 and N64.
599 (mips_n32n64_return_value): Support 128-bit long double.
600 (print_gp_register_row): Don't print spaces before ignored
601 or floating point registers.
603 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
605 * gdb/mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
607 (non_heuristic_proc_desc): Likewise.
609 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
611 * gdb/mips-linux-nat.c: Include "gdb_proc_service.h".
612 (PTRACE_GET_THREAD_AREA): Define.
613 (ps_get_thread_area): New.
614 * gdb/Makefile.in (mips-linux-nat.o): Update.
616 2006-03-08 Paul Brook <paul@codesourcery.com>
618 Backport from mainline.
619 * gdb/arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
620 (arm_frame_align): New function.
621 (arm_gdbarch_init): Use it.
623 2006-03-07 Paul Brook <paul@codesourcery.com>
625 Backport from mainline.
626 * gdb/testsuite/gdb.base/assign.exp: Correct fail message.
628 2006-03-07 Paul Brook <paul@codesourcery.com>
630 Backport from mainline.
631 * sim/arm/elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
633 2006-03-07 Paul Brook <paul@codesourcery.com>
635 Backport from mainline.
636 * gdb/testsuite/lib/compiler.c: Extract armcc version number.
637 * gdb/testsuite/lib/compiler.cc: Ditto.
639 2006-03-07 Paul Brook <paul@codesourcery.com>
641 Backport from mainline.
642 2006-03-03 Khem Raj <khem@mvista.com>
643 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
645 2006-03-07 Paul Brook <paul@codesourcery.com>
647 Backport from mainline.
648 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
650 * gdb.arch/altivec-regs.exp: Ditto.
651 * gdb.arch/e500-abi.exp: Ditto.
652 * gdb.arch/e500-regs.exp: Ditto.
653 * gdb.base/all-bin.exp: Ditto.
654 * gdb.base/annota1.exp: Ditto.
655 * gdb.base/annota3.exp: Ditto.
656 * gdb.base/args.exp: Ditto.
657 * gdb.base/arithmet.exp: Ditto.
658 * gdb.base/assign.exp: Ditto.
659 * gdb.base/async.exp: Ditto.
660 * gdb.base/bang.exp: Ditto.
661 * gdb.base/break.exp: Ditto.
662 * gdb.base/call-rt-st.exp: Ditto.
663 * gdb.base/completion.exp: Ditto.
664 * gdb.base/cond-expr.exp: Ditto.
665 * gdb.base/condbreak.exp: Ditto.
666 * gdb.base/consecutive.exp: Ditto.
667 * gdb.base/define.exp: Ditto.
668 * gdb.base/display.exp: Ditto.
669 * gdb.base/ena-dis-br.exp: Ditto.
670 * gdb.base/environ.exp: Ditto.
671 * gdb.base/eval-skip.exp: Ditto.
672 * gdb.base/info-proc.exp: Ditto.
673 * gdb.base/jump.exp: Ditto.
674 * gdb.base/logical.exp: Ditto.
675 * gdb.base/long_long.exp: Ditto.
676 * gdb.base/maint.exp: Ditto.
677 * gdb.base/miscexprs.exp: Ditto.
678 * gdb.base/pc-fp.exp: Ditto.
679 * gdb.base/pointers.exp: Ditto.
680 * gdb.base/relational.exp: Ditto.
681 * gdb.base/reread.exp: Ditto.
682 * gdb.base/sect-cmd.exp: Ditto.
683 * gdb.base/sep.exp: Ditto.
684 * gdb.base/sepdebug.exp: Ditto.
685 * gdb.base/until.exp: Ditto.
686 * gdb.base/whatis-exp.exp: Ditto.
687 * gdb.cp/annota2.exp: Ditto.
688 * gdb.cp/annota3.exp: Ditto.
689 * gdb.trace/actions.exp: Ditto.
690 * gdb.trace/backtrace.exp: Ditto.
691 * gdb.trace/circ.exp: Ditto.
692 * gdb.trace/collection.exp: Ditto.
693 * gdb.trace/deltrace.exp: Ditto.
694 * gdb.trace/infotrace.exp: Ditto.
695 * gdb.trace/limits.exp: Ditto.
696 * gdb.trace/packetlen.exp: Ditto.
697 * gdb.trace/passc-dyn.exp: Ditto.
698 * gdb.trace/passcount.exp: Ditto.
699 * gdb.trace/report.exp: Ditto.
700 * gdb.trace/save-trace.exp: Ditto.
701 * gdb.trace/tfind.exp: Ditto.
702 * gdb.trace/tracecmd.exp: Ditto.
703 * gdb.trace/while-dyn.exp: Ditto.
704 * gdb.trace/while-stepping.exp: Ditto.
705 * lib/gdb.exp: Ditto.
706 (gdb_compile): Handle nowarning option.