| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
(avr_store_return_value): Remove function.
(avr_extract_struct_value_address): Remove function.
(avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
|
|
|
|
|
|
|
|
|
|
| |
* rs6000-tdep.c: Include "gdb_assert.h".
(registers_e500): Add "acc" and "spefscr".
(PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
(rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
really is "r0".
(registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk.h: Add ifdef wrappers.
(gdbtk_init): Declare.
(gdbtk_source_start_file): Declare.
* generic/gdbtk.c (gdbtk_init): Export.
Reomve init_ui_hook stuff.
Do not add hooks here anymore (moved into interps).
Do not muck with gdbk_stdout et al (moved into interps).
(gdbtk_source_start_file): Code ripped out of gdbtk_init
which deals with sourcing the main startup file.
(gdbtk_init_1): Hack: New function.
(argv0): Hack: New static global.
(tk_init): Moved to gdbtk-interps.c.
(gdbtk_resume): Likewise.
(gdbtk_suspend): Likewise.
(gdbtk_prompt_p): Likewise.
(gdbtk_exec): Likewise.
(gdbtk_command_loop): Likewise.
(_initialize_gdbtk): Move interpreter stuff to gdbtk-interps.c.
Hack: Add new init_ui_hook.
* generic/gdbtk-interps.c: New file.
|
| |
|
| |
|
|
|
|
| |
* symtab.h (struct objfile): Add opaque declaration.
|
|
|
|
|
|
|
|
| |
From Jim Ingham <jingham@apple.com>:
* dbxread.c (process_one_symbol): Use last_function_start rather
than function_start_offset to find the real beginning of the
current function. The latter is just the text section offset on
some systems, the former is always the real function start.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(_initialize_gdbtk): Move interp_add from here.
(gdb_tk): Call interp_add here. Pass correct uiout to interp_new.
|
|
|
|
|
|
|
| |
* configure.in (Makefile): Use the test ${target} != ${host},
instead of the absence of the "nm.h" file, to determine of the
configuration non-native.
* configure: Regenerate.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* gdb.base/exprs.exp: Remove i960 remnants.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
|
|
|
|
| |
* generic/gdbtk-main.c (main): Correctly initialize args.interpreter_p.
|
| |
|
|
|
|
|
| |
* library/globalpref.itb (GlobalPref::_change_icons): Fix
curselection call for combobox.
|
|
|
|
|
| |
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
pEe->D::vg()" from XFAIL to KFAIL.
|
| |
|
|
|
|
|
|
|
|
| |
From Brian Ford <ford@vss.fsi.com>
* cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
conditionalize tui_active test.
(lookup_cmd_1): Ditto.
|
|
|
|
|
|
| |
* maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
available.
* config.in, configure: regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* main.c (tui_version): Delete variable.
(captured_main): When --tui, set interpreter_p to "tui" instead of
enabling tui_version.
* printcmd.c (display_command) [TUI]: Test tui_active instead of
tui_version.
* cli/cli-decode.c (lookup_cmd_composition): Ditto.
* cli/cli-cmds.c (disassemble_command): Ditto.
* defs.h (tui_version): Delete declaration.
* Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
(tui-interp.o): Add rules.
(SUBDIR_TUI_OBS): Add "tui-interp.o".
Index: tui/ChangeLog
2003-02-14 Andrew Cagney <ac131313@redhat.com>
* tui.c (tui_enable, tui_disable): Don't modify tui_version.
(tui_is_window_visible, tui_get_command_dimension): Test
tui_active instead of tui_version.
* tuiData.h (tui_version): Delete declaration.
* tui-hooks.c (tui_init_hook, tui_event_loop): Delete function,
moved to "tui-interp.c".
(tui_exit, tui_command_loop): Ditto.
(_initialize_tui): Don't initialize init_ui_hook. Initialize
target_new_objfile_hook.
* tui-interp.c: New file.
|
|
|
|
| |
just-loaded dll.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-12 Jason Molenda (jmolenda@apple.com)
* symmisc.c (print_objfile_statistics): Include information about
the number of psymtabs and symtabs in each object file.
[testsuite/ChangeLog]
2003-02-13 Jason Molenda (jmolenda@apple.com)
* gdb.base/maint.exp: Update maint print statistics regexp to include
new entries.
|
| |
|
|
|
|
| |
* gdb.c++/inherit.exp: Remove call to get_debug_format.
|
|
|
|
|
|
|
|
| |
* gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
* gdb.c++/inherit.exp: Likewise.
* gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
* gdb.c++/templates.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.
|
|
|
|
|
|
| |
* main.c (captured_main): Initialize interpreter_p from context.
* gdb.c (main): Set interpreter_p argument.
* Makefile.in (gdb.o): Add dependency for interps.h.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-hooks.c (tk_command_loop): Move function ...
* generic/gdbtk.c (gdbtk_command_loop): ... to here. Add data
parameter.
* generic/gdbtk.c: Include "interps.h".
(_initialize_gdbtk): Register the "gdbtk" interpreter. Don't set
init_ui_hook.
(gdbtk_init): Change parameter to a void data pointer.
(tk_init, gdbtk_resume, gdbtk_suspend): New functions.
(gdbtk_prompt_p, gdbtk_exec): New functions.
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Don't set
command_loop_hook. Update copyright.
|
|
|
|
|
|
|
|
|
| |
* event-top.c (cli_command_loop): Delete declaration.
(_initialize_event_loop): Delete function setting event_loop_hook.
* event-top.h (cli_command_loop): Declare. Update copyright.
(EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
* interps.c (current_interp_command_loop): When event_loop_p, call
cli_command_loop.
|
|
|
|
|
| |
* interps.h (interp_command_loop_ftype): Change return type to
void.
|
|
|
|
|
|
|
|
|
| |
* tuiIO.c (tui_prep_terminal): Add one notused parameter.
* tui.c (tui_rl_switch_mode): Add two notused parameters.
(tui_rl_change_windows, tui_rl_next_keymap): Ditto.
(tui_rl_delete_other_windows): Ditto.
(tui_rl_change_windows, tui_rl_delete_other_windows): Update
calls.
|
|
|
|
|
| |
* library/help/images/browser1.png: New file.
* library/help/images/browser2.png: New file.
|
|
|
|
|
| |
frame is NULL, do not call frame_register_read, since that will
now cause an internal error.
|
| |
|
|
|
|
|
|
|
| |
* x86-64-tdep.c (x86_64_extract_return_value)
(x86_64_store_return_value): Use regcache instead of regbuf.
(x86_64_gdbarch_init): Change related set_gdbarch_* functions.
* x86-64-linux-nat.c (fill_gregset): Use regcache.
|
|
|
|
|
|
|
|
| |
* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
TCL_LD_SEARCH_FLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-varobj.c (gdb_variable_command): Ditto for
`commands'.
(variable_type): Ditto for `first'.
(variable_obj_command): Ditto.
(variable_create): Ditto for create_options.
(variable_type): Ditto for `last'. Use `string' and not `first'
when modifying the buffer.
(struct disassembly_client_data ): Ditto for `asm_argv'
* generic/gdbtk-register.c (gdb_register_info): Ditto for
`commands'.
* generic/gdbtk-hooks.c (tk_command_loop): Ditto for `msg'.
* generic/gdbtk-cmds.c (gdb_search): Ditto for `switches'.
(gdbtk_load_source): Ditto for `text_argv'.
(struct disassembly_client_data ): Ditto for `source_argv'.
(gdbtk_load_asm): Ditto for `text_argv'.
(struct disassembly_client_data ): Ditto for `asm_argv'
(gdb_loadfile): Ditto for `text_argv'.
* generic/gdbtk.c (TclDebug): Make `v' a constant pointer.
(gdbtk_init): Ditto for `old_chain', `src_path', `msg', and
`lib_path'.
|
| |
|
|
|
|
|
| |
* library/browserwin.itb: Set textbackground option to
$::Colors(textbg) instead of "white".
|
|
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_attach_native): Don't force the user
to choose an exec file when attaching.
* library/attachdlg.itb: Some fixes to work with latest iwidgets.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_set_defaults): Remove prefs
gdb/browser/width, gdb/browser/top_height, gdb/browser/view_height,
gdb/browser/view_is_open. Add gdb/browser/layout.
* library/browserwin.ith: Update declarations to match
changes in browserwin.itb.
* library/browserwin.itb (constructor): Don't set toplevel
bindings. Set _layout from prefs.
(destructor): Don't check $resize_after. Don't save view_is_open.
(_build_win): Create a popup menu and bind to button 3.
Split the rest into 4 functions; _build_file_frame,
_build_filter_frame, _build_function_frame, and _build_view_frame.
Pack these 4 frames according to $_layout.
(_toggle_more): Deleted.
(_bind_toplevel): Deleted.
(_do_resize): Deleted.
(_resize): Deleted.
(_fill_source): Always fill because source is always visible.
(_fill_funcs_combo): Limit width of combo to 40 chars.
(_build_filter_frame): New function.
(_build_file_frame): New function.
(_build_function_frame): New function.
(_build_view_frame): New function.
(_switch_layout): New function. Toggle between layouts.
* library/tclIndex: Rebuilt.
* library/help/browser.html: Rewrite.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* interps.c (clear_interpreter_hooks): Convert function definition
to ISO C.
Index: mi/ChangeLog
2003-02-09 Andrew Cagney <ac131313@redhat.com>
* mi-interp.c (mi_remove_notify_hooks): Convert function
definition to ISO C.
|