Commit Graph

7473 Commits

Author SHA1 Message Date
Mark Alexander 52e4073c5f * mn10300-tdep.c (set_movm_offsets): New helper function
for mn10300_analyze_prologue.
	(mn10300_analyze_prologue): Simplify by factoring out common code.
	Fix bugs in setting frame address for optimized code.
	Use read_memory_nobpt instead of target_read_memory.
1998-07-24 14:48:41 +00:00
Martin Hunt 6e77819495 Fri Jul 24 01:08:37 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_loadfile): When there are no
	linenumbers, use only one tab.
1998-07-24 08:09:03 +00:00
Ian Lance Taylor 2c9fd4b158 remove d30v sanitization 1998-07-24 04:44:58 +00:00
Michael Snyder f32fa05325 Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (collect_symbol): handle LOC_ARG case.
1998-07-24 00:02:07 +00:00
Dawn Perchik 79dc930562 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
in a function prologue before the SAVE instruction.
	(sparc_frame_saved_pc): Ditto.
	* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
1998-07-23 22:14:48 +00:00
Dawn Perchik dd473edc9f * i386-tdep.c (i386_get_frame_setup): Recognize function
prologues in code compiled with -fcheck-stack.
1998-07-23 21:59:49 +00:00
Dawn Perchik 2474bfd794 * remote-mips.c (remote_mips_insert_hw_breakpoint,
remote_mips_remove_hw_breakpoint): New functions for hardware
	breakpoints on LSI targets.
	* config/mips/tm-embed.h (target_remove_hw_breakpoint,
	target_insert_hw_breakpoint): Define to call
	remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
	respectively.
1998-07-23 21:48:28 +00:00
Ian Carmichael f07122bc9e * VU memory now accessed via kseg1. 1998-07-23 17:05:08 +00:00
Martin Hunt 9c56157ffa (gdb_listfiles): Fix comments and cleanup. 1998-07-21 18:40:06 +00:00
Martin Hunt 4d14b2522a Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
* symtab.c (decode_line_2): Instead of printing a prompt
	and calling command_line_input() without a prompt, just
	call it with the proper args.  This makes the GUI work too.

Sat Jul 18 12:28:39 1998  Martin M. Hunt  <hunt@cygnus.com>

	* gdbtk.c (gdbtk_cleanup): Add call to tcl function
	gdbtk_cleanup. We need this so the GUI gets to clean
	up no matter how GDB exits.
1998-07-19 09:33:34 +00:00
Ron Unrau 36297ff31d * blockframe.c (find_pc_sect_partial_function): allow for the possi-
bility of multiple symbols at the same address when finding high.
        * breakpoint.c (resolve_sal_pc): if the function based section lookup
          fails, try getting the section from the minimal symbol table.
        * parse.c (write_exp_msymbol): use symbol_overlayed_address to get
          the LMA of a minimal symbol if unmapped.
        * symtab.c (find_line_symtab): change interface to return symtab
          containing the best linetable found.
          (decode_line_1): use find_line_symtab to set val.symtab. This should
          improve support for source files with multiple symtabs.
        * tm-txvu.h: include tm-mips64.h instead of starting from scratch.
1998-07-17 15:29:11 +00:00
Keith Seitz e3ca310c69 Merge v850 branch ICE support onto devo. 1998-07-15 20:13:34 +00:00
Keith Seitz 895cc8ab1c * main.c (main): Fix violations of GNU coding standard.
* breakpoint.c: Export delete_command.

	* infcmd.c: Export continue_command, stepi_command, and nexti_command.

	* Makefile.in: Add target for v850ice.o.

	* configure.tgt: Add cygwin32 dependencies for v850 ice.
1998-07-15 18:52:50 +00:00
Nick Clifton e1f1ed1ad7 Cope with setting trace points on symbols which do not have an associated directory. 1998-07-15 18:00:49 +00:00
Keith Seitz ead0877781 * configure.in: Fix sanitization start/end error.
* configure: Regenerate.
1998-07-14 23:16:40 +00:00
Felix Lee de5cce9cb4 * gdb.base/callfuncs.exp: add cmp10 test.
* gdb.base/callfuncs.c (cmp10): new function.
1998-07-13 13:42:45 +00:00
Per Bothner 3ba862b607 Remove references to Alcatel. 1998-07-10 20:46:48 +00:00
Dawn Perchik faf0a71f31 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
into two parts to get around a synchronization problem in expect.
1998-07-10 08:54:17 +00:00
Jeff Law f05bd277cf * mn10300-tdep.c (mn10300_generic_register_names): New variable.
(set_machine_hook): New function.  Copy the appropriate register
        names into reg_names.
        (_initialize_mn10300_tdep): Set up to call set_machine_hook.
        * tm-mn10300 (NUM_REGS): Bump to 32.
        (REGISTER_NAMES): Updated accordingly.

start-sanitize-am33
        * mn10300-tdep.c (am33_register_names): New variable.
        (mn10300_analyze_prologue): Handle regs saved by am33 prologues.
        * tm-mn10300.h (E0_REGNUM): Define.
end-sanitize-am33

Initial am33 support.
1998-07-09 22:23:18 +00:00
Ron Unrau 89f015d750 symtab.c (find_pc_sect_psymbol) - handle address 0 better 1998-07-07 13:41:03 +00:00
Frank Ch. Eigler 8d3c21b3d4 * Belatedly bringing over PR 15850 patch from d30v branch.
Thu Jul  2 15:57:58 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* breakpoint.c (resolve_sal_pc): Accept absence of innermost
	Lexical block for breakpoint resolution.
1998-07-02 17:30:21 +00:00
Dawn Perchik 3acd0db516 * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
section, but just don't add a 2nd minimal symbol if this is an .mdebug
        section in an ELF file.
1998-07-02 17:30:20 +00:00
Jim Blandy 40d8aa2c1b *** empty log message *** 1998-07-01 20:51:19 +00:00
Jim Ingham f3b86a30f9 Wed Jul 1 13:10:58 1998 Jim Ingham <jingham@cygnus.com>
* Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c &
	gdbtk-cmds.c to comply with the gdb conventions.  Changed the
	configure & makefile to reflect the change...
