Commit Graph

10207 Commits

Author SHA1 Message Date
Daniel Jacobowitz e88c90f2c5 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.

        * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
        (make_symbol_completion_list): Likewise.
        (make_symbol_overload_list): Likewise.
        * buildsym.c (finish_block): Likewise.
        * breakpoint.c (get_catch_sals):  Likewise.
        * mdebugread.c (mylookup_symbol): Likewise.
        * objfiles.c (objfile_relocate): Likewise.
        * printcmd.c (print_frame_args): Likewise.
        * stack.c (print_block_frame_locals): Likewise.
        (print_block_frame_labels): Likewise.
        (print_frame_arg_vars): Likewise.
        * symmisc.c (dump_symtab): Likewise.
        * tracepoint.c (add_local_symbols): Likewise.
        (scope_info): Likewise.

2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS.

2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
        * generic/gdbtk-stack.c (gdb_block_vars): Likewise.
        (gdb_get_blocks): Likewise.
        (gdb_get_vars_command): Likewise.
5~
2001-10-12 23:51:30 +00:00
Jim Blandy f4846649b3 * Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent
version of texi2html (1.64) doesn't support this flag any more.
2001-10-12 21:10:07 +00:00
Daniel Jacobowitz 375f3d864b * minsyms.c (msymbol_hash): Use better hash function.
(msymbol_hash_iw): Likewise.  Terminate loop at '(' properly.

        * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
        binaries.
2001-10-12 19:07:07 +00:00
Daniel Jacobowitz 5515947148 * printcmd.c (print_frame_args): Move symbol iteration explicitly
inside the func != NULL block.
2001-10-12 17:15:34 +00:00
Fernando Nasser 30ef99d1a8 2001-10-12 Fernando Nasser <fnasser@redhat.com>
* MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
	maintainer.
2001-10-12 15:59:11 +00:00
Christopher Faylor 02e423b9b2 * config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixes
errors in "long long" handling for 'finish' and 'return' commands.
* win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it
has already been loaded.
(safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any
error messages.
(safe_symbol_file_add): Ditto.
(solib_symbols_add): Make static.  Accept 'from_tty' parameter.  Pass it to
safe_symbol_file_add.
(core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
(child_solib_add): Ditto.
* win32-nat.c (handle_exception): Don't print "first chance" exceptions.
(get_child_debug_event): Continue from exceptions if !handle_exception.
2001-10-12 04:32:16 +00:00
Tom Tromey 1b15f1fad9 * symtab.c (lookup_symtab): Removed.
(lookup_symtab_1): Renamed to lookup_symtab.
2001-10-12 03:38:12 +00:00
gdbadmin ae14a5f5db *** empty log message *** 2001-10-12 00:00:02 +00:00
Christopher Faylor 700b351bda * win32-nat.c (get_child_debug_event): Close file handles created after process
creation and DLL load.
(child_create_inferior): Close unneeded process/thread handle after thread
creation.
2001-10-11 01:55:58 +00:00
gdbadmin 4a04a41f35 *** empty log message *** 2001-10-11 00:00:04 +00:00
Jim Blandy 4eab1e18e9 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes. 2001-10-10 21:22:44 +00:00
Keith Seitz 4abb499edb * varobj.c (cplus_value_of_child): Deal with a failure
to dereference a pointer object.
2001-10-10 17:01:52 +00:00
gdbadmin c9ce2220e1 *** empty log message *** 2001-10-10 00:00:05 +00:00
gdbadmin ddb2683535 *** empty log message *** 2001-10-09 00:00:02 +00:00
Joel Brobecker 8b2797db31 Document changes to hpux-thread.c. 2001-10-08 20:44:38 +00:00
Joel Brobecker f7926acf20 Rewrite find_active_thread() and find_tcb() to use ptid_t, instead of
overloading the thread and the pid into the same 32-bit value. Make
associated necessary adaptations. Also remove unused variable
cached_active_thread.
2001-10-08 20:42:08 +00:00
Nicholas Duffek 420effb8ac * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
entries.
2001-10-08 19:05:00 +00:00
gdbadmin ab7f1108bf *** empty log message *** 2001-10-08 00:00:04 +00:00
gdbadmin ba9011bc0e *** empty log message *** 2001-10-07 00:00:03 +00:00
Mark Kettenis 3eb970a80b * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define. 2001-10-06 19:19:27 +00:00
gdbadmin 3bbed9b708 *** empty log message *** 2001-10-06 00:00:08 +00:00
gdbadmin 09d15f2aa8 *** empty log message *** 2001-10-05 00:00:02 +00:00
Frank Ch. Eigler 1d9d99f32d 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
	if gdb child process crashes, just signal an error.
2001-10-04 22:11:12 +00:00
Tom Tromey 78f495860c * main.c (enable_external_editor): Don't declare.
(captured_main): Don't set enable_external_editor.
2001-10-04 15:04:27 +00:00
gdbadmin 1baf8b2495 *** empty log message *** 2001-10-04 00:00:04 +00:00
gdbadmin 0a30e5973d *** empty log message *** 2001-10-03 00:00:02 +00:00
Kevin Buettner ab31aa69b9 Split SVR4/SunOS solib support. 2001-10-02 23:11:24 +00:00
Jim Blandy 838ae6c473 * lib/gdb.exp (test_xfail_format): Simplify.
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
front of the variable name `format'.  Simplify `if'.
2001-10-02 19:42:10 +00:00
Elena Zannoni 39ae698d7d 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
2001-10-02 02:53:48 +00:00
Elena Zannoni a99a072c2c 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
* xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
        N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
        CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
        SET_NAMESTRING): Delete definitions.
        Don't include language.h any more.
        Don't include partial-stab.h any more.
        (scan_xcoff_symtab): Don't jump through hoops to reuse code in
        partial-stab.h, include the code directly, instead.

        * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
2001-10-02 02:51:41 +00:00
Elena Zannoni d5d0a62f69 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
* xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
	N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
	CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
	SET_NAMESTRING): Delete definitions.
	Don't include language.h any more.
	Don't include partial-stab.h any more.
	(scan_xcoff_symtab): Don't jump through hoops to reuse code in
	partial-stab.h, include the code directly, instead.

	* Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
