Commit graph

5924 commits

Author SHA1 Message Date
Fred Fish
d58ffc6cc6 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. 1996-03-17 01:08:19 +00:00
Fred Fish
bfcf3112c4 Forgot during last checkin.
* config.h.in: New file.
	* Makefile.in (distclean): Remove config.h and stamp-h during distclean.
	(config.h, stamp-h): New targets to remake config.h when necessary.
1996-03-17 00:53:34 +00:00
Fred Fish
db210d08e4 * acconfig.h: New file, for autoheader.
* configure.in (AC_CONFIG_HEADER): Add, generate config.h.
	* configure: Regenerate.
	* Makefile.in (defs_h): Add config.h
	* defs.h (config.h): Include before any other includes or defines.
	* i386-tdep.c (gdb_string.h): Move include after include of defs.h.
1996-03-17 00:36:07 +00:00
Fred Fish
6991e9579a * gdb.c++/misc.exp: Add note to message for
"print s.a for foo struct" that this is a known gcc 2.7.2
	and earlier bug.
1996-03-16 23:23:58 +00:00
Fred Fish
fdfd613467 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.texinfo (Expressions): Fix erroneous array constant example.
1996-03-16 22:16:06 +00:00
Fred Fish
d5fde1c906 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* Makefile.in (INSTALLED_LIBS):  Make sure that @LIBS@ will not
	result in an empty line, to work around a bug in native Ultrix 4.4
	and OSF/1-3.2C make.
1996-03-16 21:58:00 +00:00
Fred Fish
3dedc867b7 * configure.in: Add gdbserver to configdirs under linux.
* configure: Regenerate.
1996-03-16 21:46:56 +00:00
Fred Fish
d056cc31e1 * gdb.texinfo: Add missing "@bullet" to some "@itemize"
commands.
1996-03-16 21:46:06 +00:00
Fred Fish
1b5b958124 * gdb.base/break.exp: Fix pattern for matching "Delete all
breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
	setup_xfail for deleting all breakpoints test.  Fix various
	timeout messages to include "(timeout)".
	* gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
	for "p t_float_values2(3.14159,float_val2)".
	* gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
	for "continue to call2g" when gcc compiled.
	* gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
	"up to foo in langs.exp", "show language at foo in langs.exp",
	"show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
	and "show language at fsub in langs.exp".
	* gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
	"list line 1 in include file", "list message for lines past EOF",
	"list function in include file", "list list0.h:foo", and
	"list filename:function; nonexistant function".
	* gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
	"whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
	and "ptype t_char_array" to be for native cc only.
1996-03-16 19:51:15 +00:00
Fred Fish
a1cdb7172c * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
setup_xfail for "print coremaker_bss", "print coremaker_ro",
 	"print func2::coremaker_local", and "backtrace in corefile.exp".
1996-03-16 00:47:44 +00:00
J.T. Conklin
f727efb55d * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
* config/i386/tm-nbsd.h (NUM_REGS): Define.
1996-03-15 20:12:35 +00:00
Jeff Law
a404ea2596 * solib.c (solib_break_names): Add _r_debug_state for
vanilla SVR4 implementations.  From Peter Schauer.
1996-03-14 17:32:12 +00:00
Fred Fish
38b92747fe * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
"bt in signals.exp".  This problem only appears when running
	the testsuite, and then only intermittently.
1996-03-13 22:56:22 +00:00
Stan Shebs
063c5ee025 * gdb.base/return.exp (return_tests): Differentiate between
two tests of continuing.
1996-03-12 23:02:25 +00:00
Dawn Perchik
a4cf4e29f8 Keep mon960 files. 1996-03-11 23:52:05 +00:00
Dawn Perchik
2e665cd3ad * mon960-rom.c: New file; support mon960 rom monitor on i960.
* monitor.c (monitor_debug): Change remotedebug to buffer strings.
       * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
       epecting prompt and echo during open.
       * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
       determine if break should be sent as stop command.
       * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
       * i960-tdep.c (mon960_frame_chain_valid): New function for getting
       stack frame on mon960.
       * Makefile.in: Add mon960 files.
       * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
       added i960-nindy-coff* and i960-nindy-elf* for target nindy.
       * configure: Regenerated.
       * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
       support mon960 rom monitor on i960.