1998-07-01 20:17:31 +00:00
Jim Ingham ca4e7e143d Wed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>
* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec.  If there was an
        error in loading an executible specified on the command line,
	then the pre_add_symbol hook would have called gdbtk_busy but
        the corresponding call to gdbtk_idle would not have occured.

        Also changed some catch calls so they didn't use
        "catch {set foo [real_command]}"
	    but rather the more efficient:
	"catch {real_command} foo"

	* register.tcl: more catch cleanups
	* src.tcl: more catch cleanups
	* stack.tcl: more catch cleanups
	* target.tcl: more catch cleanups
	* tdump.tcl: more catch cleanups
	* variables.tcl: more catch cleanups
	* watch.tcl: more catch cleanups

	* gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows
	that caused gdbtk not to find the share directory unless
	GDBTK_LIBRARY was set.

	* gdbtk.c: removed all the commands and hooks from this file so
	now it contains only the startup code.
 	* gdbtk_cmds.c: New file - this contains all the Tcl commands that
	gdb defines.  All the old commands were moved here, the
	string-based commands were converted to object commands, and the
	object-based commands were all converted to uniformly use the
	call_wrapper.  A new function, Gdbtk_Init was added to centralize
	initializing the gdb package.  Also added gdbtk as a package
	into gdbtk_interp.
	* gdbtk_hooks.c: New file - All the hooks were moved here, and a new
	function, gdbtk_add_hooks was added to centralize adding all these
	hook functions.  gdbtk_fputs was also modified to handle the new
	result_ptr structure.  See the comments in gdbtk.h for more
	details.
	* gdbtk.h: New file - this contains all the defines and globals
	shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c
	* Makefile.in, configure.in & configure: mutatis mutandi for the
	new files.
1998-07-01 19:29:14 +00:00
Jason Molenda d40d5880c2 Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
* gnu-regex.c (re_comp): Add cast to char * before gettext calls.
1998-06-30 02:40:12 +00:00
Keith Seitz 509b70ac80 * main.c (main): Don't include gdbtk test code if GDBTK is
not defined by configure.

        * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS.

        * configure: Regenerate.
1998-06-29 19:04:30 +00:00
Martin Hunt e16def6302 Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
* gdb.gdbtk/simple.c (main): Make main return an
	int so compiler will stop complaining.
1998-06-29 05:31:35 +00:00
Peter Schauer 655a27b099 Improve support for SunPro F77.
* dbxread.c (end_psymtab, process_one_symbol):  Handle minimal
	symbols with trailing underscore names.
	* minsyms.c (find_stab_function_addr):  Ditto.
	* dbxread.c (process_one_symbol):  Ignore N_ALIAS for now.
	* partial-stab.h (case N_ALIAS):  Ditto.
	* stabsread.c (read_sun_builtin_type):  Handle boolean types.
1998-06-28 18:36:50 +00:00
Keith Seitz f35ea21826 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
* configure.in: Add options for gdbtk testsuite.

        * configure: Regenerate.

        * gdb.gdbtk: New directory to hold gdbtk tests.

        * gdb.gdbtk/console.{exp, test}: New console window tests.
1998-06-27 00:47:35 +00:00
Keith Seitz 7f6cb62ee6 * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by
        new search_symbols.
        Add prototype for search_symbols and free_search_symbols.

        * symtab.c (list_symbols): Rewrite to use new search_symbols.
        (file_matches): New helper function for search_symbols.
        (free_search_symbols): New function which frees data returned from
        search_symbols.
        (print_symbol_info): New helper function which prints info about a
        matched symbol to stdout. Extracted from old list_symbols.
        (print_msymbol_info): New helper function which prints info about
        a matched msymbol to stdout. Extracted from old list_symbols.
        (symtab_symbol_info): Extracted from old list_symbols.
        (variables_info): Use symtab_symbol_info.
        (functions_info): Use symtab_symbol_info.
        (types_info): Use symtab_symbol_info.
        (rbreak_command): Rewrite to use new search_symbols.

        * gdbtk.c: Change all references to static global "interp" to
        "gdbtk_interp" and export this global.
        (gdbtk_init): If gdbtk_source_filename is not NULL, source this file
        into the interpreter when it goes idle.
        Add new command "gdb_search".
        (gdb_search): New function which searches the symbol table.
        (gdbtk_test): New function called by main when the --tclcommand
        option is used.

        * main.c (main): Add a new option "--tclcommand" which is used
        by the testsuite to source a file into the interpreter when it
        goes idle.
1998-06-27 00:45:20 +00:00
Peter Schauer 3f1739b32a * gdb.fortran/types.exp: Escape brackets in expect patterns
for test_float_literal_types_accepted tests.
	* gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
	before run test.
1998-06-26 21:59:29 +00:00
Jeff Law 85a6fcfd5d * am33.exp: Just compile, do not link the testcase.
* am33.s: Add ".am33" pseudoop to force am33 mode.
1998-06-26 17:17:03 +00:00
Felix Lee be2cb9926c * gdb.base/setshow.exp: make sure $pc is sane.
* gdb.stabs/weird.exp: split expect patterns properly.
1998-06-25 22:39:02 +00:00
Frank Ch. Eigler d3f153adbe * Fix gdb inferior calls on 128-bit MIPS targets.
Thu Jun 25 22:38:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* mips-tdep.c (mips_push_arguments): Use 128-bit stack frame
	alignment for inferior calls.
1998-06-25 20:36:57 +00:00
Mark Alexander 9d4cd1e849 * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation
of jsr target address.
1998-06-25 06:20:35 +00:00
Jeff Law 54977a6833 * gdb.disasm/am33.s: New disassembler testfile for the am33.
* gdb.disasm/am33.exp: Run it.
1998-06-24 19:07:51 +00:00
Mark Alexander 2f75adc0b2 * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
zero upper byte of address.
1998-06-24 02:40:54 +00:00
Michael Snyder 75621b2b2c Tue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* rs6000-tdep.c (pop_dummy_frame): use memcpy.
        (push_arguments): use memset.
        (various other places): fix up indentation and long lines.
