Commit Graph

4531 Commits

Author SHA1 Message Date
Andrew Cagney 57bb3453c4 * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
elf_info.
1999-01-27 04:45:28 +00:00
Mark Alexander 602886332b * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
v850_register_names, v850_processor_type_table): Declare tables
	and structures for handling differences in register names for
	v850 and v850e.
	(struct reg_list): Define new structure for creating tables
	of register bit masks in v850e instrutions.
	(handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
	(v850_scan_prologue): Recognize v850e instructions: callt, prepare,
	and pushm.
	(v850_target_architecture_hook): New function to set register
	names based on current machine.
	(_initialize_v850_tdep): Set up target_architecture_hook.
	* config/v850/tm-v850.h (v850_register_names): Declare.
	(REGISTER_NAME): Define to refer to v850_register_names.
	(SR0_REGNUM, CTBP_REGNUM): Define.
	(PS_REGNUM): Redefine in terms of SR0_REGNUM.
1999-01-27 00:15:00 +00:00
Elena Zannoni d8f4ee32b2 Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in (c-exp.tab.c): use BISON instead of YACC, to pick
	the correct value from configure output.
	(jv-exp.tab.c): ditto.
	(f-exp.tab.c): ditto.
	(m2-exp.tab.c): ditto.
1999-01-26 23:32:39 +00:00
Jason Molenda 517ab61151 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
* breakpoint.h (ep_is_exception_catchpoint): Add prototype.
        * frame.h (select_and_print_frame): Add prototype.
        * stack.c (func_command): Call select_and_print_frame with correct
        number of arguments.  Reformat whitespace.

As far as I can tell, the func command (only enabled in --dbx mode) doesn't
actually work right now, even with this rather glaring fix.  I'm not going
to spend time on it; dbx mode looks pretty seriously broken after a five
second glance.
1999-01-26 23:15:13 +00:00
Fernando Nasser a61e26e2d2 Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
* remote.c (remote_query): fix maximum packet size to account for
          remote_debug use.
          (putpkt): add comment to alert about extra byte need.
1999-01-26 21:57:10 +00:00
Mark Alexander 1eeb1b63fa * sh-tdep.c (sh_target_architecture_hook): Return immediately
when a matching machine is found.
1999-01-26 03:57:32 +00:00
Andrew Cagney 95490429f9 Fix typos. 1999-01-22 03:21:25 +00:00
Stan Shebs b58ed18b12 From J.T. Conklin <jtc@redbacknetworks.com>:
* top.c (init_main): Fix tipo in description of the remotetimeout
	variable.
	* breakpoint.c (bpstat_stop_status): Handle systems where
	DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
1999-01-22 03:09:06 +00:00
Stan Shebs 51aa361ef8 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
init only nonzero fields, leave to_require_attach and
	to_require_detach empty, not needed for /proc systems yet.
	(_initialize_procfs): Call init_procfs_ops.
1999-01-22 02:30:37 +00:00
Mark Alexander f5dce6c602 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
to fill in mon960_cmds structure properly.
1999-01-22 01:29:46 +00:00
Mark Alexander 7363ff9083 Changes for PR 8996:
* h8300-tdep.c (original_register_names, h8300h_register_names,
	h8300_register_names): Define new variables.
	(set_register_names): New function to set register names based on
	current CPU type.
	(h8300_command, h8300h_command, h8300s_command): Call
	set_register_names.
	* config/h8300/tm-h8300.h (h8300_register_names): Declare.
	(REGISTER_NAME): Define to refer to h8300_register_names.
1999-01-20 23:54:03 +00:00
Jim Blandy 36eeadb29d *** empty log message *** 1999-01-19 16:57:09 +00:00
Jim Blandy d21802cde4 *** empty log message *** 1999-01-19 16:56:22 +00:00
David Taylor 5337bd558b disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
updated.  new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c).
PR 16495 / PR 18213.
1999-01-19 16:20:39 +00:00
David Taylor d69cff284b only declare child_post_attach if CHILD_POST_ATTACH is defined. 1999-01-19 15:29:06 +00:00
Andrew Cagney 3b06727073 More make_cleanups/catch_errors warning fixes. 1999-01-19 12:28:20 +00:00
Andrew Cagney bc8bd256d0 HPMERGE:
More wrong uses of gdb_stderr and stderr/stdout.
More upddates to calls of catch_errors() so that call matches new interface.
1999-01-19 02:17:00 +00:00
Stan Shebs ab0e22180a * ser-ocd.c (ocd_open): Handle Unix case gracefully.
fixes bug reported on ecos-discuss
1999-01-19 02:13:06 +00:00
Stan Shebs 8a7dfaa090 * target.c (dummy_target): Don't initialize statically.
(init_dummy_target): New function, fills in dummy_target.
	(initialize_targets): Use it.
	* hpux-thread.c (hpux_thread_ops): Don't initialize statically.
	(init_hpux_thread_ops): New function, fills in hpux_thread_ops.
	(_initialize_hpux_thread): Use it.
	* m3-nat.c (m3_ops): Don't initialize statically.
	(init_m3_ops): New function, fills in m3_ops.
	(_initialize_m3): Use it.
