Age | Commit message (Collapse) | Author |
|
* 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().
|
|
Backport from mainline:
2006-06-24 Eli Zaretskii <eliz@gnu.org>
* defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]:
Define to `;'.
|
|
* gdb.base/cursal.exp: Add "" to gdb_load call.
|
|
* 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.
|
|
Backport from mainline:
* emacs_keymap.c: Add a MINGW32 hack.
* readline.c: Use _rl_bind_if_unbound to avoid macro bugs.
|
|
* remote-fileio.c (remote_fileio_func_rename): Reorder to process
input buffer before reading memory.
(remote_fileio_func_stat): Likewise.
|
|
* configure: Rebuild to correct problem in previous patch.
|
|
* configure: Regenerate.
* Makefile.in: (VERSUFFIX_s, BUGURL_s): New.
(GDB_FLAGS): Add -DVERSUFFIX and -DBUGURL.
* top.c (print_gdb_version): Print VERSUFFIX and BUGURL.
|
|
|
|
|
|
* lib/gdb.exp (gdb_load_cmd): Fix variable name typo
* config/unknown.exp: Check gdb_board_support before claiming it
is not supported.
|
|
|
|
gdb.base/recurse.exp: Revert my 2006-06-09 patch. Rely on test
harness to set number of hardware watchpoints.
|
|
typo.
(expat): Don't install. Don't build shared libraries.
* Makefile.in: Regenerated.
|
|
* lib/gdb.exp (gdb_load_cmd): New.
|
|
* m68k-tdep.c (m68k_frame_align): Say which archs need alignment.
gdb/testsuite/
* gdb.base/charset.exp: Use ${srcfile}.
|
|
reads to 8K.
|
|
* 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.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.
|
|
* 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.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.base/break.c: Add breakpoint 10a marker.
* gdb.base/break.exp: Check breakpoint on }
|
|
* m68k-tdep.c (m68k_frame_align): New.
(m68k_push_dummy_call): Don't align here.
(m68k_gdbarch_init): Set frame_align here.
|
|
irreversably destroying state.
|
|
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.
|
|
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.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.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.
|
|
|
|
(m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
conversion. Use M68K_NUM_REGS for number of regs.
|
|
* 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.
|
|
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.h (remote_fileio_reset): Prototype.
* gdb/remote.c (extended_remote_restart, remote_open_1): Call it.
|
|
* m68k-dis.c (m68k_scan_mask): Add missing return.
|
|
* 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.
|
|
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.
|
|
* arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
|
|
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.
|
|
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.
|
|
* 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.
|
|
include additional registers.
|
|
|
|
load-offsets".
(General Query Packets): Document qPartInfo.
|
|
* 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_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.
|
|
mapping symbols.
|
|
2006-03-09 Paul Brook <paul@codesourcery.com>
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
mapping symbols.
|
|
|
|
monitors.
(DEPRECATED_TM_FILE): Remove.
|
|
|