Commit Graph

12651 Commits

Author SHA1 Message Date
Andrew Cagney 0c22854d5e 2002-09-29 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
	bfd/elf64-alpha-fbsd.c.
2002-09-29 16:32:15 +00:00
Andrew Cagney e67f202312 2002-09-29 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
	i386gnu-tdep.c.
2002-09-29 16:20:21 +00:00
Andrew Cagney 8939621045 Zap __FUNCTION__. 2002-09-29 15:25:30 +00:00
Andrew Cagney 0aee02e418 Delete no-longer-needed tests. 2002-09-29 14:20:32 +00:00
gdbadmin dacefbdd41 *** empty log message *** 2002-09-29 00:00:32 +00:00
Corinna Vinschen 7079c36ccc * sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.
(sh_push_arguments): Store in register with correct endianess.
	(sh_default_store_return_value): Ditto.
	(sh_gdbarch_init): Set sizeof long double to 8.
2002-09-28 16:11:29 +00:00
Kevin Buettner 6fde09ad29 * gdb.base/annota1.exp (info break): Make directory components of
path optional since not all compilers emit this debug information.

 	* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
 	step ends up stepping out of the function instead of stopping on
 	the epilogue.
2002-09-28 01:12:04 +00:00
gdbadmin 613d38b830 *** empty log message *** 2002-09-28 00:00:32 +00:00
Mark Kettenis 167baebf18 Last ChangeLog entry for defs.h is for both this patch and the previous patch. 2002-09-27 22:08:51 +00:00
Mark Kettenis 975ac915d6 * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
Fix some whitespace problems.
2002-09-27 21:31:22 +00:00
David Carlton 9bbe19fb37 2002-09-27 David Carlton <carlton@math.stanford.edu>
* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
	(mcore-tdep.o): Ditto.
	(ns32k-tdep.o): Ditto.
	(ns32knbsd-tdep.o): Ditto.
	(sh3-rom.o): Ditto.
	(vax-tdep.o): Ditto.
	* cris-tdep.c: #include "gdb_string.h"
	* mcore-tdep.c: Ditto.
	* ns32k-tdep.c: Ditto.
	* ns32knbsd-tdep.c: Ditto.
	* sh3-rom.c: Ditto.
	* vax-tdep.c: Ditto.
2002-09-27 19:33:48 +00:00
David Carlton 43b2fdc74c 2002-09-27 David Carlton <carlton@math.stanford.edu>
* config/djgpp/fnchange.lst: Add entries for
	gdb/testsuite/gdb.c++/m-static files.
2002-09-27 19:20:53 +00:00
Jim Wilson e8cfbbd913 * MAINTAINERS: Add myself to the Write After Approval list. 2002-09-27 18:58:04 +00:00
Jim Wilson 57514745d6 Add myself to write-after-approval section with Andrew Cagney's permission. 2002-09-27 18:55:44 +00:00
Andrew Cagney 7501537f4e 2002-07-12 Mo DeJong <supermo@bayarea.net>
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.
2002-09-27 18:09:27 +00:00
Andrew Cagney 050be0dcbe Use @sc{gcc} and @sc{gdb}. 2002-09-27 17:56:37 +00:00
Keith Seitz 9e8aab7587 * lib/insight-support.exp (gdbtk_start): Figure out where
the insight executable is based on where gdb is. Use this
        executable to start insight instead of gdb.
2002-09-27 14:49:26 +00:00
Martin Hunt 4e0df2df38 2002-09-26Martin M. Hunt <hunt@redhat.com>
* mips-tdep.c (find_proc_desc): Initialize startaddr.
2002-09-27 00:49:01 +00:00
gdbadmin 54726db0b4 *** empty log message *** 2002-09-27 00:00:02 +00:00
Andrew Cagney 9f3b7f0716 2002-09-26 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
	frame.
2002-09-26 22:34:07 +00:00
Andrew Cagney 11269d7ebb 2002-09-26 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
	(rs6000_struct_return_address): Delete variable.
	(rs6000_store_struct_return): Update.
	(rs6000_gdbarch_init): Set extract_struct_value_address instead of
	deprecated_extract_struct_value_address.
	(rs6000_frame_align): New function.
	(rs6000_gdbarch_init): Set frame_align.
2002-09-26 22:29:09 +00:00
Elena Zannoni b72b33ef9b 2002-09-26 Elena Zannoni <ezannoni@redhat.com>
* mi-cmd-disas.c (dump_insns): Add text only output for CLI.
        (do_mixed_source_and_assembly): Ditto.