1999-01-19 00:49:41 +00:00
Fernando Nasser 49f47b0013 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
* sol-thread.c: delete compile time initialization of target_ops
          (_initialize_sol_thread): initialize target_ops at run time.
        * hpux-thread.c: added target_ops entry.
        * m3-nat.c: ditto.
1999-01-19 00:39:04 +00:00
David Taylor 63f8d5f5b3 change initialization of procfs_ops from compile time to run time. 1999-01-18 20:22:43 +00:00
Christopher Faylor 040bbbc24b * configure.in: Ensure that -luser32 is always linked in for cygwin build.
* configure: Regenerated.
1999-01-18 17:54:36 +00:00
Mark Alexander a396d2bd0d * values.c (value_virtual_fn_field): Clear the pointed-to
offset when casting to the base class.
1999-01-18 16:43:01 +00:00
David Taylor f9a5267ce6 fix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile. 1999-01-18 15:35:10 +00:00
Andrew Cagney c634a08ff8 HPMERGE:
Pass gdb_stderr instead of stderr.
In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*
1999-01-18 01:24:06 +00:00
Andrew Cagney 8bdec905f1 Fix warnings from calls to catch_errors() and make_cleanup(). 1999-01-18 00:46:13 +00:00
Andrew Cagney 6e45c399c1 catch_errors() takes PTR argument/func instead of char* argument/func.
Update breakpoint.c.
Fix (?) cover_target_enable_exception_callback().  Wasn't returning a
value.
1999-01-17 23:23:42 +00:00
Fernando Nasser 2bef607561 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* remote.c (remote_query): new function - creates proper interface
        to the remote protocol "q" command.
1999-01-16 19:01:23 +00:00
Zdenek Radouch 517b49896a Changed ABI to match a GCC change. Structs passed by value are always
passed using a pointer.
1999-01-15 22:17:00 +00:00
Fernando Nasser 7269d43e10 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* target.h: added entry for target queries (to_query)
          target.c: ditto.
1999-01-15 17:30:25 +00:00
David Taylor 1206c6599d fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.
1999-01-14 23:40:25 +00:00
Michael Snyder dab43dfdcd Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.
1999-01-14 18:46:54 +00:00
David Taylor 320d5bd8b6 insert_breakpoints -- insert cast to eliminate warning. 1999-01-14 00:37:26 +00:00
David Taylor 9e309e8341 change by Edie. 1999-01-13 17:18:32 +00:00
Jason Molenda 642c5be775 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_base_monitor_ops): Whitespace cleanup.
        (_initialize_remote_monitors): Same.
1999-01-13 01:49:33 +00:00
Jason Molenda 9d4010dcac 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_monitor_ops): Initialize the monitor_ops
        structure if it hasn't already been done.