1998-06-24 00:37:49 +00:00
Jason Molenda 59bbabf5c0 Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: s/lXext/-lXext/ for Jillian's change.
1998-06-23 19:01:10 +00:00
Michael Snyder d32d4319df fix indentation. 1998-06-23 18:55:13 +00:00
Michael Snyder a59614102b Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/funcargs.exp: simplify expect strings to ease pattern
        match processing (and eliminate spurious timeouts when running).
1998-06-23 18:46:00 +00:00
Michael Snyder a00dfa360a Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/mips/tm-irix5.h: Modify to work better on irix 6, by
	making FP registers 8 bytes instead of 4.
	REGISTER_BYTES: redefine.  REGISTER_BYTE(): redefine.
	REGISTER_VIRTUAL_TYPE: redefine.  MIPS_LAST_ARG_REGNUM: redefine.
	* irix5-nat.c (fetch_core_registers): read 8 bytes per FP register.
	* mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish
	targets with 8-byte FP registers (don't use TARGET_MIPS64).
	(STACK_ARGSIZE): new macro, how much space is taken up on the
	stack for each function argument (don't use TARGET_MIPS64).
	(mips_push_arguments): modify logic to work better on Irix 6
	(n32 ABI).
1998-06-23 18:22:43 +00:00
Jillian Ye f915cc9125 configure.in: Add -lXext to mips_extra_libs 1998-06-23 17:59:31 +00:00
Ron Unrau 36841840ec * symtab.c (find_line_pc): assumed that a PC of 0 is illegal.
Changed to pass PC as arg and return 1 if valid (0 otherwise).
          symtab.h: change prototype to match
          symtab.c (find_line_pc_range): use new interface
          breakpoint.c (resolve_sal_pc): ditto
          gdbtk.c (gdb_set_bp): ditto
1998-06-21 15:31:09 +00:00
release 27cd90b285 fix sanitization; add ax-gdb.c ax-gdb.h ax-general.c ax.h 1998-06-18 06:27:54 +00:00
release 9682b440c6 install tracing help files 1998-06-18 02:14:08 +00:00
Ron Unrau 3b3835ccde * parse.c (target_map_name_to_register): Check target specific
aliases *first* so that it can over-ride architectural names
	* txvu-tdep.c: start to handle backtraces
1998-06-17 21:53:20 +00:00
Said Ziouani 959941e717 * remote-sds.c (sds_start_remote): Fix printf call. 1998-06-17 21:21:55 +00:00
Mark Alexander 40fad4934f * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
crash when in "start".
1998-06-16 23:36:01 +00:00
Ron Unrau ec07628095 * dbxread.c: reset function_start_offset after a finishing N_FUN
is seen.
        * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override
          target vectors as needed.
	* txvu-tdep.c: add support for VIF breakpoints.
1998-06-16 20:38:10 +00:00
Jim Ingham 0436459d40 Mon Jun 15 13:18:21 1998 Jim Ingham <jingham@cygnus.com>
* gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST
       ELEMENTS.  This allows gdbtk to work when installed in a directory
       which has a space in the path.  D. Moseley pointed out the bug.
1998-06-16 19:36:47 +00:00
Frank Ch. Eigler 7924771e5d * PR 15693 fix.
Wed Jun 10 18:04:35 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for
	all-positive enum.
	(create_set_type): Ditto for all-positive set values.
	* values.c (unpack_field_as_long): Check for typedef in struct
	field unpacking.
1998-06-16 08:30:47 +00:00
Ron Unrau c4faac32e5 *** empty log message *** 1998-06-14 14:49:12 +00:00
Ron Unrau f85d9973b3 * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass
CUR_SYMBOL_VALUE as CORE_ADDR instead of long
        * buildsym.[ch]: export pending_blocks list
	* tm-txvu.h: define TARGET_READ_SP and TARGET_WRITE_SP
	* txvu-tdep.c: rewrite symtabs to support N_FUN symbols in overlays.
	  (Actually, the last version did this for N_SLINE symbols).
	  (txvu_read_sp,txvu_write_sp): new
1998-06-14 14:48:27 +00:00
Dawn Perchik 4796337086 * remote.c : Fix remote help string to match that of help.exp. 1998-06-13 20:06:13 +00:00
Jason Molenda 1512548423 Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in (LIBS): Add -lw to the list of libraries if needed.

-lw needed on Solaris to get wctype().  wctype() needed by new gnu-regex.c.
1998-06-12 21:23:44 +00:00
Jason Molenda 46ccc6bfc9 Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
* btowc.c: Removed.
        * configure.in: Don't see if we need to replace btowc().
        * Makefile.in: Don't include LIBOBJS.
        * configure: Regenerated.
        * gnu-regex.c (regex_compile): Only support i18n [:foo:] if
        we have btowc().
1998-06-11 22:08:46 +00:00
Stu Grossman f6d23b6f3b * c-exp.y: Fix problems with parsing "'foo.bar'::func". Some languages
allow symbols with dots.

	* gdbtypes.c (check_stub_method):  Cosmetic.  Use more descriptive
	names for parameters.

start-sanitize-java
	* jv-exp.y:  Parser now accepts primitive types.
	* (parse_number):  Use correct ifdef for scanf long double support.
	* jv-lang.c (java_array_type):  Initial cut at array support.
end-sanitize-java

	* language.c language.h (set_language):  Now returns previous language.

	* symtab.c (find_methods):  Make static.  Cosmetic changes, including
	indentation, and adding descriptive comments.  Move local variable defs
	into the block they are used in.
	* Don't call check_stub_method any more.  Use gdb_mangle_name to
	generate the full method name.  find_method doesn't need all the other
	goobldegook that check_stub_method does.
	* (gdb_mangle_name):  Use more descriptive names for parameters.  Fix
	comment.
start-sanitize-java
	* (lookup_partial_symbol lookup_block_symbol):  Check for java to
	ensure we can find mangled names.
end-sanitize-java
	* (decode_line_1):  Move local variable defs into the block they are
	used in.  (Improves code readability.)
1998-06-10 23:29:59 +00:00
Jason Molenda eac4afd165 Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: Add some tests for gnu-regex.c's benefit.
        See if btowc() function is provided in C library.
        * configure, config.in: Regenerated.
        * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
        if necessary.
        * btowc.c: New file.

        * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
        benefit.
        Drop namespace preserving defines for now.
1998-06-10 21:09:45 +00:00
Jason Molenda 9ed669cf76 Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: Add some tests for gnu-regex.c's benefit.
        See if btowc() function is provided in C library.
        * configure, config.in: Regenerated.
        * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
        if necessary.
        * btowc.c: New file.

        * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
        benefit.
        Drop namespace preserving defines for now.


Mods based on the modifications used in GNU grep 2.2 to make gnu-regex.c
compile on other OSes.
1998-06-10 21:08:38 +00:00
Jason Molenda a4122443af Wed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gnu-regex.c: Include "gnu-regex.h", not "regex.h".
1998-06-10 18:54:59 +00:00
Jason Molenda 9408296b13 Wed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license
        to stay consistent with the rest of GDB.
1998-06-10 18:36:01 +00:00
Jason Molenda 9f85ab1afe Wed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions.
1998-06-10 18:28:48 +00:00
Michael Snyder f7065e881c Wed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
*printcmd.c (disassemble_command): move overlay mapping code
        "up" into find_pc_partial_function.
        * blockframe.c (find_pc_partial_function): adjust start address
        and end address for overlays (mapped vs. unmapped addresses),
        so that all callers of this function may benefit.
        * m32r-tdep.c (m32r_skip_prologue): adjust indentation.
1998-06-10 18:04:36 +00:00
Michael Snyder c488e9b543 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/overlays.exp: fixup compile line for linker script.
1998-06-10 17:42:36 +00:00
Jim Ingham 51c5a1366f Tue Jun 9 15:27:09 1998 Jim Ingham <jingham@cygnus.com>
* gdbtk.c: Added hooks to run gdbtk under the TclPro debugger.
	To do this, build gdbtk with:

	    make CFLAGS="-g -DTCLPRO_DEBUGGER"

	Then set the environment variable TCLPRO_DEBUG_DIR to point to
	wherever you have installed the TclPro debugger.  Finally, in
	the Alpha of the TclPro Debugger, you have to start up the
	TclPro Debugger BEFORE you start gdbtk.  Unfortunately, the
	debugger does not understand Itcl 1.5 style classes...
	* .Sanitize: Sanitize out references to the TclPro debugger,
	since it is not yet released.
1998-06-09 22:33:46 +00:00
Keith Seitz 649bc0554d * gdbtk.c (gdb_get_vars_command): Return static variables and
variables stored in registers.

        * main.c (main): Call pre/post_add_symbol_hook's when loading
        executables and symbol files.

	* symfile.c (symbol_file_add): revert previous change
1998-06-09 22:21:33 +00:00
Keith Seitz fadce6f696 * symfile.c (symbol_file_add): Always call the
pre/post_add_symbol_hooks.

	* gdbtk.c (gdb_get_vars_command): Return static variables and
	variables stored in registers.
1998-06-09 21:15:46 +00:00
Ron Unrau a2266bed50 * objfiles.c (add_to_objfile_sections): All targets to define
TARGET_KEEP_SECTION to permit them to retain bfd sections that
          GDB would otherwise have discarded.
1998-06-08 22:10:37 +00:00
Doug Evans 705b12dfdf * dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab. 1998-06-05 20:57:54 +00:00
Martin Hunt aa3b21bfdc Fri Jun 5 00:16:22 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_init): Change all references to
	GDBTK_IDE to IDE_ENABLED.
1998-06-05 07:13:27 +00:00
Felix Lee 72d33b581d * gdb.fortran/types.exp: don't guess at float size. 1998-06-05 05:47:31 +00:00
Felix Lee b304ac184b * chexp.exp: fix tests that assume >16-bit ints. 1998-06-05 04:54:03 +00:00
Felix Lee cf4f99867d * gdb.base/exprs.exp: delete test that depends on int size. 1998-06-05 04:53:28 +00:00
Stan Shebs 0e05ecee9a * remote.c (init_extended_remote_ops): Make extended_remote_ops
by copying from remote_ops, move it and init_remote_ops to
	usual place at end of file, remove "void" from arg lists.
1998-06-05 01:38:26 +00:00
Martin Hunt 94a6f14fa4 Thu Jun 4 18:31:53 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_init): Initialize tkTable.
1998-06-05 01:29:10 +00:00
Mark Alexander ce56660d3a * sparc-tdep.c (sparc_fix_call_dummy): Byte-swap the call dummy
on bi-endian machines.
	(sparc_extract_return_value): Handle values smaller than int on
	machines with little-endian data.
	(sparc_target_architecture_hook): Set bi_endian flag.