2002-09-26 18:35:21 +00:00
Andrew Cagney f15ab4a7d1 2002-09-26 Andrew Cagney <ac131313@redhat.com>
From Grace Sainsbury <graces@redhat.com>:
	* Makefile.in (gdbtk-main.o): New target.
	(gdb.o): New target.
	(main_h): Define.
	(main.o): Update dependencies.
	(gdb$(EXEEXT)): Add gdb.o.
	(SUBDIR_GDBTK_SRCS): Add gdbtk-main.c.
	(SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set.
	(SUBDIR_GDBTK_CLEAN): Set.
	(install-gdbtk): Install the insight binary.
	(uninstall-gdbtk): New target.
	(all-gdbtk, clean-gdbtk): New rule.
	* top.c (use_windows): Default to zero.
	* main.c: Include "main.h".
	(main): Delete.
	(struct captured_main_args): Delete.
	(gdb_main): New function.
	* main.h: New file.
	* gdb.c: New File.

2002-09-26  Andrew Cagney  <ac131313@redhat.com>

	From Grace Sainsbury <graces@redhat.com>:
	* generic/gdbtk-main.c: New file.
2002-09-26 17:46:04 +00:00
gdbadmin 291288b78a *** empty log message *** 2002-09-26 00:00:02 +00:00
Kevin Buettner 1104b9e790 * gdb.texinfo: Use GNU/Linux instead of Linux. 2002-09-25 22:55:30 +00:00
Andrew Cagney e36180d795 2002-09-25 Andrew Cagney <cagney@redhat.com>
* frame.c: Include "gdb_string.h" and "builtin-regs.h".
	(frame_map_regnum_to_name): New function.
	(frame_map_name_to_regnum): New function.
	* frame.h (frame_map_name_to_regnum): Declare.
	(frame_map_regnum_to_name): Declare.
	* builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
	* builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
	* parse.c: Do not include "builtin-regs.h".
	(target_map_name_to_register): Delete function.
	(write_dollar_variable): Use frame_map_name_to_regnum.
	* parser-defs.h (target_map_name_to_register): Delete declaration.
	* expprint.c: Include "frame.h".
	(print_subexp): Use frame_map_regnum_to_name.
	* eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
	* infcmd.c (registers_info): Use frame_map_name_to_regnum.

2002-09-25  Andrew Cagney  <cagney@redhat.com>

	* gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 20:30:38 +00:00
Keith Seitz 1154261b1f * mi-pthreads.exp (get_mi_thread_list): Check if expect_out
exists before using it.
        (check_mi_and_console_threads): Likewise.
        * gdb669.exp (get_mi_thread_list): Likewise.
        (check_mi_and_console_threads): Likewise.
2002-09-25 16:08:43 +00:00
Andrew Cagney 512217c7cc 2002-09-25 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Packets): Replace @samp{} with ``an empty string''.
2002-09-25 13:56:54 +00:00
Andrew Cagney 8b69000d63 2002-09-25 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_frame_saved_pc): If the link register
	wasn't saved, and the next innermost frame is a dummy, return the
	dummy frame's link register.