PR 18735
1999-01-13 01:45:04 +00:00
Stan Shebs 7110ccc127 * inftarg.c (child_ops): Don't initialize statically.
(init_child_ops): New function, fills in child_ops.
	(_initialize_inftarg): Use it.
	(child_post_attach): Declare extern.
	(child_wait): Fix ambiguous parens.
	(child_attach_to_process): Remove unused local wstatus.
	(child_insert_fork_catchpoint, child_remove_fork_catchpoint,
	child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
	child_has_forked, child_insert_exec_catchpoint,
	child_remove_exec_catchpoint): Return a value.
1999-01-12 22:58:18 +00:00
Michael Snyder 98c5c19292 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_wait): Add inferior_pid to thread list only
        if it is not already there.
1999-01-12 00:44:30 +00:00
Jason Molenda 897ccbb084 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
* scm-tags.h: Update FSF's address on copyright notice.
        * ser-e7kpc.c: Same.
        * gnu-nat.h: Same.
1999-01-11 23:22:25 +00:00
Stu Grossman 4cffc916c1 * dwarf2read.c (dump_die): Change stderr gdb_stderr.
* expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
	* jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
	* stack.c (struct function_bounds):  Remove superfluous `typedef'.
	* symfile.c (list_overlays_command):  stdout => gdb_stdout.
	* symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
	* utils.c (print_spaces):  Make more efficient.
1999-01-11 21:51:39 +00:00
David Taylor 776fb68dfc print_spaces -- fix arg to strcat (broken by 1.165.6.4 change to utils.c). 1999-01-11 18:58:07 +00:00
Stan Shebs 4d8f8e121a * exec.c (exec_ops): Don't initialize statically.
(init_exec_ops): New function, fills in exec_ops.
	(_initialize_exec): Use it.
1999-01-08 20:03:11 +00:00
Zdenek Radouch 1c3101060c Beta version of the FR30 port. 1999-01-07 22:54:18 +00:00
David Taylor 460845ab29 HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files. 1999-01-06 23:10:48 +00:00
Stan Shebs 7517f04bc4 * remote.c: Pacify --enable-build-warnings, reformat code
to conform to standards, fix spelling errors.
	(ishex, stubhex, record_currthread, etc): Declare.
	(ishex, stubhex): Declare char arg as int.
	(pack_string): Comment out, never used but possibly useful.
	(threadref_to_int, remote_get_threadinfo, etc): Make static.
1999-01-06 20:14:30 +00:00
David Taylor 3473370194 HP merge changes by eepstein and ezannoni; added external flag
hp_som_som_object_present; added true and false tokens; changed some of
the template processing code for handling HP aCC templates.
1999-01-06 16:52:17 +00:00
Michael Snyder b53a15146c * remote.c (record_curthread): Must not modify inferior_pid when
called from wait_for_inferior.  Instead, if a new thread-id is
	detected, call add_thread.  (MAGIC_NULL_PID): new macro, use
	instead of the magic number "42000".  (remote_find_new_threads):
	if inferior_pid is unknown, get and use the current thread id.
	(remote_start_remote): on connecting, attempt to get the current
	thread id for inferior_pid.  (remote_resume): If pid == -1,
	then resume any-thread (not the current thread specifically).
	* thread.c (info_threads_command): don't initialize current_pid
	until after call to FIND_NEW_THREADS (which may change inferior_pid).
1999-01-06 03:08:10 +00:00
David Taylor 490825560e target.c (noprocess): terminate sentence with a period.
breakpoint.c (catch_command_1): ditto.
1999-01-05 22:01:26 +00:00
David Taylor eceede3100 c_value_print -- remove hack^2 from HP -- it causes testsuite losses with
no real gain.
1999-01-05 17:08:19 +00:00
David Taylor 2819d3d65f restore START_INFERIOR_TRAPS_EXPECTED if not already defined by tm-*.h 1999-01-05 16:58:28 +00:00
Jason Molenda d951f9e4f9 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Fix whitespace indentation for --help.
        * configure: Regenerated.
1999-01-05 01:42:38 +00:00
Jason Molenda d7f71863da 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
* main.c: Add --write command line option, document -w.
        * gdb.1: Document --write.
1999-01-05 00:50:49 +00:00
Jason Molenda f240337a6f 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.12.1 or higher.
        * doc/configure.in: Ditto.
        * nlm/configure.in: Ditto.
        * rdi-share/configure.in: Ditto.
        * testsuite/configure.in: Ditto.
        * doc/Makefile.in: Don't hardcode $(SHELL).
        * nlm/Makefile.in: Ditto.
        * rdi-share/Makefile.in: Ditto.
        * testsuite/Makefile.in: Ditto.
1999-01-05 00:17:07 +00:00
Stan Shebs 73ec6020e5 Split the ChangeLog by year 1999-01-04 21:06:51 +00:00
Stan Shebs 64aa82eb77 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
inits of new fields, including ref to bogus field.
	(vx_ops, vx_run_ops): Make static.
1999-01-04 21:01:58 +00:00
David Taylor 97bff53b38 delete redundant definition of STARTUP_INFERIOR_TRAPS_EXPECTED. 1999-01-04 20:21:16 +00:00
David Taylor 3e1d3d67b9 change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion. 1999-01-04 20:07:59 +00:00
Stan Shebs 4c49748e82 * corelow.c (core_ops): Don't initialize statically.
(init_core_ops): New function, fills in core_ops.
	(_initialize_corelow): Use it.
1998-12-31 23:28:57 +00:00
Stan Shebs b5c7e12253 Add a sky sanitization, cosmetic changes for consistency 1998-12-31 23:25:34 +00:00
David Taylor 65b07ddca8 all remaining *.c *.h files from hp merge. 1998-12-31 21:58:30 +00:00
Stan Shebs c4b2310000 From J.T. Conklin <jtc@redbacknetworks.com>:
* i386-stub.c: Fix error string in last change.
1998-12-31 01:50:43 +00:00
Jason Molenda adcb1e06ef 1998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)
* utils.c: <readline/readline.h> instead of "readline/readline.h".

        * configure.in (TERM_LIB): Search for the appropriate term library
        on the host system.
        * configure: Regenerated.
        * Makefile.in (TERMCAP): Set based on autoconf check.
        * config/*/*.mh: Don't override TERMCAP setting.
1998-12-31 01:30:52 +00:00
Mark Alexander 1b0df0adcb * value.c (value_virtual_fn_field): Handle the situation where
vtbl is a pointer to a structure instead of a pointer to an array.
1998-12-31 01:29:30 +00:00
David Taylor 4ef1f46773 hp merge changes -- too numerous to mention here; see ChangeLog and
ChangeLog-gdbtk for details.
1998-12-28 23:06:13 +00:00
Per Bothner 0bf2ba41ef * Makefile.in (READLINE_CFLAGS): Search $(READLINE_SRC)/.. rather
than $(READLINE_SRC) so #include <readline/readline.h> will work.
	* top.c:  #include <readline/history.h> instead of "history.h".
	* tracepoint.c:  Likewise.
	* mac-xdep.c:  Likewise.
1998-12-23 23:06:11 +00:00
Andrew Cagney 30ce5223b8 * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT): Define using
TARGET_BYTE_ORDER and not target_byte_order.
1998-12-23 02:13:37 +00:00
Elena Zannoni 83e2dcc014 Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/i386/cygwin.mh (TERMCAP): define.
 	(from Chris Faylor, cgf@cygnus.com)
1998-12-22 22:10:23 +00:00
Elena Zannoni 57ac5cfff1 Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* top.c: specify directory name for including readline.h

	* tracepoint.c: ditto.

	* utils.c: ditto.
1998-12-22 22:06:48 +00:00
Mark Alexander 4a1b8bb277 Fix for PR 18470:
* value.c (value_virtual_fn_field): Handle the situation where
	vtbl is a pointer to a structure instead of a pointer to an array.
1998-12-21 21:34:39 +00:00
Andrew Cagney 6535b1df92 1998-12-17 J.T. Conklin <jtc@redbacknetworks.com>
* blockframe.c (get_frame_saved_regs): If the saved_regs_addr ptr
is null, ensure that saved registers are copied from the local
variable that was used to obtain them.
1998-12-20 23:04:45 +00:00
Stu Grossman 0e52a532e4 * mips-tdep.c (mips32_heuristic_proc_desc): Clear temp_saved_regs
on restart.  Fixes problem with backtracing through functions that
	use virtual frame pointers.
1998-12-19 17:56:40 +00:00
Andrew Cagney 1fe2e66a01 CARP/vr4xxx:
Rewrite ``set mipsfpu'' command so that it works with the multi-arch
framework.  For vr4111 and vr4121 disable the FPU.
1998-12-18 05:14:06 +00:00
Andrew Cagney 2e64ee9aae CARP:
Pass gdbarch_info by value to the arch init function.
Review doco.
Update mips-tdep.c
1998-12-18 03:21:45 +00:00
Andrew Cagney ff6f2f5786 CARP:
For MIPS, multi-arch MIPS_EABI, MIPS_LAST_FP_ARG_REGNUM,
MIPS_LAST_ARG_REGNUM.
1998-12-16 15:13:55 +00:00
Andrew Cagney 115c338d20 CARP:
Swap the GDB builtin types when ever the architecture changes.
1998-12-16 15:05:19 +00:00
Andrew Cagney dcf46491d8 CARP:
Add multi-arch code!
1998-12-16 15:01:03 +00:00
Andrew Cagney e81bad50a8 * gdbtypes.c (build_gdbtypes): New function.
(_initialize_gdbtypes): Call.
1998-12-16 14:57:08 +00:00
Andrew Cagney 5036d102ed * gdbarch.c (show_architecture): Use TARGET_ARCHITECTURE.
* gdbarch.h, gdbarch.c: Fix typo's. Use struct's in preference to
types.
* gdbarch.h, gdbarch.c (gdbarch_debug): Add ``set archdebug'' to
command set.
1998-12-16 01:17:50 +00:00
Stan Shebs 91e14aa9a7 Fix sanitization mistake, move gdbtk change entries to right place 1998-12-15 19:44:29 +00:00
Andrew Cagney 759181e384 config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT,
TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and
TARGET_BYTE_ORDER_SELECTABLE.
1998-12-15 13:35:50 +00:00
Jason Molenda fc5b254aa6 1998-12-14 Anthony Thompson (athompso@cambridge.arm.com)
* remote-rdp.c (rdp_init): Don't discard first character on reset.
        (translate_open_mode): Define table.
        (exec_swi): Handle SWI_Clock.  SWI_Open now handles stdin/stdout.
        SWI_Write returns number of bytes not written.  SWI_Read does the
        same.  SWI_Seek should return success/failure flag.  Fix SWI_Flen.

A patch from PR 15841 for the RDP (Demon) interface.
1998-12-14 23:55:25 +00:00
Stan Shebs 6d2743e5ec 1998-12-14 J.T. Conklin <jtc@redbacknetworks.com>
* config/i386/nbsd.mh, config/m68k/nbsd.mh, config/ns32k/nbsd.mh
	(XDEPFILES): Add ser-tcp.o.
1998-12-14 23:42:19 +00:00
Andrew Cagney f0b5151401 Fix typo TM_PRINT_INSN_INFO -> TARGET_PRINT_INSN_INFO
Move gdbtk stuff to gdbtk file.
1998-12-14 23:17:16 +00:00
Andrew Cagney 456c9134ae Always compile EXTRA_MDEBUG code (even when it is disabled). 1998-12-14 04:54:13 +00:00
Andrew Cagney 14a15da3a5 Fix C-Style in init function. 1998-12-14 03:47:38 +00:00
Andrew Cagney 20dd6c3bb8 * monitor.c (monitor_printable_string): New function to convert a into
a printable representation.
(monitor_error): Call error after converting string into printable
format.
(monitor_printf{,_noecho}): If EXTRA_RDEBUG is defined, convert string
into printable form before printing.
(monitor_expect): Ditto.
(monitor_read_memory{,_single}): Call monitor_error, not error.
(monitor_read_memory): Return immediately if length is 0.
* ppcbug-rom.c (init_ppc_cmds): Fill in dump_registers field, which is
now required.
1998-12-14 03:29:52 +00:00
Andrew Cagney f7e85b1bc1 CARP:
Consolidate the semi-dynamic target system dependant GDB parameters
moving them all into a new file.
1998-12-14 02:37:16 +00:00
Andrew Cagney aaa3c096db CARP:
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.

Document.

Convert mn10300 and PPC targets.
1998-12-13 23:28:46 +00:00
Andrew Cagney 86a51f415d CARP: Mechanism to replace EXTRA_FRAME_INFO.
Add two pointers (saved_regs, extra_info) to struct frame_info.
Introduce new macro FRAME_INIT_SAVED_REGS which replaces
FRAME_FIND_SAVED_REGS.

Document.

Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS,
Z8K and SPARC targets.
1998-12-12 02:50:39 +00:00
Jeff Law 0b174df89d * txvu-tdep.c (set_vxtu_prompt): Rename set_prompt. 1998-12-11 22:53:20 +00:00
Fernando Nasser a4c7e96587 1998-12-11 Fernando Nasser <fnasser@cygnus.com>
From J.T. Conklin  <jtc@redbacknetworks.com>:
        * i386-stub.c (handle_exception): Add support for 'P' command.
        (NUMREGS): New macro.
1998-12-11 21:17:56 +00:00
Jason Molenda 852b7d1192 1998-12-11 Jeff Law (law@cygnus.com)
* configure.in (with-sim-gpu2): Do not emit a -L argument without
        an associated pathname.  Link in the math library after the gpu2
        library.

Assumes that libm is around (and doesn't take advantage of the
AC_CHECK_LIB(m) that is already in configure.in), but this is a
minor point and unlikely to cause problems.
1998-12-11 18:47:33 +00:00
Andrew Cagney 8b1773ee6a Fix compiler warnings on FreeBSD. 1998-12-11 01:30:59 +00:00
Andrew Cagney d70a61e74c CARP:
More replace reg_name[] with REGISTER_NAME().
1998-12-10 23:07:24 +00:00
David Taylor 4770ff087a Start of HP merge changes to GDB. 1998-12-10 21:25:43 +00:00
Andrew Cagney 9ddf9aa9be CARP:
Rename REGISTER_NAMES{} -> REGISTER_NAME().
1998-12-10 06:10:03 +00:00
Jim Wilson e351e0fca0 Link with i960 simulator.
* config/i960/mon960.mt (SIM_OBJS, SIM): Define.
1998-12-09 06:54:51 +00:00
Stan Shebs ab796a3d17 * NEWS: Add mentions of newly-added configurations. 1998-12-09 00:51:48 +00:00
Jason Molenda ac95dc5eeb 1998-12-08 Philippe De Muyter <phdm@macqel.be>
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window'
        must accept a signal number as parameter.
        * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto.
        * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'.

        * inferior.h (register_valid): Variable's type is `SIGNED char', not
        `char'.
        * findvar.c (register_valid): Ditto.

        * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'.
        * gdbthread.h (unbind_target_thread_vector): Likewise.
1998-12-09 00:38:46 +00:00
Edith Epstein 09faf0c212 Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Merged in m68k-linux patch from Andreas Schwab

        1998-12-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

        * Makefile.in, configure.host, configure.tgt: Add support for
        m68k-linux.
        * config/m68k/linux.mh: New file.
        * config/m68k/linux.mt: New file.
        * config/m68k/nm-linux.h: New file.
        * config/m68k/tm-linux.h: New file.
        * config/m68k/xm-linux.h: New file.
        * gdb/m68klinux-nat.c: New file.
        * gdbserver/low-linux.c: Add support for m68k-linux.
        * gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.
1998-12-08 21:57:35 +00:00