summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2008-06-25 Michael Snyder <msnyder@specifix.com>msnyder-reverse-20080609-branchcvs/msnyder-reverse-20080609-branchMichael Snyder2008-06-262-4/+10
| | | | | * gdbfreeplay-back.c (frame_find_request): Rewrite loop to avoid fencepost error on last frame.
* 2008-06-23 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-248-52/+68
| | | | | | | | | * gdbfreeplay.h: Replace all address values with unsigned long long. * gdbfreeplay-i386.c: Ditto. * gdbfreeplay-mips64.c: Ditto. * gdbfreeplay-back.c: Ditto. * remote-break.c: Ditto. * remote-break.h: Ditto.
* 2008-06-23 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-243-0/+121
| | | | | * configure.srv: Add configuration for mips64-linux. * gdbfreeplay-mips64.c: New file, back-end for mips64.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-232-3/+73
| | | | | | | | * gdbfreeplay-back.c (scan_gdbreplay_file): Add support for 'W' reply (exiting), but not for 'X' (terminated). (freeplay_find_event): Make sure we always advance by at least one frame, unles it's the first or last frame. (handle_special_case): Add support for 'S' and 'C' requests.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-222-7/+14
| | | | | * gdbfreeplay-back.c (handle_special_case): No need to re-compose a T packet (with doctored PC) on any stop signal except SIGTRAP.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-222-4/+16
| | | | | | | | | | Fix stepping/breakpoint off-by-one issues. * gdbfreeplay-back.c (freeplay_find_event): Fix off-by-one error on last_cached_frame. (freeplay_show_next_commands): Ditto. (handle_special_case): Ditto, plus don't pass breakpoint_p == TRUE to target_compose_T_packet if we're stopped at the end of the event cache.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-223-3/+8
| | | | | * gdbfreeplay-back.c (handle_special_case): Silence gcc warning. * gdbfreeplay-i386.c (target_compose_g_packet): Ditto.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-222-2/+52
| | | | | | | | Add monitor gdbreplay-next command. * gdbfreeplay-back.c (freeplay_show_next_commands): New function. Echo the next set of gdb commands, in the manner of gdbreplay. (handle_special_case): Handle monitor gdbreplay-next command. (fallbacks): Catch any unhandled qRcmd requests.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-222-16/+13
| | | | | | Add support for 'R' packet (restart). * gdbfreeplay-back.c (handle_special_case). Add support for 'R'. Remove support for "monitor gdbfreeplay-echo".
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-223-12/+106
| | | | | | | | | | | | Add support for 'O' packet output. * remote-breakpoint.h (PLAY_O_PACKETS): New enum const. * gdbfreeplay-back.c (StopFrame): Discard gpos, replace with Opos. (scan_gdbreplay_file): Record Opos for frame if 'O' packet found. (frame_replay_O_packets): New function. (freeplay_find_event): Call frame_replay_O_packets. (handle_special_case): Pass PLAY_O_PACKETS to freeplay_find_event. Add temporary support for "monitor gdbfreeplay-echo" command (just for testing).
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-213-70/+38
| | | | | * gdbfreeplay-back.c: Clean up round, comments, remove #if 0 etc. * gdbfreeplay-i386.c: Ditto.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-214-15/+20
| | | | | | | * gdbfreeplay-i386.c (target_pc_from_g): Accept a char * instead of a FILE *. * gdbfreeplay.h (target_pc_from_g): Change prototype. * gdbfreeplay-back.c (scan_gdbreplay_file): Change call.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-214-12/+151
| | | | | | | | | * gdbfreeplay-i386.c (target_compose_T_packet): Add default return. (target_compose_g_packet): New function. * gdbfreeplay.h (target_compose_g_packet): Export. * gdbfreeplay-back.c (handle_special_case): Give correct args for target_compose_T_packet. (fallbacks): Add handling for 'G', 'M', 'X', and 'g'.
* 2008-06-21 Michael Snyder <msnyder@specifix.com>Michael Snyder2008-06-2111-2/+1839
| | | | | | | | | | | | | * gdbfreeplay-front.c: New file. Extended gdbreplay. * gdbfreeplay-back.c: New file. * gdbfreeplay-i386.c: New file. * gdbfreeplay.h: New file. * remote-breakpoint.c: New file. * remote-breakpoint.h: New file. * Makefile.in: Add rules for gdb-freeplay. * configure.srv: Ditto. * configure.ac: Ditto. * configure: Regenerate.
* 2007-04-18 Daniel Jacobowitz <dan@codesourcery.com>Michael Snyder2008-06-102-1/+4
| | | | | * infcmd.c (finish_backwards): Correct check for whether to back up after finishing.
* 2007-04-18 Daniel Jacobowitz <dan@codesourcery.com>Michael Snyder2008-06-102-0/+103
| | | | | | | * arm-tdep.c (arm_scan_epilogue): New. (arm_make_prologue_cache): Use it. (arm_epilogue_unwind_sniffer): New. (arm_gdbarch_init): Register it.
* Reverse execution branchMichael Snyder2008-06-10316-78102/+617
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-09 Michael Snyder <msnyder@specifix.com> 2006-05-02 Michael Snyder <msnyder@redhat.com> * Target interface for reverse execution. * target.h (enum target_waitkind): Add new wait event, TARGET_WAITKIND_NO_HISTORY. (enum exec_direction_kind): New enum. (struct target_ops): New methods to_set_execdir, to_get_execdir. * target.c (target_get_execdir): New generic method. (target_set_execdir): Ditto. * remote.c (remote_get_execdir, remote_set_execdir): New methods. (remote_vcont_resume): Jump out if attempting reverse execution. (remote_resume): Check for reverse exec direction, and send appropriate command to target. (remote_wait): Check target response for NO_HISTORY status. Also check for empty reply (target doesn't understand "bs" or "bc). (_initialize_remote): Add new methods to remote target vector. * breakpoint.h (breakpoint_silence): Export. * breakpoint.c (breakpoint_silence): New function. * infcmd.c (finish_command): Check for reverse exec direction. (finish_backward): New function, handle finish cmd in reverse. * infrun.c (enum inferior_stop_reason): Add NO_HISTORY reason. (handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY. Handle stepping over a function call in reverse. Handle stepping thru a line range in reverse. Handle setting a step-resume breakpoint in reverse. Handle stepping into a function in reverse. Handle stepping between line ranges in reverse. (print_stop_reason): Print reason for NO_HISTORY. 2006-03-31 Michael Snyder <msnyder@redhat.com> User interface for reverse execution. * Makefile.in (reverse.c): New file. * reverse.c: New file. User interface for reverse execution.
* daily updatemsnyder-reverse-20080609-branchpointAlan Modra2008-06-101-1/+1
|
* *** empty log message ***gdbadmin2008-06-101-1/+1
|
* 2008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>Michael Snyder2008-06-092-1/+5
| | | | * sis.c: Correct spelling error.
* * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.Kaz Kojima2008-06-092-1/+5
|
* * remote.c (remote_wait): Include beginning of malformed packetDoug Evans2008-06-092-2/+9
| | | | in error output.
* gdbTom Tromey2008-06-095-7/+55
| | | | | | | | | | | * completer.c (complete_line): Don't special-case expression_completer. (expression_completer): Only pass last word to location_completer. * c-exp.y (yylex): Check 'token', not 'operator'. gdb/testsuite * gdb.base/completion.exp: New tests for field name completion with spaces, and field name completion with '->'.
* 2008-06-09 Paul Brook <paul@codesourcery.com>Paul Brook2008-06-092-0/+7
| | | | | | bfd/ * elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared libraries.
* * configure.ac (build_warnings): Add -Wno-format for mingw.Daniel Jacobowitz2008-06-093-0/+17
| | | | * configure: Regenerated.
* 2008-06-03 Christophe Lyon <christophe.lyon@st.com>Daniel Jacobowitz2008-06-092-3/+32
| | | | | | | | | | bfd/ * elf32-arm.c (arm_stub_is_thumb): Define. (elf32_arm_final_link_relocate): Handle near mode switching stubs. ld/testsuite/ * ld-arm/farcall-thumb-thumb-m.d: Fix branch type. * ld-arm/farcall-thumb-arm.d: Likewise.
* * common.h: Change registry@caldera.com to registry@sco.com.Joseph Myers2008-06-092-2/+6
|
* daily updateAlan Modra2008-06-091-1/+1
|
* *** empty log message ***gdbadmin2008-06-091-1/+1
|
* * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.Joseph Myers2008-06-086-8/+38
| | | | | | | | | * Makefile.tpl (EXTRA_BUILD_FLAGS): Define. (all prefix="build-"): Pass them to build-system sub-makes. * Makefile.in: Regenerate. config: * config/mh-mingw (LDFLAGS): Define.
* *** empty log message ***gdbadmin2008-06-081-1/+1
|
* daily updateAlan Modra2008-06-081-1/+1
|
* * NEWS: Make indentation consistent. Move exec tracing entry outDaniel Jacobowitz2008-06-072-8/+13
| | | | of remote packet list.
* * elf32-spu.c (spu_elf_auto_overlay): Add valid area below spAlan Modra2008-06-072-1/+6
| | | | to stack calculation.
* sim:Joseph Myers2008-06-0752-52/+3348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * cris/configure: Regenerate. sim/common: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * aclocal.m4: Include ../../config/acx.m4. * common.m4: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * Make-common.in (LIB_OBJS): Add version.o. (version.c, version.o): New rules. * run.c: Include version.h. (usage): Add help parameter. Print output either to stdout or stderr depending on that parameter. (print_version): New. (main): Check for --help and --version. * run-sim.h (sim_target_display_usage): Add help parameter. * version.h: New. sim/arm: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. * wrapper.c (sim_target_display_usage): Add help parameter. sim/cr16: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/d10v: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/erc32: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/frv: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/h8300: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/iq2000: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m32c: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m32r: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m68hc11: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mcore: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mips: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mn10300: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/ppc: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerated. * Makefile.in (LIB_OBJ): Add version.o. (version.c, version.o): New rules. * psim.c (psim_usage): Add help parameter. Print the bug URL. Exit with code 0 for help. (psim_options): Update calls to psim_usage. Handle --help and --version. * psim.h (psim_usage): Update prototype. * main.c (main): Update psim_usage call. sim/sh: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/sh64: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/v850: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate.
* daily updateAlan Modra2008-06-071-1/+1
|
* *** empty log message ***gdbadmin2008-06-071-1/+1
|
* 2008-06-06 Paul Brook <paul@codesourcery.com>Paul Brook2008-06-062-0/+16
| | | | | bfd/ * elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input.
* * Makefile.in (gdbreplay.o): New rule.Daniel Jacobowitz2008-06-062-0/+5
|
* gdbTom Tromey2008-06-0618-30/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * value.h (evaluate_subexpression_type, extract_field_op): Declare. * printcmd.c (_initialize_printcmd): Use expression_completer for 'p', 'inspect', 'call'. * parser-defs.h (parse_field_expression): Declare. * parse.c: Include exceptions.h. (in_parse_field, expout_last_struct): New globals. (mark_struct_expression): New function. (prefixify_expression): Return int. (prefixify_subexp): Return int. Use expout_last_struct. (parse_exp_1): Update. (parse_exp_in_context): Add 'out_subexp' argument. Handle in_parse_field. (parse_field_expression): New function. * expression.h (parse_field_expression): Declare. (in_parse_field): Likewise. * eval.c (evaluate_subexpression_type): New function. (extract_field_op): Likewise. * completer.h (expression_completer): Declare. * completer.c (expression_completer): New function. (count_struct_fields, add_struct_fields): New functions. * c-exp.y (yyparse): Redefine. (COMPLETE): New token. (exp): New productions. (saw_name_at_eof, last_was_structop): New globals. (yylex): Return COMPLETE when needed. Recognize in_parse_field. (c_parse): New function. * breakpoint.c (_initialize_breakpoint): Use expression_completer for watch, awatch, and rwatch. * Makefile.in (parse.o): Depend on exceptions_h. gdb/testsuite * gdb.base/break1.c (struct some_struct): New struct. (values): New global. * gdb.base/completion.exp: Add field name completion test. gdb/doc * gdb.texinfo (Completion): Add field name example.
* * gdbreplay.c (gdbreplay_version): Say gdbreplay in versionJoseph Myers2008-06-062-2/+7
| | | | message, not gdbserver.
* Oops, missed some warnings.DJ Delorie2008-06-065-1/+9
| | | | * mem.h (m32c_sim_restore_console): New.
* * Makefile.in: Add Timer A support.DJ Delorie2008-06-0618-67/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cpu.h (m32c_opcode_pc): New. (in_gdb): New. * gdb-if.c (sim_open): Add Timer A support. Support unbuffered console. * int.c (trigger_interrupt): Manage the U flag properly. (trigger_based_interrupt): Likewise. (trigger_fixed_interrupt): New. (trigger_peripheral_interrupt): New. * int.h (trigger_peripheral_interrupt): New. * m32c.opc: Use m32c_opcode_pc throughout, as needed. (decode_m32c): Detect jump-to-zero with traceback. (BRK): Try to do the right thing, keeping track of whether we're in gdb or not, and if the user has provided a handler or not. (GBRK): Alternate break opcode for gdb, in case the user's app needs to use BRK for itself. (BRK2): Implement. * main.c: Add Timer A support. Support TCP-based console. (setup_tcp_console): New. (main): Add Timer A support. Support TCP-based console. * mem.c: Add Timer A support. Support TCP-based console. (mem_ptr): Enhance NULL pointer detection. (stdin_ready): New. (m32c_sim_restore_console): New. (mem_get_byte): Check for console input ready. (update_timer_a): New. * r8c.opc (SSTR): Use r0l, not r0h. (REIT): Fix return frame logic. * reg.c (print_flags): New. (trace_register_changes): Use it. (m32c_dump_all_registers): New. * timer_a.h: New. * load.c: Fix indentation. * trace.c: Fix indentation. * trace.h: Fix indentation.
* 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2008-06-063-0/+22
| | | | | | * gdb.cp/call-c.exp: Test for incorrect handling of reference to pointer. * gdb.cp/call-c.cc: Likewise.
* 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2008-06-062-1/+8
| | | | | | PR gdb/1147 * gdb/valopts.c (find_overload_match): Handle references to pointers.
* 2008-06-05 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam2008-06-062-3/+12
| | | | | * gdb.texinfo (GDB/MI Program Context): Added example to -exec-arguments
* ada_value_assign: Correct big-endian case to take into account the bitsizePaul N. Hilfinger2008-06-062-3/+10
| | | | of the 'from' operand.
* include/Alan Modra2008-06-064-38/+43
| | | | | | | | | | | | | | | | * bfdlink.h (struct bfd_link_info): Add "path_separator". bfd/ * elf32-spu.c (spu_elf_auto_overlay): Relax requirement that file names be unique. Specify archive:path in overlay script. ld/ * ldlang.c (name_match): New function. (unique_section_p, walk_wild_consider_section): Use it here. (walk_wild_section_general): And here. (archive_path): New function. (walk_wild): Match archive:path filespecs. (open_input_bfds): Don't load archive:path files. * emultempl/spuelf.em (choose_target): Set path_separator. * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
* * annotate.h (annotate_thread_changed): Declare.Pedro Alves2008-06-062-0/+5
|
* PR driver/35916Danny Smith2008-06-062-0/+6
| | | | * mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.