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