summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdb/gdbserver/gdb-csl-20060226-branchcvs/gdb-csl-20060226-branchRichard Sandiford2006-08-022-1/+28
| | | | | | | | | * server.c (terminal_fd): New variable. (old_foreground_pgrp): Likewise. (restore_old_foreground_pgrp): New function. (start_inferior): Record the terminal file descriptor in terminal_fd and its original foreground group in old_foreground_pgrp. Register restore_old_foreground_pgrp with atexit().
* gdb/Kazu Hirata2006-08-012-0/+12
| | | | | | | Backport from mainline: 2006-06-24 Eli Zaretskii <eliz@gnu.org> * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
* gdb/testsuite/gdb-csl-sourcerygxx-4_1-17gdb-csl-20060226-branch-local-2Nathan Sidwell2006-07-272-1/+6
| | | | * gdb.base/cursal.exp: Add "" to gdb_load call.
* gdb/testsuite/Nathan Sidwell2006-07-244-5/+15
| | | | | | | * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. * gdb.base/cursal.exp: Revert my 2006-06-09 change. Use gdb_file_cmd followed by gdb_load. * gdb.base/dbx.exp: Revert my 2006-06-09 change.
* readline/Kazu Hirata2006-07-233-13/+15
| | | | | | Backport from mainline: * emacs_keymap.c: Add a MINGW32 hack. * readline.c: Use _rl_bind_if_unbound to avoid macro bugs.
* gdb/Nathan Sidwell2006-07-182-25/+37
| | | | | | * remote-fileio.c (remote_fileio_func_rename): Reorder to process input buffer before reading memory. (remote_fileio_func_stat): Likewise.
* gdb/Nathan Sidwell2006-07-162-438/+3348
| | | | * configure: Rebuild to correct problem in previous patch.
* * configure.ac: Accept --with-versuffix and --with-bugurl.Vladimir Prus2006-07-155-2926/+327
| | | | | | | * configure: Regenerate. * Makefile.in: (VERSUFFIX_s, BUGURL_s): New. (GDB_FLAGS): Add -DVERSUFFIX and -DBUGURL. * top.c (print_gdb_version): Print VERSUFFIX and BUGURL.
* Backport get_remote_packet_size from HEAD.Daniel Jacobowitz2006-07-042-115/+196
|
* Backport rs->buf patch from HEAD.Daniel Jacobowitz2006-07-034-245/+353
|
* gdb/testsuite/gdb-csl-sourcerygxx-4_1-14gdb-csl-sourcerygxx-4_1-13Nathan Sidwell2006-06-233-5/+15
| | | | | | * lib/gdb.exp (gdb_load_cmd): Fix variable name typo * config/unknown.exp: Check gdb_board_support before claiming it is not supported.
* Merge testsuite ERROR fixes from HEAD.gdb-csl-sourcerygxx-4_1-12Daniel Jacobowitz2006-06-225-44/+35
|
* * gdb/testsuite/gdb-csl-sourcerygxx-3_4_4-21Nathan Sidwell2006-06-192-32/+29
| | | | | gdb.base/recurse.exp: Revert my 2006-06-09 patch. Rely on test harness to set number of hardware watchpoints.
* * Makefile.def (fixincludes): Correct extra_configure_flagsDaniel Jacobowitz2006-06-153-11/+13
| | | | | | typo. (expat): Don't install. Don't build shared libraries. * Makefile.in: Regenerated.
* gdb/testsuite/gdb-csl-sourcerygxx-4_1-9Nathan Sidwell2006-06-132-0/+49
| | | | * lib/gdb.exp (gdb_load_cmd): New.
* gdb/Nathan Sidwell2006-06-123-2/+15
| | | | | | | * m68k-tdep.c (m68k_frame_align): Say which archs need alignment. gdb/testsuite/ * gdb.base/charset.exp: Use ${srcfile}.
* * remote-fileio.c (remote_fileio_func_read): Limit consolegdb-csl-sourcerygxx-4_1-8Daniel Jacobowitz2006-06-102-1/+17
| | | | reads to 8K.
* gdb/testsuite/Nathan Sidwell2006-06-093-26/+39
| | | | | | * 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-098-16/+39
| | | | | | | | | | | | | * 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-095-21/+50
| | | | | | | | | | | * 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-096-9/+18
| | | | | | | | * 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-093-1/+16
| | | | | * gdb.base/break.c: Add breakpoint 10a marker. * gdb.base/break.exp: Check breakpoint on }
* gdb/Nathan Sidwell2006-06-092-3/+18
| | | | | | * 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 beforeNathan Sidwell2006-06-082-4/+7
| | | | irreversably destroying state.
* * gdb/m68k-tdep.c (m68k_svr4_extract_return_value): UseNathan Sidwell2006-06-083-79/+86
| | | | | | | | | | | | 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-053-34/+30
| | | | | | | | 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-052-76/+53
| | | | | | | | | * 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-054-7/+62
| | | | | | | * 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.
* fix typoNathan Sidwell2006-06-051-1/+1
|
* missing changelogNathan Sidwell2006-06-051-0/+13
|
* * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Remove.Nathan Sidwell2006-06-053-15/+27
| | | | | | | | | | | | | | (REGISTER_BYTES_FP): Use tdep->fpreg_type. (m68k_register_bytes_ok): adjust. (m68k_register_type): Use tdep->fpreg_type. (m68k_register_to_value, m68k_value_to_register): Likewise. (m68k_svr4_extract_return_value): Use tdep->float_return & tdep->fpreg_type. (m68k_svr4_store_return_value): Likewise. (m68k_gdbarch_init): Set tdep->float_return & tdep->fpreg_type. * gdb/m68k-tdep.h (struct gdbarch_tdep): Add floar_return & fpreg_type fields. * gdb/m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use tdep->fpreg_type.
* * gdb/m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.Nathan Sidwell2006-06-052-1/+29
| | | | | (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-056-24/+141
| | | | | | | | | | | | | | | | | * 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-012-17/+30
| | | | | | | | | 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-244-0/+32
| | | | | * gdb/remote-fileio.h (remote_fileio_reset): Prototype. * gdb/remote.c (extended_remote_restart, remote_open_1): Call it.
* opcodes/Richard Sandiford2006-05-222-0/+6
| | | | * 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-084-37/+83
| | | | | | | | | | | | | | * 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-0321-37/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-032-2/+6
| | | | * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
* 2006-05-03 Paul Brook <paul@codesourcery.com>Paul Brook2006-05-0310-41/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-034-9/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-035-16/+118
| | | | | | | | | | | | | | | | | | * 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-292-1/+6
| | | | include additional registers.
* * gdb/gdbserver/configure.srv (m68k*-*-linux*): Use reg-cf.o.Richard Sandiford2006-04-282-1/+6
|
* * 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-192-0/+73
| | | | | load-offsets". (General Query Packets): Document qPartInfo.
* Issue #655Mark Mitchell2006-04-192-0/+17
| | | | | | | * 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-122-8/+25
| | | | | | | | | | 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-112-3/+8
| | | | mapping symbols.
* Backport:Daniel Jacobowitz2006-04-112-2/+12
| | | | | | 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-0351-487/+8160
|