1998-06-05 00:57:00 +00:00
Michael Snyder d6b6757b7a Thu Jun 4 12:14:48 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* printcmd.c (disassemble_command): Fix off-by-one error for
        disassembling functions in unmapped overlay sections.
1998-06-04 19:16:00 +00:00
Elena Zannoni fed03c013d Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbtk.c: merged:

	- Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
        (call_obj_wrapper): in case of error, copy the
        error message from the result to the error_string.
        (gdbtk_fputs): add comments.
        (gdb_actions_command): call validate_actionline when installing the
        tracepoint, to do the syntax checking of the actions for us.
        - Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
        (gdb_get_trace_frame_num): new function to get the
        trace frame number from gdb.
        (gdbtk_init): added new command gdb_get_trace_frame_num.
        - Jim Blandy  <jimb@zwingli.cygnus.com>
        (struct wrapped_call_objs): Change the `func' member to
        be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
        of objects as arguments.  Change the object vector to be const,
        since that's what all the users of this structure seem to expect.
        (call_obj_wrapper): Cast clientData properly before storing it in
        the wrapped_args structure.
1998-06-04 18:10:21 +00:00
Elena Zannoni ecc6e8426e Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote.c: merged.

        - Jim Blandy  <jimb@zwingli.cygnus.com>
        (print_packet, remote_packet_command): New functions.
        (_initialize_remote): Register the remote-packet command.
        - David Taylor  <taylor@texas.cygnus.com>
        (_initialize_remote): remote-compare is now
        compare-sections.
        - Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
         (remote_compare_command): added warning, issued in case
        of mismatch only.
1998-06-04 18:07:32 +00:00
Michael Snyder 0005424512 Fix my previous screwed-up checkin. 1998-06-04 17:55:57 +00:00
Michael Snyder b85cf6aec0 Thu Jun 4 08:25:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_compare_command): New function, new command.
        Compare object file binary image with corresponding memory on
        remote target.  Report differences.
1998-06-04 15:29:58 +00:00
Michael Snyder 9fe11cd106 merged from EMC branch into devo 1998-06-03 20:14:26 +00:00
Michael Snyder 8b14323b28 Merge changes from EMC branch: ax-gdb.c, ax-general.c 1998-06-03 20:02:02 +00:00
Michael Snyder b0d7af2ace Merge from EMC branch back to main trunk. 1998-06-03 19:50:55 +00:00
Mark Alexander cda8a2bb4f * sparc-tdep.c (sparc_target_architecture_hook): Set target
byte order only when it's selectable.
1998-06-03 02:08:06 +00:00
John Metzler 5fed43aae9 Straggler - accidently dropped from the pack of target-ops reorg of inits 1998-06-03 01:27:17 +00:00
Mark Alexander 33c65ba3b3 * sparc-tdep.c (sparc_target_architecture_hook): New function to
set endianness based on machine type.
	(_initialize_sparc_tdep): Initialize target_architecture_hook.
	(sparc_print_register_hook): Print PSR and FPSR in fancy format
	on 32-bit machines.
	* config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to
	call sparc_print_register_hook instead of using inline code.
	* config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
1998-06-02 09:19:54 +00:00
Keith Seitz 4779296003 * main.c (main): Check for NULL from getenv on CYGWIN32.
* gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from
        Chris Faylor (cgf@cygnus.com).

        * configure.in: Link cygwin32 with subsystem console.

        * configure: Regenerated
1998-05-29 01:20:46 +00:00
Peter Schauer f893ebe377 * mips-tdep.c (mips_push_dummy_frame): Fix calculation of
PROC_REG_OFFSET and PROC_FREG_OFFSET.
1998-05-28 07:30:33 +00:00
Jason Molenda 17a56e138e add vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions. 1998-05-27 19:34:49 +00:00
Andrew Cagney ea45efcfe3 Stop GDB getting confused over r29 and FP. print $r29 and info
registers r29 gave different values.
1998-05-27 14:13:32 +00:00
Jason Molenda 822730dfb3 Add sanitize tags around VR4320 mentions. 1998-05-26 20:10:59 +00:00
Jason Molenda 87930ffdf8 add nec4102rom.c to things-to-keep (asklarof sez that the 4102 is a
variant of the VR4100 and does not need to be sanitized.)
1998-05-26 18:11:55 +00:00
Keith Seitz 6ac0c55df1 * remote.c (remote_open_1): If an error occurs starting the remote, pop the
target AND return.
1998-05-25 20:34:48 +00:00
Keith Seitz 21b3bc779c * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
that
        we can use this member to track real timeouts.
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
        system timeout of one second. Track the "real" timeout as a series of th
ese
        one second timeouts.
        Call ui_loop_hook to keep the gui alive.

        * top.c: Define new hook for cygwin32, "ui_loop_hook".

        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
        update problems.
1998-05-24 21:05:12 +00:00
Peter Schauer be5f18e140 * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED
on C++ functions.
	* valops.c (value_arg_coerce):  Add new argument to indicate whether
	the function has a prototype, handle integer and float promotions
	accordingly.
        (call_function_by_hand):  Always call value_arg_coerce, pass down
	prototype information.
1998-05-23 09:31:41 +00:00
Jason Molenda b0cf9ee21a Reformat for consistency. 1998-05-22 18:07:40 +00:00
John Metzler 3ff4b4c689 * remote.c (_initialize_remote): Typo extended__remote 1998-05-22 17:59:05 +00:00
John Metzler c719b71428 Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment.
	(_initialize_gnu_nat):      Call new init
	* mac-nat.c (init_child_ops):          Ditto
	(_initialize_mac_nat):                 Ditto
	* monitor.c (init_base_monitor_ops):   Ditto
	(_initialize_remote_monitors) :        Ditto
	* ppc-bdm.c (init_bdm_ppc_ops):        Ditto
	(_initialize_bdm_ppc):                 Ditto
	* remote-adapt.c ( init_adapt_ops):    Ditto
	(_initialize_remote_adapt):            Ditto
	* remote-array.c (init_array_ops) :    Ditto
	(_initialize_array):                   Ditto
	* remote-bug (init_bug_ops) :          Ditto
	(_initialize_remote_bug):              Ditto
	* remote-e7000.c (init_e7000_ops):     Ditto
	(_initialize_remote_e7000) :           Ditto
	* remote-eb.c (init_eb_ops) :          Ditto
	(_initialize_remote_eb) :              Ditto
	*remote-es.c (init_es1800_ops) :       Ditto
	(init_es1800_child_ops) :              Ditto
	(_initialize_es1800) ;                 Ditto
	*remote-hms.c (init_hms_ops):          Ditto
	(_initialize_remote_hms) :             Ditto
	* remote-mm.c (init_mm_ops):           Ditto
	(_initialize_remote_mm) :              Ditto
	* remote-nindy.c (init_nindy_ops):     Ditto
	(_initialize_nindy):                   Ditto
	* remote_nrom.c (init_nrom_ops) :      Ditto
	(_initialize_remote_nrom) :            Ditto
	*remote-os9k (init_rombug_ops) :       Ditto
	(_initialize_remote_os9k) :            Ditto
	*remote-rdi.c (init_rdi_ops) :         Ditto
	(_initialize_remote_rdi) :             Ditto
	* remote-rdp.c (init_remote_rdp_ops) : Ditto
	(_initialize_remote_rdp) :             Ditto
	* remote-sds.c (init_sds_ops) :        Ditto
	(_initialize_remote_sds) :             Ditto
	* remote-sim.c (init_gdbsim_ops) :     Ditto
	(_initialize_remote_sim) :             Ditto
	* remote-st.c (init_st2000_ops):       Ditto
	(_initialize_remote_st2000):           Ditto
	*remote-udi.c (init_udi_ops) :         Ditto
	(_initialize_remote_udi) :             Ditto
	* remote-vx.c (init_vx_ops) :          Ditto
	(init_vx_run_ops) :                    Ditto
	(_initialize_vx) :                     Ditto
	* remote.c (init_remote_ops):          Ditto
	(init_extended_remote_ops):            Ditto
	(_initialize_remote):                  Ditto
	* sparcl-tdep.c (init_sparclite_ops):  Ditto
	(_initialize_sparcl_tdep):             Ditto
	* v850ice.c (init_850ice_ops):         Ditto
	(_initialize_v850ice):                 Ditto
	*win32-nat.c: (init_child_ops):        Ditto
	(_initialize_inftarg):                 Ditto
1998-05-21 20:20:39 +00:00
Jason Molenda fe7fc334c6 remove errant ChangeLog header. 1998-05-21 18:07:33 +00:00
Elena Zannoni cb43207965 Thu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbtk.c: reinserted the changes that were accidentally deleted:
        (_initialize_gdbtk): Use correct device names in
        cygwin-specific call (cosmetic change).
        (gdbtk_ignorable_warning): removed va_list parameter,
        which was unused.
        (_initialize_gdbtk): add cygwin32 specific code to
        allow `gdb -nw' to work when specified specified from a windows
        console-mode command line.

        * ChangeLog: moved Chris Faylor's comment to ChangeLog-gdbtk
