summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * remote-fileio.c (remote_fileio_func_read): Limit consolegdb-csl-sourcerygxx-4_1-8Daniel Jacobowitz2006-06-101-0/+7
| | | | reads to 8K.
* gdb/testsuite/Nathan Sidwell2006-06-091-0/+5
| | | | | | * gdb.base/recurse.exp: Add gdb,hardware_watchpoint target info. Adjust testing to cope with a single watchpoint. * gdb.base/watchpoint.exp: Adjust expected string.
* gdb/testsuite/Nathan Sidwell2006-06-091-0/+12
| | | | | | | | | | | | | * gdb.base/cursal.exp: Run to main before setting listing size. * gdb.base/dbx.exp: Run to main before testing. * gdb.base/ending-run.exp: Add additional expected string. * gdb.base/huge.c: Allow CRASH_GDB to be set from command line. * gdb.base/huge.exp: Loop over compilation to find a size that is acceptable. * gdb.base/remote.exp: Correct expected strings. * gdb.dwarf2/mac-fileno.S: Avoid # comments.
* gdb/Nathan Sidwell2006-06-091-0/+10
| | | | | | | | | | | * remote-file.io.c (remote_fileio_func_system): Treat zero length string as NULL. Adjust for NULL pointer argument. * doc/gdb.texinfo (system): Document behaviour with zero length string. gdb/testsuite/ * gdb.base/fileio.c: Add system(NULL) test. * gdb.base/fileio.exp: Check it.
* gdb/testsuite/Nathan Sidwell2006-06-091-0/+7
| | | | | | | | * gdb.cp/anon-union.cc: Add code at end of function. * gdb.cp/anon-union.exp: Adjust end of function breakpoint. * gdb.mi/var-cmd.c: Add code at end of function. * gdb.mi/mi-var-display.exp: Adjust end of next. * gdb.mi/mi2-var-display.exp: Likewise.
* gdb/testsuite/Nathan Sidwell2006-06-091-0/+4
| | | | | * gdb.base/break.c: Add breakpoint 10a marker. * gdb.base/break.exp: Check breakpoint on }
* gdb/Nathan Sidwell2006-06-091-0/+7
| | | | | | * m68k-tdep.c (m68k_frame_align): New. (m68k_push_dummy_call): Don't align here. (m68k_gdbarch_init): Set frame_align here.
* * gdb/remote.c (remote_open_1): Do preopen tasks beforegdb-csl-sourcerygxx-4_1-7Nathan Sidwell2006-06-081-0/+3
| | | | irreversably destroying state.
* * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): UseNathan Sidwell2006-06-081-0/+13
| | | | | | | | | | | | tdep->ptr_value_regnum for pointer returns. (m68k_svr4_store_return_value): Likewise. (m68k_reg_struct_return_r): New, broken out of ... (m68k_reg_struct_return_p): ... here. Implement gcc's structure mode algorithm. (m68k_svr4_init_abi, m68k_aout_init_abi): Set ptr_value_regnum. (m68k_gdbarch_init): Likewise. * gdb/m68k-tdep.h (struct gdbarch_tdep): Add ptr_value_regnum field.
* * gdb/remote.c (remote_insert_watchpoint): Return -1, rather thangdb-csl-sourcerygxx-4_1-6gdb-csl-arm-2006q1-6Nathan Sidwell2006-06-051-0/+7
| | | | | | | | fatal error if packet is disabled. (remote_remove_watchpoint, remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise. Revert my 2006-06-01 Nathan Sidwell <nathan@codesourcery.com> change to breakpoint.c
* * gdb/testsuite/gdb.asm/m68k.inc (gdbasm_call): Use jsr.Nathan Sidwell2006-06-051-1/+3
| | | | | | | | | * gdb/testsuite/gdb.base/fileio.c (stop): New. Call it everywhere the debugger should stop. * gdb/testsuite/gdb.base/fileio.exp: Add breakpoint to stop routine and adjust. * gdb/testsuite/gdb.base/charset.exp: Specify source file for breakpoint address.
* * gdb/testsuite/gdb.asm/m68k.inc (gdbasm_call): Use jsr.Nathan Sidwell2006-06-051-0/+6
| | | | | | | * gdb/testsuite/gdb.base/fileio.c (stop): New. Call it everywhere the debugger should stop. * gdb/testsuite/gdb.base/charset.exp: Add breakpoint to stop routine and adjust.
* missing changelogNathan Sidwell2006-06-051-0/+13
|
* * gdb/m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.Nathan Sidwell2006-06-051-0/+4
| | | | | (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number conversion. Use M68K_NUM_REGS for number of regs.
* i * gdb/configure.tgt (gdb_osabi): uclinux is like linux.Nathan Sidwell2006-06-051-0/+18
| | | | | | | | | | | | | | | | | * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Return value is never in %a0. (m68k_reg_struct_return_p): Duplicate gcc's struct mode algorithm. (m68k_svr4_return_value) Use VALUE_STRUCT_CONVENTION. do not rely on %a0. (m68k_push_dummy_call): Force stack alignment. (m68k_svr4_init_abi): Set struct_return convention. (m68k_aout_init_abi): New. (m68k_gdbarch_init): Default to bare elf ABI that gcc provides. * gdb/m68k-tdep.h (m68k_aout_init_abi): Declare. * gdb/m68kbsd-tdep.c (m68kbsd_aout_init_abi): Use m68k_aout_init_abi. (m68kbsd_elf_init_abi): Add comment. * gdb/m68klinux-tdep.c (m68k_linux_init_abi): Just set the struct pointer register here.
* * gdb/breakpoint.c (insert_bp_location): Remember the failingNathan Sidwell2006-06-011-0/+10
| | | | | | | | | watchpoint address and pass to remove_breakpoint. (remove_breakpoints, remove_hw_watchpoints, reattach_breakpoints, detach_breakpoints): Adjust remove_breakpoint call. (remove_breakpoint): Add VAL_FAILED parameter. Stop removing watchpoint addresses when it is reached. (delete_breakpoint): Adjust remove_breakpoint call.
* * gdb/remote-fileio.c (remote_fileio_reset): New.Nathan Sidwell2006-05-241-0/+6
| | | | | * gdb/remote-fileio.h (remote_fileio_reset): Prototype. * gdb/remote.c (extended_remote_restart, remote_open_1): Call it.
* opcodes/Richard Sandiford2006-05-221-0/+5
| | | | * m68k-dis.c (m68k_scan_mask): Add missing return.
* include/opcodes/gdb-csl-sourcerygxx-4_1-5gdb-csl-sourcerygxx-3_4_4-19gdb-csl-coldfire-4_1-11gdb-csl-coldfire-4_1-10Richard Sandiford2006-05-082-0/+16
| | | | | | | | | | | | | | * m68k.h (mcf_mask): Define. opcodes/ * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd and fmovem entries. Put register list entries before immediate mask entries. Use "l" rather than "L" in the fmovem entries. * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it out from INFO. (m68k_scan_mask): New function, split out from... (print_insn_m68k): ...here. If no architecture has been set, first try printing an m680x0 instruction, then try a Coldfire one.
* 2006-05-03 Paul Brook <paul@codesourcery.com>gdb-csl-sourcerygxx-4_1-4Paul Brook2006-05-031-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> * gdb/testsuite/gdb.cp/gdb1355.exp: Accept different spellings of integer types. * gdb/testsuite/gdb.cp/gdb1355.cc: Ensure all types are referenced. * gdb/testsuite/gdb.cp/hang2.C: Ditto. * gdb/testsuite/gdb.cp/m-data.cc: Ditto. * gdb/testsuite/gdb.cp/hang3.C: Ditto. * gdb/testsuite/gdb.cp/hang1.C: Ditto. * gdb/gdbtypes.c (rank_one_type): Check for plain char -> signed/ unsigned char. * gdb/testsuite/gdb.base/completion.exp: Accept "long" as a type. * gdb/testsuite/gdb.base/volatile.exp: Accept different spellings of integer types. * gdb/testsuite/gdb.base/constvars.c: Ensure all types are referenced. * gdb/testsuite/gdb.stabs/weird.exp: Return -1 instead of issuing error. * gdb/testsuite/gdb.base/advance.c: Add proper function prototype. * gdb/testsuite/gdb.base/ending-run.exp: Add case for ARM runtime. * gdb/testsuite/gdb.base/gdb1821.c: Ensure all types are referenced. * gdb/testsuite/gdb.base/ptype.exp: Accept different spellings of integer types. * gdb/testsuite/gdb.cp/inherit.exp: Cope with armcc vtable pointers. * gdb/testsuite/gdb.mi/mi2-var-child.exp: Accept different spellings of integer types. * gdb/testsuite/gdb.mi/mi-var-display.exp: Ditto. * gdb/testsuite/gdb.mi/mi2-var-display.exp: Ditto. * gdb/testsuite/gdb.mi/mi2-var-cmd.exp: Ditto.
* 2006-05-03 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-031-0/+4
| | | | * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
* 2006-05-03 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-031-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> * gdb/c-valprint.c: Handle class member typedefs. * gdb/symtab.c (skip_prologue_using_sal): Treat two consecutive lines at the same address as a prolouge marker. * gdb/arm-tdep.c (arm_skip_prologue): Use skip_prologue_using_sal. * gdb/dwarf2expr.c (execute_stack_op): Check for bogus DW_OP_reg. * gdb/dwarf2read.c (read_structure_type): Use tag name for C++/Java classes. * Makefile.in (eval.o): Update dependencies. * eval.c: Include "ui-out.h" and "exceptions.h". (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. Use value_zero if an error occurs when avoiding side effects. * varobj.c (varobj_create): Call release_value after evaluate_type. (c_value_of_root): Initialize new_val. Don't release_value a NULL value. * gdb/c-typeprint.c (cp_type_print_method_args): Don't print type details. * gdb/dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New function. (dwarf_decode_lines): Check for line info without a file.
* 2006-05-03 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-031-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> * gdb/dwarf2read.c (read_subroutine_type): Add armcc workaround. * gdb/dwarf2read.c (read_structure_type): Look for ADS vtable pointers. * gdb/dwarf2read.c (dwarf_decode_lines): Don't set dir for absolute paths. (dwarf_decode_lines): Ditto. (dwarf2_start_subfile): Split absolute filenames into path+file. * gdb/symtab.h (struct symbol): Add is_argument. (SYMBOL_IS_ARGUMENT): Define. * gdb/stack.c (print_frame_args): Use SYMBOL_IS_ARGUMENT. (print_frame_arg_vars): Ditto. * gdb/dwarf2read.c (new_symbol): Set SYMBOL_IS_ARGUMENT. (new_symbol): Mark optimized out arguments. * gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3. * gdb/dwarf2read.c (read_unspecified_type): New function. (read_type_die): Handle DW_TAG_unspecified_type.
* 2006-05-03 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-031-0/+18
| | | | | | | | | | | | | | | | | | * gdb/dwarf2read.c (field_info): Add baseclasses. (dwarf2_add_field): Check base classes. (dwarf2_attach_fields_to_type): Ditto. * gdb/gnu-v3-abi.c (gnuv3_rtti_type): Check for NULL base_type. (gnuv3_virtual_fn_field): Handle missing base. (gnuv3_baseclass_offset): Handle missing vptr. * gdb/varobj.c (cplus_class_num_children): Call fill_in_vptr_fieldno. (cplus_name_of_child): Ditto. * gdb/eval.c (evaluate_subexp_standard): Ditto. * gdb/dwarf2read.c (read_structure_type): Search for vtable pointer by name in objects built by ARM compiler. * gdb/dwarf2read.c (dwarf2_add_member_fn): Calculate virtual function offset for classes without DW_AT_containing_type.
* * gdb/mt-tdep.c (mt_register_name): Correct out-of-range logic togdb-csl-morpho-4_1-4Mark Mitchell2006-04-291-0/+5
| | | | include additional registers.
* * gdb/gdbserver/configure.srv (m68k*-*-linux*): Use reg-cf.o.Richard Sandiford2006-04-281-0/+4
|
* * gdb/doc/gdb.texinfo (Remote configuration): Mention "set remotegdb-csl-sourcerygxx-3_4_4-17gdb-csl-20060226-branch-merge-to-csl-symbian-1Daniel Jacobowitz2006-04-191-0/+6
| | | | | load-offsets". (General Query Packets): Document qPartInfo.
* Issue #655Mark Mitchell2006-04-191-0/+8
| | | | | | | * gdb/mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2, Iscramb2, Qscramb2, Qchannel2. (mt_register_name): Likewise. (mt_copro_register_type): Describe ZI2 and ZQ2.
* * mt-tdep.c (mt_gdb_regnums): DefineMark Mitchell2006-04-121-0/+12
| | | | | | | | | | MT_COPRO_PSEUDOREG_MAC_REGNUM. (mt_register_name): Use it. (mt_copro_register_type): Likewise. (mt_register_type): Likewise. (mt_pseudo_register_read): Likewise. Read the MAC register, not the coprocessor register. (mt_pseudo_register_write): Likewise.
* * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept moregdb-csl-symbian-20060226-branchpointDaniel Jacobowitz2006-04-111-0/+5
| | | | mapping symbols.
* Backport:Daniel Jacobowitz2006-04-111-0/+7
| | | | | | 2006-03-09 Paul Brook <paul@codesourcery.com> * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional mapping symbols.
* Merge XML and VFP support to this branch.gdb-csl-20060226-branch-merge-to-csl-local-1Daniel Jacobowitz2006-04-035-2/+405
|
* * gdb/config/m68k/monitor.mt (TDEPFILES): Remove unneededNathan Sidwell2006-03-311-0/+4
| | | | | monitors. (DEPRECATED_TM_FILE): Remove.
* Add ChangeLog entries to the right branch.Daniel Jacobowitz2006-03-311-0/+104
|
* * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Define.Nathan Sidwell2006-03-311-0/+5
| | | | | | (REGISTER_BYTES_FP): Use it. * gdb/configure.tgt (m68k-*-uclinux*): target is linux.
* * gdb/remote.c (remote_fetch_registers): Revert bogus change.Nathan Sidwell2006-03-311-0/+2
|
* * gdb/remote.c (remote_fetch_registers): Don't warn about shortNathan Sidwell2006-03-311-0/+3
| | | | register packet if we've not set the expected value.
* missing changelogNathan Sidwell2006-03-311-0/+3
|
* * gdb/gdbserver/Makefile.in (reg-cf.o, reg-cf.c): New targets.Nathan Sidwell2006-03-311-0/+12
| | | | | | | | | | | * gdb/gdbserver/configure.srv (m68k*-*-uclinux*): New target. * gdb/gdbserver/linux-low.c (linux_create_inferior): Use vfork on mmuless systems. (linux_resume_one_process): Remove extraneous cast. (linux_read_offsets): New. (linux_target_op): Add linux_read_offsets on mmuless systems. * gdb/gdbserver/server.c (handle_query): Add qOffsets logic. * gdb/gdbserver/target.h (struct target_ops): Add read_offsets.
* * libiberty/configure.ac: Add cygpath for mingw hosts.Mark Mitchell2006-03-311-0/+7
| | | | | | * libiberty/configure: Rebuilt. * libiberty/Makefile.in: Add cygpath. * libiberty/cygpath.c: New.
* 2006-03-30 Paul Brook <paul@codesourcery.com>Paul Brook2006-03-301-0/+6
| | | | | | Backport form mainline. * gdb/testsuite/gdb.mi/mi-until.exp: kfail broken until command. * gdb/testsuite/gdb.mi/mi2-until.exp: Ditto.
* * gdb/m68k-tdep.c (M68K_FPREG_TYPE, M68K_LONG_DOUBLE_FORMAT,Nathan Sidwell2006-03-291-0/+8
| | | | | | | M68K_RETURN_FP0): New. Set for Coldfire. (m68k_register_type, m68k_register_to_value, m68k_svr4_extract_return_value, m68k_svr4_store_return_value, m68k_gdbarch_init): Use them.
* * gdb/ser-mingw.c (net_windows_state): Add mutex.Mark Mitchell2006-03-221-0/+10
| | | | | | | | | (net_windows_select_thread): Grab lock around access to read_event. (net_windows_wait_handle): Do not reset the read_event. (net_windows_open): Create a mutex. (net_windows_read_prim): New function. (_initialize_ser_windows): Use it.
* * libiberty/pex-common.c (pex_run): Close the write end of theMark Mitchell2006-03-211-0/+3
| | | | pipe after starting the child.
* * gdb/config/arm/armv7m.mt (TDEPFILES): Add prologue-value.o.Mark Mitchell2006-03-211-0/+4
|
* 2006-03-21 Paul Brook <paul@codesourcery.com>Paul Brook2006-03-211-0/+21
| | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> Jim Blandy <jimb@codesourcery.com> * gdb/Makefile.in: Add prologue_value.{c,h} * gdb/arm-tdep.c: Include prologue-value.h. (thumb_skip_prologue): Remove. (thumb_analyze_prologue): New function. (arm_skip_prologue): Use thumb_analyze_prologue. (thumb_scan_prologue): Ditto. * gdb/prologue-value.c: New file. * gdb/prologue-value.h: New file. * gdb/config/arm/embed.mt (TDEPFILES): Add prologue-value.o. * gdb/config/arm/linux.mt (TDEPFILES): Add prologue-value.o. * gdb/config/arm/nbsd.mt (TDEPFILES): Add prologue-value.o. * gdb/config/arm/wince.mt (TDEPFILES): Add prologue-value.o. * gdb/testsuite/gdb.arch/thumb-prologue.c: New file. * gdb/testsuite/gdb.arch/thumb-prologue.exp: New file.
* * configure.tgt (arm*-stellaris-*): Use armv7m configuration.Mark Mitchell2006-03-201-0/+26
| | | | | | | | | * config/arm/armv7m.mt: New file. * config/arm/tm-armv7m.h: Likewise. * arm-tdep.c (arm_register_name_strings): Use xPSR on ARM V7M. (arm_pc_is_thumb): ARM V7M is always Thumb. (set_disassembly_style): Use xPSR on ARM V7M. (arm_write_pc): Do not set T bit in CSPR on V7M.
* * gdb/config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.Mark Mitchell2006-03-171-0/+4
|
* Move ChangeLog entries to top-level ChangeLog.csl.Jim Blandy2006-03-172-4/+27
|
* gdb/ChangeLog:Jim Blandy2006-03-172-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-17 Jim Blandy <jimb@codesourcery.com> Add support for 'target remote |' on MinGW. * ser-mingw.c (struct pipe_state): New structure. (make_pipe_state, free_pipe_state, cleanup_pipe_state) (pipe_windows_open, pipe_windows_close, pipe_windows_read) (pipe_windows_write, pipe_wait_handle): New functions. (_initialize_ser_windows): Register a "pipe" interface based on them. include/ChangeLog: 2006-03-15 Jim Blandy <jimb@codesourcery.com> * libiberty.h (pex_write_input): New declaration. libiberty/ChangeLog: 2006-03-15 Jim Blandy <jimb@codesourcery.com> * pex-common.c (pex_write_input): New function. * pexecute.txh (pex_write_input): Document it. * pex-common.h (struct pex_funcs): New function ptr fdopenw. * pex-unix.c (pex_unix_fdopenw): New function. (funcs): List it as our fdopenw function. * pex-win32.c (pex_win32_fdopenw): New function. (funcs): List it as our fdopenw function. * pex-djgpp.c (funcs): Leave fdopenw null. * pex-msdos (funcs): Same. * functions.texi: Regenerated. 2006-03-12 Jim Blandy <jimb@red-bean.com> * pex-common.h (struct pex_obj): Doc fixes. 2006-03-11 Jim Blandy <jimb@red-bean.com> * functions.texi: Regenerate.