1996-03-11 23:49:22 +00:00
Steve Chamberlain
1ef980b961 Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
With Michael Snyder:
	* i386-tdep.c (skip_trampoline_code): Fix strncmp length.
	* win32-nat.c (CHECK, DEBUG*, debug_*): New.
	(handle_load_dll): Don't reload symbols.
	(handle_exception):  Use the DEBUG_* names.
	(child_wait): Add DEBUG_* code.
	(_initialize_inftarg): Add new commands to set debug_ names.
1996-03-11 19:08:57 +00:00
Jeff Law
803a31a3c8 * From Peter Schauer:
* breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
        (bpstat_stop_status): Likewise.
        (remove_solib_event_breakpoints): Likewise.
        (clear_momentary_breakpoints): Likewise.
        (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
        if we still can't read the memory for that breakpoint.
        (mention): Add bp_shlib_event case to keep gcc quiet.
1996-03-11 16:21:51 +00:00
Jeff Law
3c5124da49 * breakpoint.h (enum enable): New enum shlib_disabled for
shared library breakpoints that have been temporarily disabled.
        * breakpoint.c: Handle temporarily disabled shared library
        breakpoints like disabled breakpoints in most places.
        (insert_breakpoints): Use shlib_disabled to indicate
        that an unsettable breakpoint is only temporarily disabled.
        (re_enable_breakpoints_in_shlibs): New function.
        * corelow.c (solib_add_stub): After adding shared libraries,
        try to reenable any temporarily disabled breakpoints.
        * infcmd.c (attach_command): Likewise.
        * infrun.c (wait_for_inferior): Likewise.
Hopefully the last 7763 related patches for a while.
1996-03-08 19:16:33 +00:00
Ian Lance Taylor
4972c44eb3 * defs.h (extract_long_unsigned_integer): Declare.
* findvar.c (extract_long_unsigned_integer): New function.
	* printcmd.c (print_scalar_formatted): Use it.
	* valprint.c (val_print_type_code_int): Likewise.
1996-03-08 16:43:02 +00:00
Stan Shebs
00dd4fd9ad * infcmd.c (do_registers_info): Ignore anonymous registers.
* sh-tdep.c (set processor): New command to set specific
	processor type.
	(sh_reg_names, sh3_reg_names): Arrays of register names for
	SH and SH3 processors.
	(sh_set_processor_type): New function.
	* sh3-rom.c (sh3_open): Call it.
	(sh3_regname): Add names of all the bank registers.
	(sh3_supply_register): Clean up formatting.
	* config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
 	bank registers.
	(REGISTER_NAMES): Add names of bank registers.
	(FP15_REGNUM): Define.
	(REGISTER_VIRTUAL_TYPE): Use it.
	* monitor.c: Clean up some comments.
1996-03-08 02:04:19 +00:00
J.T. Conklin
43ece84dc3 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
s* and t* symbols too.
1996-03-07 20:13:45 +00:00
Jackie Smith Cashion
5a367b09e3 Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
* symfile.c (generic_load): Avoid division by zero.
1996-03-07 15:25:33 +00:00
Jeff Law
653fed07a6 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
not just those with HANDLE_SVR4_EXEC_EMULATORS.
Fixes linux native build problem.
1996-03-07 01:00:04 +00:00
Jeff Law
27b6a1fa2e * From Peter Schauer:
* breakpoint.c (internal_breakpoint_number): Move to file scope.
        (create_solib_event_breakpoint): Use an internal breakpoint number.
1996-03-06 16:36:13 +00:00
Wilfried Moser
bb901438ce * valarith.c (value_in): Change builtin_type_chill_bool to
LA_BOOL_TYPE.
1996-03-06 08:35:05 +00:00
Wilfried Moser
8513db3731 * powerset.exp: Add test. 1996-03-06 08:30:40 +00:00
Wilfried Moser
c105168f76 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
(match_string_literal): Handle control sequence.
        (match_character_literal): Deto.

        * ch-lang.c (chill_printchar): Change formating of nonprintable
        characters from C'xx' to ^(num).
        (chill_printstr): Deto.
        (value_chill_card, value_chill_max_min): New functions to process
        Chill's CARD, MAX, MIN.
        (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.

        * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
        for Chill's CARD, MAX, MIN.

        * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
        and change return type from builtin_type_int to
        builtin_type_chill_bool.
1996-03-06 08:02:45 +00:00
Wilfried Moser
6bf53072e9 * gch922.{ch,exp}, powerset.{ch,exp}: New test cases.
* builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated
        due to new format of nonprintable characters (control sequence
        instead of C'xx').
1996-03-06 07:44:46 +00:00
Stan Shebs
b4692cbc5e * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
from config/nm-nbsd.h.
	* config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
	from config/sparc/tm-nbsd.h.
1996-03-06 04:01:02 +00:00
Stan Shebs
d009ffd8ac * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
instead of in config/m68k/xm-hp300hpux.h.
1996-03-06 02:58:19 +00:00
Stan Shebs
45061b1e59 * */Makefile.in (maintainer-clean): Remove config.log.
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
	* gdb.c++/Makefile.in (PROGS): Add inherit.
	(clean): Remove *.ci.
1996-03-05 22:42:17 +00:00
J.T. Conklin
d554e554da * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
implementation for NetBSD systems.
1996-03-05 20:09:21 +00:00
Per Bothner
6cec39dc99 * string.ch, string.exp: Add tests (from Cygnus PR chill/9078). 1996-03-05 08:21:49 +00:00
Per Bothner
8d67b75aa2 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
(value_concat):  Handle varying strings (add COERCE_VARYING_ARRAY).
This fixes PR chill/9078.
1996-03-05 08:20:22 +00:00
Per Bothner
845fed18b8 * pr-9095.ch, pr-9095.exp: New test case. 1996-03-05 08:12:53 +00:00
Per Bothner
02e6e53d84 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
if "function" is pointer to non-function.
Fixes PR chill/9095.
1996-03-05 07:48:20 +00:00
Stan Shebs
f935141e4c * top.c (print_gdb_version): Update copyright year. 1996-03-05 02:13:33 +00:00
Jeff Law
11be829fa1 * From Peter Schauer:
* infrun.c (wait_for_inferior): Remove breakpoints and
        switch terminal settings before calling SOLIB_ADD.
        * solib.c (enable_break, SVR4 variant): Don't map in symbols
        for the dynamic linker, the namespace pollution causes real
        problems.
1996-03-04 21:50:10 +00:00
Jackie Smith Cashion
4f005fea32 Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (common_breakpoint): Explicitly terminate the
 	returned buffer.
1996-03-03 17:20:15 +00:00
Stan Shebs
cf3c093871 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remote_detach): Send a command 'D' to the target
	when detaching, update the function's comments.
1996-02-29 06:39:05 +00:00
Fred Fish
7d568604b1 Add xm-nbsd.h 1996-02-29 04:19:15 +00:00
Fred Fish
8fe2b2c53e * Makefile.in (VERSION): Bump version to 4.15.2 to establish
baseline for gdb 4.16 rerelease testing.
1996-02-28 23:53:00 +00:00
Jeff Law
a4f39c0651 * somsolib.c (som_solib_create_inferior_hook): Before returning
call clear_symtab_users.
Fixes minor hpux problem with 7763 patches.
1996-02-28 20:36:27 +00:00
Stan Shebs
d2d7e896d5 Always keep mips vxworks files 1996-02-25 22:05:49 +00:00
Stan Shebs
8fa6fcf829 * configure.in (mips*-*-vxworks*): New config.
* configure: Regenerated.

	* config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
	* remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
	Remove, never used.
1996-02-25 22:05:00 +00:00
Peter Schauer
a97a483ca8 * partial-stab.h (case N_FUN): Function symbols generated
by SPARCworks cc have a meaningless zero value, do not update
	pst->textlow if the function symbol value is zero.

	* stabsread.c (define_symbol):  Initialize SYMBOL_TYPE field
	for function prototype declaration symbols.
1996-02-24 20:32:48 +00:00
Stu Grossman
b5eccf7482 * remote-e7000.c (e7000_load): New routine to download via the
network.
	* (e7000_wait):  Don't backup PC when we hit a breakpoint.
	Apparantly new sh2 pods get this right...
	* (e7000_ops):  Add call to e7000_load.
1996-02-24 06:39:44 +00:00
J.T. Conklin
b7f3b6d5e6 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
m68knbsd-nat.c: New files, support for NetBSD/m68k.

* configure.in (m68k-*-netbsd*): New config.
* configure: Regenerated.
1996-02-22 09:11:16 +00:00
Fred Fish
6a6a552a29 * standalone.c (open, _initialize_standalone): Fix obvious typos
reported by Martin Pool <martin@citr.uq.oz.au>.
1996-02-22 01:58:53 +00:00