1998-05-21 18:03:25 +00:00
Jason Molenda 78af0a0094 Small typeos. 1998-05-20 23:29:03 +00:00
Gavin Romig-Koch 116b98b89a * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.
* mips/tm-tx39l.h : Same.
1998-05-20 19:31:04 +00:00
John Metzler 40fd928f8a Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>
* m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os.
        Split out as separate function called by skip prologue and scan
        prologue. new formula handles optimization in which the prologue
        is interleaved with the body of the function. Also recognizes new
        variations of prologue encoding.  Use of frame pointer is
        essential to debugging, -fno-omit-frame-pointer
        (m32r_skip_prologue): Call decode prologue, ignore line info
        (m32r_scan_prologue): Call decode prologue, ignore line info
1998-05-20 17:13:20 +00:00
John Metzler 5d460ad9b5 Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>
* w89k-rom.c (_initialize_w89k ): Call new init function
	             (init_w89k_cmds): Convert to dynamic initialization of
	              monitor_ops data structure for forward compatability with
	              additions to the data structure.
	* dbug-rom.c (_initialize_dbug_rom): ditto
	             (init_dbug_cmds):       ditto
	* m32r-rom.c (_initialize_m32r_rom):  ditto
	             (init_m32r_cmds):        ditto
1998-05-20 00:30:42 +00:00
Keith Seitz d4d1c7b5b3 * dbxread.c (process_one_symbol): If block addresses are relative to
function start addresses, reset function_start_address whenever a new
        source file is seen.
