| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
(REGISTER_BYTES_FP): Use it.
* gdb/configure.tgt (m68k-*-uclinux*): target is linux.
|
| |
|
|
|
|
| |
register packet if we've not set the expected value.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: Rebuilt.
* libiberty/Makefile.in: Add cygpath.
* libiberty/cygpath.c: New.
|
|
|
|
|
|
| |
Backport form mainline.
* gdb/testsuite/gdb.mi/mi-until.exp: kfail broken until command.
* gdb/testsuite/gdb.mi/mi2-until.exp: Ditto.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
pipe after starting the child.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|