2002-09-25 13:34:53 +00:00
Jim Blandy 046ca86a76 Fix from Paul Breed:
* main.c (captured_main): Add a `break' after the case for 'b'.
2002-09-25 03:10:26 +00:00
gdbadmin 20c2fc380d *** empty log message *** 2002-09-25 00:00:32 +00:00
Keith Seitz d1a2f20434 * configure.in: Add config header.
Check for pthread.h.
        * configure: Regenerate.
        * config.in: New file.
        * pthreads.c: New file.
        * mi-pthreads.exp: New file to test thread functionality.
        * gdb669.exp: New file.
2002-09-24 19:36:06 +00:00
Keith Seitz 94b66fa77d * varobj.c (c_type_of_child): Use get_target_type instead
of TYPE_TARGET_TYPE.
2002-09-24 18:50:34 +00:00
Andrew Cagney 9dd34b2bcf 2002-09-24 Andrew Cagney <ac131313@redhat.com>
* gdb.gdb/complaints.exp (test_initial_complaints): Rename
	test_isolated_complaints.
	(test_empty_complaint): New function.
	(test_empty_complaints): New function.  Check no output when no
	complaints.
2002-09-24 16:07:42 +00:00
Andrew Cagney 109987229e 2002-09-24 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo: Replace @example' with @smallexample.
2002-09-24 14:30:36 +00:00
gdbadmin fed372c71e *** empty log message *** 2002-09-24 00:00:03 +00:00
gdbadmin 5e08c13d72 *** empty log message *** 2002-09-23 00:00:32 +00:00
Fernando Nasser 53cb0458d6 * source.c (get_current_or_default_source_symtab_and_line): Remove
function.
	(set_default_source_symtab_and_line): New function. Attempts to
	determine a source file to list lines from if one is not currently
	defined.
	(get_current_source_symtab_and_line): Initialize sal.pc and
        sal.end fields.
	(set_current_source_symtab_and_line): Mark argument as const.
	* source.h: Update declarations and comments.
	* linespec.c (decode_line_1): Replace call to removed routine above.
	* stack.c (print_frame_info_base): Ditto.
	* cli/cli-cmds.c (edit_command): Ditto.
	(list_command): Ditto.
2002-09-22 22:18:41 +00:00
Fernando Nasser c214a6fd4d * source.c (get_current_source_symtab_and_line): Initialize sal.pc and
sal.end fields.
	(get_current_or_default_source_symtab_and_line): Ditto.
	* breakpoint.c (parse_breakpoint_sals): Use correct accessor function
	so we do not cause a new source symtab to be searched for (reverting an
	unintentional change from the 2002-09-20 patch).
	* scm-lang.c (scm_unpac): Ditto.
2002-09-22 20:29:52 +00:00
gdbadmin 15c18c7dbf *** empty log message *** 2002-09-22 00:00:02 +00:00
Andrew Cagney cc3b68a5c7 2002-09-21 Andrew Cagney <cagney@redhat.com>
* complaints.c (symfile_explanations): Remove new-line from
	``isolated_message''.
	(vcomplaint): When ISOLATED_MESSAGE, force a line break.
	(clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
2002-09-21 16:36:33 +00:00
Nick Clifton 5835abe726 NEWS: Announce that V850EA ISA is no longer supported.
v850-tdep.c: Remove reference to bfd_mach_v850ea.
2002-09-21 11:55:17 +00:00
Kevin Buettner a0eb71c570 2002-09-20 Kevin Buettner <kevinb@redhat.com>
From Eli Zaretskii  <eliz@is.elta.co.il>:
	* gdb.texinfo (Character Sets): Use @smallexample instead of
	@example.  Use GNU/Linux instead of Linux.

2002-09-20  Jim Blandy  <jimb@redhat.com>

	* gdb.texinfo: Add character set documentation.
2002-09-21 00:29:04 +00:00
gdbadmin 0a97f9c47f *** empty log message *** 2002-09-21 00:00:03 +00:00
David Carlton 06ba1b39d7 2002-09-20 David Carlton <carlton@math.stanford.edu>
* Makefile.in (c-lang.o): Correct dependencies.
	(utils.o): Gather dependencies.
	(charset.o): Move.
2002-09-20 18:14:49 +00:00
David Carlton a15ef5f5e3 2002-09-20 David Carlton <carlton@math.stanford.edu>
* c-lang.c: #include "gdb_string.h"
2002-09-20 17:37:11 +00:00
Fernando Nasser 878854263f From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>
* cli/cli-cmds.c (list_command): New function.  Implements the new
        cli edit command.
        (_init_cli_cmds): Add new command definition.
        * gdb.1: Document edit command.
        * doc/gdb.texinfo: Document edit command.
2002-09-20 15:07:15 +00:00
Fernando Nasser 0378c33231 * source.c: Make global variables current_source_symtab and
current_source_line static.
        (list_command): Moved to cli/cli-cmds.c.
        (ambiguous_line_spec): Moved to cli/cli-cmds.c.
        (get_first_line_listed): New accessor function.
        (get_lines_to_list): New accessor function.
        (get_current_source_symtab_and_line): New function. Retrieves the
        position in the source code that we consider current.
        (get_current_or_default_source_symtab_and_line): New function.
        Like the above but attempts to determine a default position if one
        is not currently defined.
        (set_current_source_symtab_and_line): New function. Sets the source
        code position considered current and returns the previously set one.
        (clear_current_source_symtab_and_line): Reset stored information about
        a current source line.
        (_initialize_source): Remove registration for the "list" command and
        its alias.
        * source.h: Add declarations for the new functions above.
        * symtab.h: Remove declarations for the global variables mentioned
        above.
        * breakpoint.c (parse_breakpoint_sals): Use accessor functions to
        obtain current source line.
        * linespec.c (decode_line_1): Ditto.
        * macroscope.c (default_macro_scope): Ditto.
        * scm-lang.c (scm_unpac): Ditto.
        * stack.c (print_frame_info_base): Ditto.
        * symfile.c (clear_symtab_users): Ditto.
        * symtab.c (decode_line_spec): Ditto.
        * cli/cli-cmds.c (list_command): Moved here from source.c.
        (ambiguous_line_spec): Moved here from source.c.
        (_init_cli_cmds): Add definition for "list" and its alias.
        * Makefile.in: Update dependencies.
2002-09-20 14:58:59 +00:00
Corinna Vinschen ddd216eaca * h8300-tdep.c (h8300_examine_prologue): Match saved regs location
with what gcc thinks is correct.
2002-09-20 14:22:44 +00:00
Corinna Vinschen 6d30505267 * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
multiple register push instruction.
2002-09-20 12:08:37 +00:00