1998-05-18 20:48:58 +00:00
Mark Alexander 7ee554b50e * gdb.base/reread.exp: New file.
* gdb.base/reread1.c: New file.
	* gdb.base/reread2.c: New file.
1998-05-17 06:49:55 +00:00
Mark Alexander 7ec482ba5d * config/sim.exp: Use 'target sim -sparclite' when running
SPARClite programs.
1998-05-17 06:25:03 +00:00
Doug Evans fb543fc8ba Keep structs2.{c,exp} for now. 1998-05-17 01:50:07 +00:00
Doug Evans 183f3c8a4e * gdb.base/structs2.exp: New file.
* gdb.base/structs2.c: New file.
1998-05-17 01:50:06 +00:00
Frank Ch. Eigler c19916b73e * Bringing over patches for PR 15870, 15653 from chill/d30v branches.
Also, fixed a small third-party sanitize typo in ChangeLog.
1998-05-16 20:34:43 +00:00
Stu Grossman 6e8bee16e8 Java sanitization. 1998-05-15 19:51:35 +00:00
Mark Alexander 091d73027c Fix for PR 13484:
* corefile.c (reopen_exec_file): Reopen the exec file if
	it has changed.
1998-05-14 04:01:13 +00:00
Stan Shebs 900dc14b42 spelling and cosmetic tweaks 1998-05-14 01:23:59 +00:00
Mark Alexander f151b17fde * sparc-tdep.c (fetch_instruction): New function.
(single_step, sparc_init_extra_frame_info, examine_prologue):
	Use fetch_instruction instead of read_memory_integer
	to ensure that instructions are always read as big-endian.
1998-05-13 22:48:03 +00:00
Ian Lance Taylor 0aa3233efe * configure.in: Add AC_FUNC_ALLOCA.
* defs.h: Check HAVE_ALLOCA_H rather than sparc.  Add _AIX pragma
	alloca.
	* configure: Rebuild.