2001-10-02 02:39:48 +00:00
gdbadmin 6c3748ca43 *** empty log message *** 2001-10-02 00:00:06 +00:00
Daniel Jacobowitz 8f0cbc1ca3 * gdb.threads/pthreads.exp: Wait for output and delay
before sending ^C.
2001-10-01 20:36:48 +00:00
Daniel Jacobowitz 1f08dafd5a * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
some incorrect output instead of timing out.
        * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
2001-10-01 20:31:38 +00:00
Andrew Cagney 447aa9a61f * infcmd.c (do_registers_info): Delete code dumping large
registers.  Handled by val_print.
2001-10-01 18:11:19 +00:00
gdbadmin c7faceac8d *** empty log message *** 2001-10-01 00:00:05 +00:00
Andrew Cagney 85de96271b * gdbarch.sh (gdbarch_alloc): Name the new architecture
``current_gdbarch'' so that it, and not the identically named
global is refered to by macros.
* gdbarch.c: Regenerate.
2001-09-30 16:54:28 +00:00
Andrew Cagney f3796e2657 * cli/cli-decode.c (add_set_boolean_cmd): Define.
* cli/cli-decode.h (add_set_boolean_cmd): Declare.
* command.h (add_set_boolean_cmd): Ditto.
* remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
remotebreak"
2001-09-30 16:16:16 +00:00
gdbadmin 7efde2a4dd *** empty log message *** 2001-09-30 00:00:06 +00:00
Andrew Cagney 08e45a405b * gdbarch.sh (gdbarch_dump): Sort output.
* gdbarch.c: Regenerate.
2001-09-29 22:35:53 +00:00
Andrew Cagney e712c1cf79 * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
architecture to infer the wordsize.  Previous architecture may not
be a PowerPC.
2001-09-29 21:32:01 +00:00
gdbadmin 6e73fe5560 *** empty log message *** 2001-09-29 00:00:04 +00:00
Tom Tromey 7cacb6a3a7 * tuiLayout.h (tui_set_layout): Don't declare.
* tui.h (tui_vAddWinToLayout): Don't declare.
	(tui_vSetLayoutTo): Likewise.
	(tui_set_layout): Declare.
2001-09-28 17:39:09 +00:00
Corinna Vinschen 674f90ff34 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
2001-09-28 11:41:30 +00:00
gdbadmin b43d14f89c *** empty log message *** 2001-09-28 00:00:01 +00:00
Michael Snyder 2e2394a075 2001-09-20 Michael Snyder <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
	better parsing of const and volatile type expressions.
	* c-exp.y (const_and_volatile, const_or_volatile_noopt,
	const_or_volatile): New non-terminals.
	(ptype): Use new rule for const_or_volatile.
	(typebase): Use new rule for const_or_volatile_noopt.
	* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
	* parse.c (follow_types): Handle tp_const and tp_volatile on the
	type stack: call make_cv_type to create new const/volatile type.
2001-09-27 22:39:05 +00:00
Daniel Jacobowitz 9b28427211 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2001-09-27 22:21:22 +00:00
Michael Snyder b55a47712d 2001-09-27 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (test_debug_format): New proc.
	(setup_xfail_format): Use new proc test_debug_format.
	* gdb.base/constvars.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
	* gdb.base/volatile.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
2001-09-27 21:35:56 +00:00
Michael Snyder 56e2d25ab5 2001-09-20 Michael Snyder <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
	better parsing of const and volatile type expressions.
	* c-exp.y (const_and_volatile, const_or_volatile_noopt,
	const_or_volatile): New non-terminals.
	(ptype): Use new rule for const_or_volatile.
	(typebase): Use new rule for const_or_volatile_noopt.
	* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
	* parse.c (follow_types): Handle tp_const and tp_volatile on the
        type stack: call make_cv_type to create new const/volatile type.
2001-09-27 21:16:43 +00:00
Michael Snyder 3e9986d221 2001-09-21 Michael Snyder <msnyder@redhat.com>
* c-exp.y (typebase): Accept (signed long long) as a type expr.
2001-09-27 21:14:48 +00:00