summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* * gdbmi.texinfo: Document selected-frame-changed, register-update,Keith Seitz2002-08-092-0/+26
| | | | and context-changed events.
* * mi-main.c (mi_cmd_data_list_register_names): Add "-numbers"Keith Seitz2002-08-092-4/+59
| | | | option.
* * mi-interp.c (mi_event_handlers): Add context_changed eventKeith Seitz2002-08-094-21/+40
| | | | | | | | | | handler. (mi_command_loop): Remove big block of code repeated in mi_interpreter_resume. I don't think this is needed. (mi_insert_notify_hooks): Remove context_hook. (mi_remove_notify_hooks): Likewise. * mi-events.c (mi_context_changed): New function. * mi.h (mi_context_changed): Add declaration.
* * infrun.c (handle_inferior_event): Add context_changed_event.Keith Seitz2002-08-095-15/+45
| | | | | | | * gdb-events.sh (context_hook): Removed comment. (context_changed): Add new event. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
* Merge with kseitz_interps-20020809-merge of CVS head.Keith Seitz2002-08-09310-23736/+27967
|
* * mi-cli.exp: Fix typo in result for "-interpreter-exec console list"Keith Seitz2002-07-252-14/+49
| | | | | | | test. Don't break at main: use mi_run_to_main instead. Add tests to break in callee4 and navigate the stack. Add test to set a register and test for update event.
* * mi-interp.c (mi_event_handlers): Add selected_frame_level_changedKeith Seitz2002-07-255-101/+36
| | | | | | | | | | | | | | | | | | handler. (mi_insert_notify_hooks): Remove breakpoint hooks and frame changed hook. (mi_remove_notify_hooks): Likewise. * mi-events.c (mi_selected_frame_level_changed): New function. (mi_interp_frame_changed_hook): Remove. (mi_interp_create_breakpoint_hook): Remove. (mi_interp_modify_breakpoint_hook): Remove. (mi_interp_delete_breakpoint_hook): Remove. * mi.h (mi_selected_frame_level_changed): Add declaration. (mi_interp_create_breakpoint_hook): Remove declaration. (mi_interp_modify_breakpoint_hook): Remove declaration. (mi_interp_delete_breakpoint_hook): Remove declaration. * mi-cmd-stack.c (mi_cmd_stack_select_frame): If the stack level changes, issue a selected_frame_level_changed event.
* * stack.c (frame_command): If the frame level changed, issueKeith Seitz2002-07-256-6/+65
| | | | | | | | | | | | | | | | a selected_frame_level_changed event. (up_command): Add selected_frame_level_changed event; (down_command): Likewise. * gdb-events.sh: Add selected_frame_level_changed event. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate. * stack.c (print_frame_info_base): Always set current_source_symtab and current_source_line. * cli/cli-interp.c (cli_interpreter_exec): Pass from_tty=1 to gdb_execute_command.
* * mi-cli.exp: Use mi_run_to_main to get to main. Don't use "run".Keith Seitz2002-07-222-5/+8
| | | | Refine result string for "-interpreter-exec console bougs" test.
* * lib/mi-support.exp (mi_delete_breakpoints): Allow for breakpointKeith Seitz2002-07-222-4/+11
| | | | | | delete events in output of -break-delete. (mi_run_to_main): Don't assume that breakpoint at main is first breakpoint installed.
* * mi-events.c (mi_register_update): New function.Keith Seitz2002-07-224-1/+16
| | | | | | * mi-interp.c (mi_event_handlers): Add mi_register_update event handler. * mi.h (mi_register_update): Add declaration.
* * gdb-events.sh (register_changed_hook): Remove comment.Keith Seitz2002-07-223-1/+36
| | | | | | (register_update): New event. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
* * valops.c (value_assign): Add register_update event notificationKeith Seitz2002-07-221-1/+7
| | | | for lval_register and lval_reg_frame_relative.
* Correct date of checkin for valops.cKeith Seitz2002-07-221-1/+1
|
* * gdb-events.sh (register_changed_hook): Remove comment.Keith Seitz2002-07-221-0/+12
| | | | | | (register_update): New event. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
* Merge w/trunk (kseitz_interps-20020722-merge).Keith Seitz2002-07-22393-57865/+55746
|
* * mi-cmds.h (mi_execute_command): Add "extern".Keith Seitz2002-06-254-36/+43
| | | | | | | | | | | (mi_error_last_message): New function. * mi-main.c (mi_error_last_message): New function. * mi-interp.c (mi_event_handlers): New static global. (mi_interpreter_init): Don't install mi event handlers here. (mi_interpreter_resume): Install mi event handlers here. (mi_interpreter_exec): Don't actually switch interpreters. Update error messages. exec_proc will return <0 if an error occurs.
* * cli/cli-interp.c (cli_interpreter_exec): Set the stream for theKeith Seitz2002-06-251-1/+14
| | | | | | cli's uiout to gdb_stdout, which has probably changed from it's initialization. Restore the original stream when we're done executing in the interpreter.
* * mi-cli.exp: New file.Keith Seitz2002-06-252-0/+106
|
* * lib/mi-support.exp (mi_gdb_test): Move expected pattern higherKeith Seitz2002-06-252-6/+11
| | | | in the list of expect statements.
* * Makefile.in (interps.o): Add gdb-events.h as a dependency.Keith Seitz2002-06-248-3/+65
| | | | | | | | | | | | | | | | | | | * gdb-events.sh (clear_gdb_event_hooks): New function. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate. * cli-out.h (cli_out_set_stream): New function. * cli-out.c (cli_out_set_stream): New function. * interps.c: Include gdb-events.h. (clear_interpreter_hooks): Also clear out event handlers. (gdb_set_interpreter): Clear out any hooks/event handlers that may have been installed by old interpreter. * cli/cli-interp.c (cli_interpreter_exec): Set the stream for the cli's uiout to gdb_stdout, which has probably changed from it's initialization. Restore the original stream when we're done executing in the interpreter.
* Merge with mainline, kseitz_interps-20020619-merge.Keith Seitz2002-06-20606-31933/+62738
|
* * breakpoint.c (internal_breakpoint_number): Make static global.Keith Seitz2002-06-194-17/+44
| | | | | | | | | | | | | | | | | | | | | | (condition_command): Add modify breakpoint event notification. (commands_command): Likewise. (create_internal_breakpoint): internal_breakpoint_number is now global. Add create breakpoint event notification. (create_fork_vfork_event_catchpoint): Likewise. (create_exec_event_catchpoint): Likewise. (mention): Remove FIXME and create breakpoint event. (create_breakpoints): Add create breakpoint event notification. (watch_command_1): Likewise. (create_exception_catchpoint): Likewise. (set_breakpoint_sal): Likewise. (set_ignore_count): Add modify breakopint event notification. * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will now be mi version 2. * cli/cli-interp.c (cli_uiout): Make static. (cli_interp): Make static. (cli_interpreter_exec): Use cli_uiout instead of uiout.
* * mi-cmd-break.c (breakpoint_notify): Only query the breakpointKeith Seitz2002-06-199-74/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for user breakpoints. (mi_cmd_break_insert): Only reset event handlers for MI0 and MI1 interpreters. (mi_cmd_break_watch): Reset uiout output to clear watchpoint query. This is only used for MI0 and MI1. * mi-console.h (mi_console_file_new): Add "quote" parameter. * mi_console.c (struct mi_console_file): Add "quote". (mi_console_file_new): Add "quote" parameter. (mi_console_raw_packet): Use the quote character specified in mi_console_file_new, instead of assuming it is '"'. * mi-interp.c (mi_event_channel): New channel for event notifications. (mi_interpreter_init): Make static. Set event handlers. (mi_interpreter_resume): Make static. Deal with MI version bump. (mi_interpreter_suspend): Make static. (mi_interpreter_delete): Ditto. (mi_do_one_event): Ditto. (mi_cmd_exec_continuation): Ditto. (mi_interp_query_hook): Ditto. (mi_interp_read_one_line_hook): Ditto. (_initialize_mi_interp): Create explicit mi1 interp. * mi-events.c (notify_event): New helper function. (mi_create_breakpoint, mi_modify_breakpoint, mi_delete_breakpoint, mi_create_tracepoint, mi_modify_tracepoint, mi_delete_tracepoint, mi_architecture_changed): New functions. * mi.h: Add declarations for mi_create_breakpoint, mi_modify_breakpoint, mi_delete_breakpoint, mi_create_tracepoint, mi_modify_tracepoint, mi_delete_tracepoint, mi_architecture_changed, mi_stdout, mi_stderr, mi_stdtarg, mi_stdlog, and mi_eventchannel. * mi-main.c (captured_mi_execute_command): Deal with mi version bump. (mi_load_progress): Ditto. * gdbmi.texinfo: Expand notify-async-output to include GDB events. Update all examples to show breakpoint events and remove redundant breakpoint info on "-break-insert" and "-break-watch". The event now supplies everything that is needed.
* * lib/mi-support.exp (mi_run_to_main): Use MIFLAGS to figureKeith Seitz2002-06-192-3/+19
| | | | | out what version of MI is running. Use this to determine the proper output of setting a breakpoint.
* * mi1-basics.exp, mi1-break,.exp mi1-console.exp, mi1-disassemble.exp,Keith Seitz2002-06-1933-50/+4777
| | | | | | | | | | | | mi1-eval.exp, mi1-hack-cli.exp, mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp, mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp, mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp, mi1-var-cmd.exp, mi1-var-display.exp mi1-watch.exp: New files. * mi-break.exp, mi-console.exp, mi-disassemble.exp, mi-eval.exp, mi-return.exp, mi-simplerun.exp, mi-stack.exp, mi-stepi.exp, mi-until.exp, mi-var-block.exp, mi-var-child.exp, mi-var-cmd.exp, mi-var-display.exp mi-watch.exp: Update to conform to MI2 notify-async-output (events).
* Add files mentioned in yesterday's changelog. Oops.Keith Seitz2002-05-296-0/+1538
|
* Initial check-in of interpreter support from Apple. (Slightly massaged andKeith Seitz2002-05-28725-116029/+268
| | | | modified by me.)
* 2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>kseitz_interps-20020528-branchpointMarek Michalkiewicz2002-05-282-0/+8
| | | | | * configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj for AVR.
* * ppcnbsd-nat.c: Rewrite.Jason Thorpe2002-05-286-106/+346
| | | | | | | | | * ppcnbsd-tdep.c: New file. * ppcnbsd-tdep.h: New file. * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, solib.o, and solib-svr4.o. * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, nbsd-tdep.o, and corelow.o.
* Add DLX targetNick Clifton2002-05-282-2/+6
|
* 2002-05-28 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-05-283-4/+23
| | | | | | | | | | | * interp.c (sim_create_inferior): Add comment. From Alan Matsuoka <alanm@redhat.com>: From 2001-04-27 Jason Eckhardt <jle@cygnus.com>: * simops.c (OP_4400): Output "mvf0f" instead of "mf0f". (OP_4401): Output "mvf0t" instead of "mf0t". (OP_460B): Do not output a flag register. (OP_4609): Do not output a flag register.
* * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to useAndrew Cagney2002-05-282-15/+36
| | | | | `tr' and `sed'. Mention that `broken' targets are not expected to build.
* Add DLX targetNick Clifton2002-05-2829-22/+1718
|
* daily updateAlan Modra2002-05-281-1/+1
|
* *** empty log message ***gdbadmin2002-05-281-1/+1
|
* 2002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2002-05-273-0/+171
| | | | | | | From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/m-data.cc: New file. * gdb.c++/m-data.exp: New file.
* 2002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2002-05-273-0/+216
| | | | | | | From Benjamin Kosnik <bkoz@redhat.com> * gdb.c++/try_catch.cc: New file. * gdb.c++/try_catch.exp: New file.
* 2002-05-27 Michael Chastain <mec@shout.net>Michael Chastain2002-05-272-5/+9
| | | | * gdb.c++/local.exp: Accept more nested types in output.
* Only perform access checks if 'check' is set.Nick Clifton2002-05-277-18/+25
| | | | | Report unknown machine numbers. Formatting tidy ups.
* Fixed date in my last ChangeLog entryMichal Ludvig2002-05-271-1/+1
|
* 2002-05-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2002-05-272-22/+12
| | | | | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. Let PC point right after the prologue before looking up symbols.
* Thumb BL instruction: Do not set LR to pc + 2, it has already been advanced.Nick Clifton2002-05-272-4/+11
|
* 2002-05-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-05-274-1/+48
| | | | | | | | | | | | | * i386-tdep.c (i386_register_virtual_type): Return builtin_type_vec128i for SSE registers. * gdbtypes.h (builtin_type_vec128i): Declare. * gdbtypes.c (build_builtin_type_vec128i): New function. (builtin_type_v2_double, builtin_type_v4_int64): New types. (builtin_type_vec128i): New type for SSE2 128-bit registers. (build_gdbtypes): Initialize new builtin vector types. (_initialize_gdbtypes): Register new vector types with gdbarch.
* 2002-05-26 Michael Chastain <mec@shout.net>Michael Chastain2002-05-272-2/+6
| | | | * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
* * MAINTAINERS: ns32k is not longer an obsolete candidate,Jason Thorpe2002-05-273-9/+11
| | | | | | | since it has been multi-arch'd. * NEWS: Note that ns32k-*-* is now partial multi-arch. Move Alpha and VAX multi-arch news entries to same section as other multi-arch news.
* * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,Jason Thorpe2002-05-278-249/+425
| | | | | | | | | | | | | | | | | | target.s, arch-utils.h, ns32k-tdep.h. Make many functions static. Rename some register numbers to put them in ns32k-tdep private namespace. (ns32k_get_saved_register, ns32k_gdbarch_init_32082, ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New functions. (_initialize_ns32k_tdep): Use gdbarch_register. * ns32k-tdep.h: New file. * ns32knbsd-tdep.c: New file. * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, REGISTER_BYTES, REGISTER_BYTE): Remove. * config/ns32k/tm-ns32k.h: New file. * config/ns32k/tm-umax.h: Remove.
* *** empty log message ***gdbadmin2002-05-271-1/+1
|
* daily updateAlan Modra2002-05-271-1/+1
|
* * ns32k-tdep.c (ns32k_saved_pc_after_call,Jason Thorpe2002-05-263-30/+67
| | | | | | | | | | | | | ns32k_store_struct_return, ns32k_extract_return_value, ns32k_store_return_value, ns32k_extract_struct_value_address): New functions. * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as ns32k_saved_pc_after_call. (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. (STORE_RETURN_VALUE): Define as ns32k_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Define as ns32k_extract_struct_value_address.