1998-05-13 22:38:55 +00:00
Doug Evans aa3b6d276b * gdb.asm/common.inc: New file.
* gdb.asm/d10v.inc: New file.
	* asm-source.exp: Pass -I's to gas to find .inc files.
	Update line numbers in expected output.
	* asmsrc1.s: Rewrite.
	* asmsrc2.s: Rewrite.
	* configure.in: Create arch.inc symlink.
	* configure: Regenerate.
	* Makefile.in (distclean): Delete arch.inc.
1998-05-13 20:38:50 +00:00
Jim Ingham b33b741a76 Wed May 13 11:12:58 1998 James Ingham <jingham@leda.cygnus.com>
* gdbtk.c: Fixed a goof in the definition of the gdb_get_args &
	gdb_get_locals Tcl commands.  Moved the previous ChangeLog entry
	from ChangeLog to ChangeLog-gdbtk...
1998-05-13 18:23:59 +00:00
Angela Marie Thomas b3c22f56b8 fix thinko that broke sanitized vr4100 build 1998-05-13 01:20:22 +00:00
Jeff Holcomb cc1ad64568 Tue May 12 13:29:20 1998 Jeff Holcomb <jeffh@cygnus.com>
* Makefile.in (install-only): Add images/icons.txt and
	images2/icons.txt to files that need to be installed.
1998-05-12 20:53:08 +00:00
Jim Ingham ff62d31088 Tue May 12 12:03:16 1998 James Ingham <jingham@leda.cygnus.com>
* gdbtk.c: Add an object call wrapper for the new Tcl_Obj based
	commands.  This way the obj commands will also go through
	catch_errors.  This is just a bandaid while I rewrite the
	string-based commands to use the object format.
1998-05-12 19:03:56 +00:00
Bob Manson 1e9c814fb9 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve
%o0-%o5 as 64-bit values; compensate for stack bias.
	(USE_STRUCT_CONVENTION): We only pass pointers to structs
	if they're larger than 32 bytes.
	(REG_STRUCT_HAS_ADDR): Ditto.

	* sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp()
 	instead of read_register. If the target is a sparc64 and the frame
 	pointer is odd, compensate for the stack bias.
	(get_saved_register): Use read_sp().
	(DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES.
	(sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64,
 	save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers.
	(sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC,
 	CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a
 	dummy frame.
	(sparc_pop_frame): Use write_sp(). If the target is a sparc64 and
 	the FP is odd, compensate for stack bias.
	(sparc_store_return_value): Right-justify the return value before
 	writing it to %o0.
	(sparc_fix_call_dummy): Don't NOP out part of the call dummy on
 	sparc64.
	(sparc64_read_sp, sparc64_read_fp, sparc64_write_sp,
 	sparc64_write_fp, sp64_push_arguments,
 	sparc64_extract_return_value): New functions to support the
 	sparc64 ABI.

	* dwarfread.c (handle_producer): Set processing_gcc_compilation to
 	the right version number.

	* dwarf2read.c (read_file_scope): Assume we're processing
	GCC2 output.
1998-05-08 05:30:24 +00:00
Jeff Law 7252da953d * somsolib.c: Include gdb_stat.h. 1998-05-06 22:33:06 +00:00
Christopher Faylor dfe9d3099d Tue May 5 09:30:25 1998 Christopher Faylor <cgf@cygnus.com>
* gdbtk.c (_initialize_gdbtk): Use correct device names in
	cygwin-specific calls (cosmetic change).
1998-05-05 13:33:37 +00:00
Stu Grossman 63c3e305f6 Update copyright. 1998-05-04 21:27:55 +00:00
Stu Grossman a41292bacd * ocd.h: Add new flags, function codes, and processor types to support
new Wiggler capabilities.
	* (ocd_write_bytes_size):  New function to allow atomic writes of
 	memory in sizes larger than a byte.
1998-05-04 21:26:02 +00:00
Jason Molenda ffab7b4551 Mon May 4 10:37:12 1998 Brian Youmans (3diff@gnu.org)
* refcard.tex:  Copyright, address updates.
1998-05-04 17:38:00 +00:00
Frank Ch. Eigler ce22529028 * Fixes for chill PR 15681
Fri May  1 19:51:32 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* stabsread.c (read_one_struct_field): Do not override supplied
 	bitfield size for a range type value.

	* gdbtypes.c (create_range_type): For a range with positive
	lower limit, declare range type as unsigned.
1998-05-04 15:16:42 +00:00
Stu Grossman e5a940e2c8 * ser-unix.c (baudtab): Add 57600, 115200, 230400, and 460800 baud. 1998-05-02 16:36:05 +00:00
John Metzler fcc1ac970e * monitor.c: Turn off debug 1998-05-01 17:59:36 +00:00
Peter Schauer a871ab927b * breakpoint.c (delete_command): Skip internal breakpoints when
all breakpoints are requested.

	* stabsread.c (define_symbol):  Record parameter types from Sunpro
	function stabs in the TYPE_FIELDS of the function type.
1998-05-01 16:31:51 +00:00
Jason Molenda 921d949de7 Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (config-check-targets, config-check-hosts): Removed.

1998-04-30  Paul Eggert  <eggert@twinsun.com>

        * Makefile.in (maintainer-clean):
        Don't get ahead of yourself and delete Makefile
        before running `make'.
        (local-maintainer-clean, do-maintainer-clean): New rules.
1998-04-30 23:01:07 +00:00
Elena Zannoni 5eb2b01c91 Wed Apr 29 15:53:16 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter,
        which was unused.
1998-04-30 16:20:17 +00:00
John Metzler 2a8b1fab7c Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
* nec4102rom.c : New file implements rom monitor adapter for
        nec-vr4102 board. This board hosts the vr4111 chip. This file
        required extenstions to the monitor_ops structure, hooks for wiat
        filter, new flags. This version does not support more than one
        breakpoint and resuming after a breakpoint in 16 bit mode is
        completely disfunctional.  * monitor.h : Defined additional hooks
        for dmpregs, confinuer_hooks and wait_filter. These additions
        require that all rom monitor interfaces be recoded to to
        initializa monitor ops using assignments rather than static
        structure initialization.  Added new bits to flags
        MO_EXACT_DUMPADDR, MO_HAS_BLOCKWRITES
        * monitor.c (RDEBUG): Conditional tracing throughout the file.
        (fromhex): Now recognized upper cse hex digits
        (monitor_printf_noecho):
        (monitor_readchar): Tracing interferes with input timing.
        (monitor_open): Register different memory write functions with
        dcache_init if MO_HAS_BLOCKWRITES.
        (flush_monior_dcache): Added as an additional utilty.
        (monitor-resume): Call continue hook if one has been supplied.
        (monitor_wait_filter): New function Factored out of monitor wait
        and used if alternate wait-filter has not been provided.
        (monitor_wait): call alternate wait filter if provided.  Call
        monitor_dump_regs, a new function factored out from inline code.
        (monitor_dump_block): A new function used as a utility when
        monitors must dump several blocks of registers using different
        commands.
        (monitor_dump_regs): Call alternate function if provided. Uses new
        hook in monitor.h.
        (monitor_write_memory): Engage previouly added hook
        MO_FILL_USES_ADDR.
        (monitor_write_even_block): new function supports writing long
        blocks of 4byte words.
        (longlongendswap): new internal function
        (monitor_write_memory_longlongs): new function writes large blocks
        using command to enter a long long.
        (monitor_write-memory_block): new Function figures out which block
        mod to use.
        (monitor_read_memory): Can now handle dump formats in which the bytes
        preceeding the requested data is not printed.
	* monitor.h: Added new fields to the structure
1998-04-29 17:33:57 +00:00
Tom Tromey b177bf844c * Makefile.in (GDBTKLIBS): New macro.
(INSTALLED_LIBS): Include GDBTKLIBS.
	(CLIBS): Likewise.
	* configure: Rebuilt.
	* configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
	(GDBTKLIBS): AC_SUBST.
1998-04-29 04:17:25 +00:00
Tom Tromey 4a3456fc9e * tracepoint.c (memrange_cmp): Another typo fix; `memrbnge' ->
`memrange'.
1998-04-29 01:48:05 +00:00
Tom Tromey 94415c7e2e * tracepoint.c (memrange_cmp): Fixed typo in function intro. 1998-04-29 01:44:40 +00:00
Jason Molenda 59813131fd Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be>
* symfile.c (overlay_auto_command): Add forgotten parameter definitions.
        (overlay_manual_command, overlay_off_command): Likewise.
        (overlay_load_command): Likewise.
        * tracepoint.c (memrange_cmp): Parameters have type void *, not
        struct memrange *.
1998-04-29 00:42:28 +00:00
John Metzler 82973f1861 Tue Apr 28 11:08:25 1998 John Metzler <jmetzler@cygnus.com>
* rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds
1998-04-28 18:14:54 +00:00
Mark Alexander 07f4558723 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,
make it work on the simulator.
	(FIX_CALL_DUMMY): Convert to function call instead of inline code.
	(sparc_fix_call_dummy): Declare.
	* sparc-tdep.c (sparc_fix_call_dummy): New function, taken from
	old FIX_CALL_DUMMY macro, with additional fixes for simulator.
	(sparc_push_dummy_frame): Set registers differently on simulator
	to prevent corrupted register window save areas.
1998-04-27 22:19:46 +00:00
John Metzler adc176bb64 Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com>
* rom68k-rom.c (_initialize_rom68k init_rom68k_cmds):
	* abug-rom.c (_initialize_abug_rom init_abug-cmds):
	* cpu32bug-rom.c (_initialize_cpu32bug_rom init_cpu32bug_cmds):
	* mon960-rom.c (initialize_mon960 init_mon960_cmds):
	* op50-rom.c (initialize_op50n  init_op50n_cmds) :
	* ppcbug-rom.c (_initialize_ppcbug_rom init_ppc_cmds) :
	* sh3-rom.c (_initialize_sh3_rom init_sh3_cmds) :
	* sparclet-rom.c (_initialize_sparcletinit_sparclet_cmds ) :
	* remote-est.c ( _initialize_est  init_est_cmds) :
	* remote-hms.c (  _initialize_remote_hms  init_hms_cmds) :
	  Convert all static initializations of monitor ops structures to
 	executable initializations in oreer tat additions to the data structure
	definition can me made without repeating this editing exercise
1998-04-27 21:11:07 +00:00
Jason Molenda a9eeaad765 Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gdb_string.h (strdup): Don't specify arguments in prototype.
1998-04-27 17:44:26 +00:00
Peter Schauer 8b150a6b18 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if
fstat on ldinfo_fd fails.  Use objfile->obfd instead of vp->bfd
	to check for reference to the same file.

	* target.c (target_read_string):  Handle string transfers at the
	end of a memory section gracefully.
1998-04-26 14:59:48 +00:00
Geoffrey Noer 6ef37205d9 Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: enable EXEEXT setting
1998-04-25 00:20:45 +00:00
Jeff Law 66a9a2633c * mips-tdep.c (mips32_decode_reg_save): Handle 128bit wide
GPR loads/stores generated on the r5900.
        (mips_find_saved_regs, mips32_skip_prologue): Likewise.
        * mips/tm-r5900.h (R5900_128BIT_GPR_HACK): Define.
        * mips/tm-txvu.h (R5900_128BIT_GPR_HACK): Likewise.
1998-04-24 17:39:54 +00:00
Keith Seitz e4a3374fe0 * Makefile.in (install-only): Install help files. 1998-04-24 02:06:00 +00:00
Jason Molenda 29f35f37b3 Thu Apr 23 16:37:20 1998 Jason Molenda (crash@bugshack.cygnus.com)
* README:  Minor changes for 4.17 release.
1998-04-23 23:40:11 +00:00
Per Bothner ffa157d8b1 * symfile.c (deduce_language_from_filename): .class implies java. 1998-04-23 22:47:00 +00:00