Commit Graph

4531 Commits

Author SHA1 Message Date
Edith Epstein 1994dc7cfc Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch.
          Added NUM_FREGS macro.

        * config/m68k/xm-linux.h: m68k-linux patch. New file.

        * config/m68k/tm-linux.h: m68k-linux patch. New file.

        * config/m68k/nm-linux.h: m68k-linux patch. New file.

        * config/m68k/linux.mt: m68k-linux patch. New file.

        * config/m68k/linux.mh: m68k-linux patch. New file.

        * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef
          that checks the value of __GLIBC to decide whether or
          not to include sys/reg.h.

        * m68klinux-nat.c: m68k-linux patch. New file. Note
          both m68k-tdep.c and m68klinux-nat.c contain definitions
          for supply_gregset and supply_fpregset. The definitions
          in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise,
          the definitions in m68klinux-nat.c will be used. This is a
          bit of a hack. The supply_* routines do not belong in
          *_tdep.c files. But, there are several lynx ports that currently
          depend on these definitions.

        * configure.tgt: m68k-linux patch. Added m68*-*-linux*
          gdb_target.

        * configure.host: m68k-linux patch. Added m68*-*-linux*
          gdb_host.

        * Makefile.in: m68k-linux patch. Added compile line for
          m68klinux-nat.o
1998-12-08 20:41:19 +00:00
Jason Molenda 223a358838 1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition.
        * config/powerpc/xm-cygwin.h: Ditto.

PR 17664.

With this define in place, you can't type "q" to get out of GDB's pager
under Cygwin.
1998-12-07 23:07:17 +00:00
Jim Blandy 0bd416fe37 *** empty log message *** 1998-12-07 20:28:31 +00:00
Jason Molenda edc452d07d 1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (monitor_read_memory): Zero out pattern buffers
        before calling re_search.
        (parse_register_dump): Ditto.

PR 18049.  This bug had existed erratically since I upgraded to
the new gnu-regex.c this last summer.  The problem is mostly in
parse_register_dump; the allocated structure has some random values
in it and there is a flag set in the register_pattern structure by the
gnu-regex library which indicates that the values in the re_registers
should be trusted.

If those arbitrary contents aren't zero, gnu-regex tries to run realloc
on them and we get a core dump on some hosts for some targets when the
moon is just right.
1998-12-04 04:46:18 +00:00
Zdenek Radouch 254ba53622 FR30 updates/checkpoint. 1998-12-03 15:40:00 +00:00
Andrew Cagney 1c3cd1b020 Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
1998-12-03 05:34:25 +00:00
Michael Snyder a9d0b92329 Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-tdep.c (decode_prologue): If no branch or push fp is found,
        but there's a stack adjust, then use that as the end of prologue.
        (m32r_skip_prologue): don't skip past the first line if there is
        line info.  (m32r_virtual_frame_pointer): new function.
        (m32r_fix_call_dummy): no return value needed.
1998-12-03 00:50:54 +00:00
Michael Snyder 55be5ef506 Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c: Move default definition of
        TARGET_VIRTUAL_FRAME_POINTER from here to target.h.
        * target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER.
        * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address):
        use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer.
        (gen_trace_for_expr): new argument, address of tracepoint,
        gets passed to new_agent_expr and added to struct agent_expr.
        (is_nontrivial_conversion): call to new_agent_expr now requires
        a dummy argument.  (agent_command): use get_current_frame() to
        get current PC scope; pass it to gen_trace_for_expr.
        * ax-general.c (new_agent_expr): new argument, address of
        tracepoint; store it in new field of struct agent_expr.
        * ax.h (struct agent_expr): add new field for tracepoint address.
        * ax-gdb.h: change prototypes to match above changes.
1998-12-02 23:22:58 +00:00
Doug Evans 3f235519e6 * config/fr30/tm-fr30.h (INNER_THAN): Add parameters. 1998-12-01 00:05:18 +00:00
Andrew Cagney b696009406 CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-30 10:56:16 +00:00
Andrew Cagney 8743fc885f CARP:
Convert ADDR_BITS_REMOVE to a function.
1998-11-29 07:41:36 +00:00
Andrew Cagney 3a0c96a996 CARP:
Rewrite INNER_THAN so that it takes parameters.
1998-11-28 22:53:04 +00:00
Andrew Cagney 0233186932 CARP:
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing
  #ifdef's.
NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P +
  SOFTWARE_SINGLE_STEP.  Replace global variable one_stepped with static
  singlestep_breakpoints_inserted_p.  Cleanup infrun.c (scary!).
1998-11-27 23:35:08 +00:00
Andrew Cagney 679ce73102 CARP: Delete ABOUT_TO_RETURN across all targets. 1998-11-26 11:13:01 +00:00
Andrew Cagney 07137a112d * rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint
and little_breakpoint to char[] from char*.
* remote-array.c (array_insert_breakpoint): Change bp_addr to
CORE_ADDR type.
1998-11-26 10:36:45 +00:00
Andrew Cagney c8623080cb CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
1998-11-25 22:13:53 +00:00
Andrew Cagney 9ff152f7f5 mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
address of bplen.
1998-11-25 09:44:57 +00:00
Gavin Romig-Koch f8c41900fc For top level:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.


For gcc:
	* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
	* configure.in (mips64vr4xxx,mips64vr4xxxel): New.
	* config/mips/t-vr4xxx: New.
	* config/mips/elfb4xxx.h: New.
	* config/mips/elfl4xxx.h: New.
	* configure: Rebuilt.

For gas:
	* config/tc-mips.c (md_begin): Added mip64vr4xxx as a
	possible CPU_TARGET.

For gdb:
	* configure.tgt: Handle mips64*vr4xxx.

For ld:
	* configure.tgt: Handle mips64*vr4xxx.
1998-11-25 01:10:52 +00:00
Felix Lee 15af627cc0 * procfs.c (procfs_wait): handle syscall events first.
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros.
        * config/sparc/xm-sun4sol2.h: use them.
        * core-sol2.c: don't #undef gregset_t and fpregset_t.
        * sol-thread.c: ditto.
        * sparc-tdep.c: ditto.
1998-11-24 14:51:13 +00:00
Andrew Cagney afcad54a90 CARP: *BREAKPOINT*
Convert mn10300, MIPS and powerpc/rs6000 targets to use
BREAKPOINT_FROM_PC
Delete global variable memory_breakpoint_size.  Use BREAKPOINT_FROM_PC
instead.
1998-11-24 13:49:00 +00:00
Michael Snyder e1dba9c442 Mon Nov 23 11:38:40 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* symfile.c (deduce_language_from_filename): rewrite so as to
        work from a table of filename extensions, modifiable by the user.
        (filename_language_table): new data structure.
        (set_ext_lang_command): new function for new command, "set
        extension-language".  (info_extension_language_command): new
        function for new command "info extension-languages".
        (add_filename_language, init_filename_language_table): new
        support functions for the above.
        * language.c (language_enum): new function.  Support for above.
1998-11-23 19:44:42 +00:00
Andrew Cagney 98760eab33 CARP: Convert macro definitions of USE_STRUCT_CONVENTION into target
specific functions.
1998-11-23 12:35:23 +00:00
Stan Shebs 92fb1f2eba Sat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>
* breakpoint.c (bpstat_stop_status): Do not increment hit_count
	of breakpoint if condition is not true.
1998-11-21 20:16:49 +00:00
Stan Shebs aa8938d581 Sat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>
* coffread.c (coff_symtab_read): Discard C_LABEL's that are not
	function entry points, to avoid getting them in the stack dump
	instead of the actual function.
1998-11-21 19:59:37 +00:00
Stan Shebs 6b29a8b13b * config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;
without NAT_FILE definition, configure will assume that GDB cannot
 	run native.
	* config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro.
	* delta68-nat.c (kernel_u_size): New function.
1998-11-21 19:28:44 +00:00
Andrew Cagney 60a98b30b4 CARP:
* buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
1998-11-20 00:00:24 +00:00
Geoffrey Noer 6bd87f42ef Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>
* rdi-share/host.h: if compiling under Cygwin, make sure new
        preprocessor define is defined.  Define it if not.
        * rdi-share/hostchan.h: ditto
        * rdi-share/aclocal.m4: regenerate
        * rdi-share/configure: regenerate
1998-11-19 23:26:12 +00:00
Geoffrey Noer 2196638d08 Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>
* rdi-share/host.h: if compiling under Cygwin, make sure new
        preprocessor define is defined.  Define it if not.
        * rdi-share/aclocal.m4: regenerate
        * rdi-share/configure: regenerate
1998-11-19 23:22:51 +00:00
Geoffrey Noer 94a919180a Thu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: switch back to checking __CYGWIN32__
        * configure: regenerate
1998-11-19 22:44:42 +00:00
Andrew Cagney a6a070be50 CARP:
* exec.c (exec_file_command): Cleanup. Replace #if
NEED_TEXT_START_END with if().
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1.
* config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto.
* config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto.
* config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.
1998-11-19 22:04:08 +00:00
Geoffrey Noer 1a443730ce Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com>
* main.c: Wait until more time has passed before calling
        new cygwin_ funcs, revert back to the cygwin32_ ones for now.
        * win32-nat.c: Ditto.
1998-11-19 21:21:34 +00:00
Andrew Cagney 206e3a8a5c Replace sys_errlist with strerror(). 1998-11-18 04:19:31 +00:00
Michael Snyder 1ba38e79f8 Wed Nov 11 15:47:00 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* procfs.c (proc_set_exec_trap): don't set PR_ASYNC or PR_FORK
        in the child process for UnixWare (causes processes forked by
        the debuggee to hang).
1998-11-18 00:22:45 +00:00
Geoffrey Noer 8adbc73e78 Mon Nov 16 14:17:05 1998 Geoffrey Noer <noer@cygnus.com>
* defs.h: if compiling under Cygwin, define __CYGWIN__ if
        __CYGWIN32__ is defined and __CYGWIN__ isn't for backwards
        compatibility.
1998-11-16 22:17:37 +00:00
Geoffrey Noer d836385e11 Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>
Changes to account for name change from cygwin32 to cygwin and
        clean up Win32-related ifdefs.

        * configure.tgt: check for cygwin* instead of cygwin32.
        New cygwin gdb_target variable loses the "32".
        * configure.host: check for cygwin* instead of cygwin32.
        New cygwin gdb_host variable loses the "32".
        * configure.in: test __CYGWIN__ instead of __CYGWIN32__,
        rename gdb_cv_os_cygwin32 variable to drop the "32".  Call
        AM_EXEEXT instead of AC_EXEEXT since that isn't in a released
        autoconf yet.
        * configure: regenerate.

        * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h
          where
        cygwin path conv protos live, instead of adding a proto here
          for
        them here.
        * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__
        instead of __CYGWIN32__.
        * source.c: thoughout, check _WIN32 instead of WIN32.

        * config/i386/cygwin32.mh: delete.
        * config/i386/cygwin.mh: new file, was cygwin32.mh.
        * config/i386/cygwin32.mt: delete.
        * config/i386/cygwin.mt: new file, was cygwin32.mt.
        * config/i386/tm-cygwin32.h: delete.
        * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h.
        * config/i386/xm-cygwin32.h: delete.
        * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h.
        * config/i386/xm-windows.h: #include xm-cygwin.h now.
        * config/powerpc/cygwin32.mh: delete.
        * config/powerpc/cygwin.mh: new file, was cygwin32.mh.
        * config/powerpc/cygwin32.mt: delete.
        * config/powerpc/cygwin.mt: new file, was cygwin32.mt.
        * config/powerpc/tm-cygwin32.h: delete.
        * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h.
        * config/powerpc/xm-cygwin32.h: delete.
        * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h.

        * rdi-share/aclocal.m4: regenerate with aclocal.
        * rdi-share/configure: regenerate with autoconf.
        * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c,
        * serpardr.c,
        unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
1998-11-13 08:16:08 +00:00
John Metzler 9ee5984468 * remote.c (remote_get_threadinfo) : Support for remote
multithread debugging.
        (remote_get_threadlist) : get a partial list of threads
        (remote_threadlist_iterator) : Step through all the threads
        (init_remote_threadtests) : Optional builtin unit test commands.

        * thread.c (bind_target_thread_vector) : Implementa a more dynamic
        way of accessing target specific thread info functions than
        FIND_NEW_THREADS.
        (target_thread_info) : Function to get extended thread information.

        * gdbthread.h : Export internal data structures corresponding to
        external detailed thread info response. This is more like a 'ps'
        command than what might be expected of host based threads. This
        is for embedded systems.
1998-11-13 01:23:07 +00:00
Dave Brolley 83da26349f Mon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com>
* config/fr30/fr30.mt: New file.
	* config/fr30/tm-fr30.h: New file.
1998-11-09 17:02:20 +00:00
Jim Wilson e5fddd378d Patches to fix linux-x-i960-vxworks5.0 build failure.
* remote-vx.c (net_read_registers, net_write_registers, vx_xver_memory,
	vx_resume, vx_attach, vx_detach, vx_kill): Change errno to errno_num.
	* vx-share/xdr_ptrace.c (xdr_ptrace_return): Likewise.
	* vx-share/xdr_ptrace.h (struct ptrace_return): Likewise.
1998-11-06 03:02:44 +00:00
Dave Brolley 7e6c86c2e3 Wed Nov 4 18:44:31 1998 Dave Brolley <brolley@cygnus.com>
* configure.tgt: Add fr30-*-elf*.
1998-11-05 21:20:58 +00:00
Christopher Faylor 3cee93ac7a * top.c (gdb_readline): Allow CRLF line termination on systems
which define CRLF_SOURCE_FILES.
* win32-nat.c: 1) Add thread support, 2) fix ability to attach to
a running process, and 3) implement limited support for cygwin
signals.
(thread_rec): New function.
(child_add_thread): Ditto.
(child_init_thread_list): Ditto.
(child_delete_thread): Ditto.
(do_child_fetch_inferior_registers): Ditto.
(do_child_store_inferior_registers): Ditto.
(handle_output_debug_string): Ditto.
(child_fetch_inferior_registers): Use do_* function to perform
operation.
(child_store_inferior_registers): Ditto.
(child_continue): Ditto.
(child_thread_alive): Ditto.
(cygwin_pid_to_str): Ditto.
(handle_load_dll): Reorganize, add first attempt at reading
dll names from attached processes.  Change info messages to provide
more information when dll is already loaded.
(handle_exception): Changes mandated by new thread-aware structures.
(child_wait): Track thread creation/destruction.  Handle cygwin
signals.
(child_create_inferior): Ditto.
(child_resume): Ditto.
(child_kill_inferior): Ditto.  Close child process handle to avoid a
handle leak.
(child_ops): Fill out child_ops fields that deal with threads.
* config/i386/tm-cygwin32.h: Declare function and macro needed
for converting a cygwin "pid" to a string.
* config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since
sigsetmask is not defined in cygwin.
1998-11-05 14:08:48 +00:00
Christopher Faylor 8015bd27ec * win32-nat.c: Remove obsolete PPC conditionals. 1998-11-05 13:41:40 +00:00
Jim Wilson 66393f0e7c Fix mn10200 build failure on redhat 5.0 linux.
* c-exp.y (parse_number): Check TARGET_LONG_LONG_BIT when setting
	high_bit to avoid undefined negative shift.
1998-11-03 20:28:12 +00:00
Geoffrey Noer b93f016bf0 Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Check cygwin* instead of cygwin32*.
        * configure: regenerate
1998-11-02 23:28:59 +00:00
Michael Snyder 2e7eeba99d Thu Oct 29 10:04:20 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
[Support for trace debugging: registers that were not collected.]
        * remote.c (remote_fetch_registers): accept 'xxxx' in the register
        packet, with the meaning "register value is not available".
        Set register_valid to -1, which will connote "no value available".
        * findvar.c (read_relative_register_raw_bytes): return failure if
        register_valid == -1.  (value_of_register): return failure if
        register_valid == -1.  (read_var_value): return error if
        value_of_register fails for a register variable.
        (value_from_register): return failure if register_valid == -1.
        * eval.c (evaluate_subexp_standard): return error if
        value_of_register fails for a register used in an expression.
        * infcmd.c (do_registers_info): display "value not available"
        for registers for which register_valid == -1.

        * tracepoint.c (set_raw_tracepoint): just save the filename as is
        from the symbol table, rather than trying to prepend the dir name.
        Also save the bfd section.  (tracepoints_info): use the section
        when looking up the function name.
        * tracepoint.h: add section field to tracepoint struct.
1998-10-29 18:07:01 +00:00
Frank Ch. Eigler af3711e6b3 * peripheral part of sky->devo merge
* patch approved by shebs
Wed Oct 28 12:33:52 EST 1998  Frank Ch. Eigler <fche@cygnus.com>
	* configure.in: Accept both -skyb- and -sky- for
	--with-sim-funit/gpu2 options.
	* configure: Rebuilt.
1998-10-28 16:08:03 +00:00
Mark Alexander c0351c0f6d * sparcl-tdep.c (send_resp, sparclite_serial_start,
sparclite_serial_write): Use remote_timeout instead of hardcoded
	two second timeout.
	(download): Fix adjustment of a.out load addresses.
1998-10-28 16:08:02 +00:00
Andrew Cagney b9a9cde40b Unify (well almost) --enable-build-warnings configuration option
across GDB and SIM directories.
1998-10-28 02:01:32 +00:00
Andrew Cagney 63a0e6b527 Replace syserr_list with more portable strerror(). 1998-10-27 03:42:14 +00:00
Andrew Cagney cf9d0fd980 * config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here.
* config/rs6000/aix4.mt (TDEPFILES): To here.
* rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT on
  BSD hosts.
1998-10-26 03:26:00 +00:00
Felix Lee 61e6bcc839 * core-sol2.c: #include <sys/types.h>, for sol2.7 weirdness. 1998-10-17 17:40:35 +00:00
Michael Snyder a93213bcf5 Fri Oct 16 15:31:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-tdep.c (decode_prologue): Return failure if we reach
        the end of the function without finding the end of the prologue.
1998-10-16 22:35:41 +00:00
Jason Molenda 24418cfbac 1998-10-16 Jason Molenda (jsm@bugshack.cygnus.com)
* command.c copying.c copying.awk core-aout.c core-regset.c
          corelow.c dcache.c i386-tdep.c i386v4-nat.c i387-tdep.c
          infcmd.c infptrace.c infrun.c remote.c solib.c symfile.c
          symmisc.c valarith.c: Add prototypes.

        * defs.h: Add prototype for utils.c::do_run_cleanups.

        * gdbtypes.c: Add prototypes.
        (make_pointer_type): Add braces to remove nested if-else ambiguity.
        (make_reference_type): Ditto.

        * printcmd.c (printf_command): Initialize 'f' and 'string' at
        function startup to suppress possibly-used-before-initialized warning.

        * remote-utils.c: Add prototypes.
        (sr_pollchar): Add braces to remove nested if-else ambiguity.

        * ser-tcp.c: Add prototypes.
        (wait_for): Add braces to remove nested if-else ambiguity.
        (tcp_readchar): Ditto.

        * ser-unix.c: Add prototypes.
        (get_tty_state): Don't define errno here.

        (get_tty_state): Don't define errno here.
        (hardwire_readchar): Only define 't' if we are compiling in a Cygwin
        environment.

        * symtab.c: Add prototypes.
        (find_methods): Add braces to remove nested if-else ambiguity.
        (search_symbols): Set 'i' to an initial value to suppress a
        possibly-used-before-initialized warning.

        * valops.c: Add prototypes.
        (value_cast): Set 'eltype2' to an initial value to suppress a
        possibly-used-before-initialized warning.
        (value_of_variable): Add braces to remove nested if-else ambiguity.
        (value_of_this): Ditto.

        * valprint.c: Add prototypes.
        (print_floating): Add braces to remove nested if-else ambiguity.


Looks like a big change, but it is really just a lot of small stuff.

In the cases where GCC was flagging a possible use-before-initialized
warning on variables, it turned out that these were being used properly
but GCC couldn't see that.
1998-10-16 21:45:06 +00:00
Stan Shebs 7bfe11e286 * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):
Remove, nevermore used.
1998-10-16 02:53:37 +00:00
Andrew Cagney dd87762571 command.c: Include "wait.h" after, rather than before, <wait.h>.
"wait.h" was defining all WIF* macro's instead of filling in those
that <wait.h> missed.  Stops heaps of warnings from <wait.h>
re-defining WIF*s defined in "wait.h".
1998-10-15 06:59:40 +00:00
Felix Lee 37f58dce03 * sol-thread.c (ps_pstop, etc): simple test for proc_service.h
version didn't work for sol2.6; pushed it to autoconf.
        * configure.in (gdb_cv_proc_service_is_old): new test.
        * acconfig.h (PROC_SERVICE_IS_OLD): new define.
        * configure, config.in: regenerate.
1998-10-14 01:15:01 +00:00
Jason Molenda ad3b8c4a1a 1998-10-13 Jason Molenda (jsm@bugshack.cygnus.com)
* blockframe.c (find_pc_sect_partial_function): Add braces to avoid
        possible nested-if confusion.
        * breakpoint.c (breakpoint_here_p): Ditto.
        (breakpoint_inserted_here_p): Ditto.
        (breakpoint_thread_match): Ditto.

        * gnu-regex.c: Define _REGEX_RE_COMP only if it isn't already defined.
        * gnu-regex.h: Define _REGEX_RE_COMP to pick up old compatability
        prototypes.

        * symtab.h: Add prototype for _initialize_source.
        * value.h: Add prototype for _initialize_value.

        * defs.h: Include sys/types.h or stddef.h to get size_t.
        (make_cleanup): Add make_cleanup_func typedef and switch to using
        a prototype for this function.
        (mfree): Add prototypes for mmalloc, mrealloc, mfree if we aren't
        using mmalloc.

        * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c dwarf2read.c
        dwarfread.c elfread.c eval.c exec.c gdbtk-cmds.c gdbtk.c infcmd.c
        infrun.c mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c
        symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c valops.c:
        Cast parameters passed to make_cleanup to use the new
        make_cleanup_func typedef.


More warning cleanups.  There are still a bunch of places where the first
argument to make_cleanup is not cast to (make_cleanup_func); these are
either due to the function fitting the make_cleanup_func specification
already (e.g. free()) or they are in files that weren't compiled when
I did my make on a Linux native system.  Bwahahaha.  You can see them
like this:

grep make_cleanup\  * | grep -v make_cleanup_func

I'll surely go back and clean up the remaining suspicious calls in
GDB one of these days. :-)
1998-10-14 01:15:00 +00:00
Jason Molenda 6e47b25142 Whoa, somehow this ChangeLog entry didn't get committed along with the
actual changes.  Here is the text:
1998-10-12  Jason Molenda  (jsm@bugshack.cygnus.com)

        * Makefile.in (AWK): Unused; remove.
        * configure.in: Remove unused autoconf checks for MINIX, memcpy,
        poll, select, strings.h.
        * config.in: Regenerated.
        * configure: Regenerated.
1998-10-13 22:18:49 +00:00
Felix Lee bbee94c77c * sol-thread.c (ps_pstop, etc): different solaris versions have
slightly different prototypes in proc_service.h; compensate.
1998-10-13 00:55:20 +00:00
Jason Molenda 1dee2761ad 1998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Check for sys/debugreg.h, asm/debugreg.h.
        * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not
        present.

This is to work around a conflict where the Linux 2.1.x kernel and glibc
2.0.x are not in sync; including <sys/debugreg.h> will result in an error.
With luck, these losers will get their act together and we can trash
this hack in the near future.
1998-10-13 00:35:48 +00:00
Peter Schauer b0a5badb69 * dwarf2read.c (dwarf2_build_psymtabs_hard): Do not adjust the
address range of a compilation unit without children.

	* mdebugread.c (parse_partial_symbols):  Fix handling of stabs
	continuations, use xmalloc and xrealloc.
1998-10-11 19:54:57 +00:00
Mark Alexander c6d28b22da * rs6000-tdep.c: Don't include tm.h twice. 1998-10-10 01:17:07 +00:00
Keith Seitz d367c7b447 * main.c (main): Remove calls to {pre,post}_add_symbol_hooks.
There should be sufficient information/hooks now to eliminate
        this hack.

        * exec.c (file_command): Add a new hook here to inform ui's
        when the exec file has changed. Adding it here allows the
        ui to be informed after symbol reading.

        * gdbcore.h: Add declaration of file_changed_hook.
1998-10-08 23:04:53 +00:00
Mark Alexander 70423641d9 * rs6000-tdep.c (get_saved_register): Define only if
USE_GENERIC_DUMMY_FRAMES is defined.
1998-10-08 15:59:23 +00:00
Jason Molenda 87feff9dab 1998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)
Eliminate a few warnings from the compiler.
        * breakpoint.h: Add prototype.
        * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void).
        * configure.in: Check if strdup declaration is necessary.
        * configure: Regenerated.
        * defs.h: Add prototypes.
        * gdb_string.h: Only define strdup if necessary.
        * gdbthread.h: Add prototypes.
        * printcmd.c: Add prototyptes.
        (disassemble_command): Remove unused variable 'section'.
        * symtab.c: Add prototypes.
        * symtab.h: Include gnu-regex.h, add prototype.
        * thread.c: Add prototype.
1998-10-06 22:24:40 +00:00
Stan Shebs ee31ae2284 From David Purves <purves@apogee.com>:
* stabsread.c (rs6000_builtin_type): Create a complex float instead
	of an error.
	(read_sun_floating_type): Similarly.
	(read_range_type): Create a complex float if self_subrange is
 	true.
1998-10-06 02:52:31 +00:00
Stu Grossman 242c0d8180 * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)
ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print)
	ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c
	(f_printstr f_printchar emit_char) f-valprint.c (f_val_print) jv-lang.c
	(java_printchar java_emit_char) jv-valprint.c (java_value_print
	java_val_print) language.c (unk_lang_printchar unk_lang_printstr
	unk_lang_emit_char) language.h (struct language_defn LA_PRINT_STRING
	LA_EMIT_CHAR) m2-lang.c (m2_printstr m2_printchar emit_char) printcmd.c
	(print_formatted) scm-lang.c (scm_printstr) valprint.c
	(val_print_string) value.h (val_print_string):  Add emit_char routines
	to language_desc struct to allow finer control over language specific
	character output issues.  Add character width arg to printstr routines
	to allow handling of wchar_t/Unicode strings.  Fix c_printstr to handle
	wide characters.  Supply width argument to LA_PRINT_STRING and
	val_print_string.

	* jv-lang.c (java_object_type dynamics_objfile java_link_class_type
	get_dynamics_objfile get_java_object_type) jv-lang.h
	(get_java_object_type):  Make lots of things static.

	* expprint.c (dump_prefix_expression dump_subexp):  Move opcode name
	printing to common routine (op_name).
	* (dump_subexp):  Add support for OP_SCOPE.
1998-10-05 19:42:04 +00:00
Stan Shebs bb9e536843 Search and destroy; kill references to WinGDB bits.
* configure.host (i[3456]86-*-windows): Remove, no longer used.
	* mswin: Remove directory, no longer used.
1998-10-02 23:33:15 +00:00
Fernando Nasser 2d24a02138 Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
* sol-thread.c: Fixed prototypes and calls to supply_fpregset and
        fill_fpregset
PR 17053
1998-10-02 22:57:12 +00:00
Keith Seitz 80baea8aa5 * remote.c (remote_interrupt): Rewrite to use remote_stop.
(remote_interrupt_twice): Remove. remote_stop now handles it.
        (remote_stop): New function which handles interrupting the
        remote target so that CLUI and GUI use the same core functions
        to achieve the same goal.
        (remote_wait): Change to handle remote_stop properly.
        [interrupted_already]: New static global to help remote_stop.
        [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member.

        * target.c: Rename static function "ignore" to "target_ignore" and
        export it so that gdb can determin if some target vector member is
        actually not defined. Replace all occurances of ignore.

        * target.h: Export target_ignore.
1998-10-02 19:54:42 +00:00
Peter Schauer 47b8a5cef3 * target.c (target_xfer_memory): Handle requests with zero
transfer length right away.

	* values.c (unpack_double):  Set up code, length and signedness of
	type _after_ checking for typedef.
1998-10-02 11:02:00 +00:00
Frank Ch. Eigler 6ee2da947e * Fix for PR 16567, brought over from d30v branch.
Thu Oct  1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
	* breakpoint.c (bpstat_stop_status): Do not consider an
	untripped watchpoint as a "hit".
1998-10-01 11:48:25 +00:00
Andrew Cagney c85a8f0003 More replacing "exec" with "executable". 1998-10-01 11:41:41 +00:00
Andrew Cagney b8464c1539 Replace "exec" with "executable" in messages. 1998-10-01 11:19:11 +00:00
Keith Seitz 69da960729 Merge with armelf980813:
* rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
        PARPORT defines for win32.
        (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
        start with "com", not "/dev/tty".
        (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.

        * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState)
        so that the device may be reopened.

        * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
        functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
        the output from fputs_hook.
        (mywrite): Ditto.
        (arm_rdi_open): Set inferior_pid.
        (arm_rdi_detach): Pop the target off the target stack so that
        users can attach and detach multiple times.
        (arm_rdi_close): Close the opened device and reset inferior_pid, too.
1998-09-25 19:04:46 +00:00
Jason Molenda 4817b40893 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Change --enable-warnings to --enable-build-warnings.
        * configure: Updated.
1998-09-25 03:04:03 +00:00
Jason Molenda e3009a74f4 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
        * configure: Regenerated.
1998-09-25 01:30:46 +00:00
Jason Molenda ba68ad5701 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add --enable-warnings.
        Adjust whitespace of other --with and --enable options so that
        configure --help lines up correctly.
        * aclocal.m4: Ditto.
        * Makefile.in (WARN_CFLAGS): Add.  Set by configure.
        * configure: Regenerated.
1998-09-25 01:27:47 +00:00
Stan Shebs f1f8c637ae * remote-rdi.c: Fix formatting, remove some commented-out code.
(init_rdi_ops): Omit needless initializations.
1998-09-24 22:48:48 +00:00
Andrew Cagney 8456141bb2 Allow full 64 bits of an address to be specified in an `M' or `n' packet.
Add backward compatibility variable `set remoteaddresssize' to handle
regressions.
1998-09-23 08:31:50 +00:00
Andrew Cagney f8059b97e7 * remote.c (_initialize_remote, packet_command, print_packet): Pretty
* print code.
Delete reference to EMC!
1998-09-23 08:12:14 +00:00
Andrew Cagney abf80d3b9c * remote.c (packet_command): Test REMOTE_DESC to determine if remote
connection is open.
1998-09-23 08:06:50 +00:00
Mark Alexander 0ec1e44d3d Patch from Dawn Perchik <dawn@cygnus.com>:
* rs6000-tdep.c (pop_frame): Handle generic dummy frames.
	(push_arguments): Likewise.
	(frame_saved_pc): Likewise.
	(rs6000_frame_chain): Likewise.
	(ppc_push_return_address): New function.
	(get_saved_register): New function.
	* config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros.
1998-09-23 05:41:38 +00:00
Stu Grossman 7b46dd00e4 * defs.h utils.c (fputc_filtered): New function. Does the obvious...
* jv-lang.c (java_printchar):  Fix output of chars > 0xff.  Fold
	java_emit_char into java_printchar.
	* language.h (PRINT_LITERAL_FORM):  Reformat for readability.
1998-09-22 02:34:38 +00:00
Nick Clifton a63e37257f Support big endian as well as little endian breakpoints. 1998-09-21 21:39:41 +00:00
Ron Unrau 3dc96daa2d * incorporate SKY-B changes (makes dual maintenance easier).
* txvu-tdep.c (check_overlap): new function to guarantee that
          overlays are either mapped or unmapped in their entirety.
        * txvu-tdep.c (compress_blockvector): compress blockvectors correctly
1998-09-21 05:11:13 +00:00
Peter Schauer d2fce7f74c * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
passing pid down to procfs_notice_signals.
1998-09-18 14:57:16 +00:00
Stu Grossman 082a0803b1 * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
failure.
	* (define_symbol):  Check return value from resolve_symbol_reference,
	and drop symbol if it fails.
1998-09-16 21:59:01 +00:00
Nick Clifton 9d561e1e94 prevent multiple attempts at closing remote connection. 1998-09-15 21:03:26 +00:00
Andrew Cagney b2d5581361 Use value_at_lazy() to examine memory values. For x/i this is very
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.
1998-09-15 07:50:31 +00:00
Michael Snyder 4a8051a834 Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* blockframe.c (find_pc_sect_partial_function): use bfd section
	  of msymbol for end of section comparison.
1998-09-13 08:37:08 +00:00
Michael Snyder 74c1b0ba6b Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c: clean up several unused variables and such.
1998-09-11 21:03:29 +00:00
Zdenek Radouch 05f1989d85 Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
* arm-tdep.c (arm_push_arguments): fixed frame construction
1998-09-11 16:40:04 +00:00
Michael Snyder 6a5c768569 Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
1998-09-11 03:52:21 +00:00
Stan Shebs d7d7dd1b5a More avoidance of writing documentation in the internals manual.
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
	* os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
1998-09-10 02:58:19 +00:00
Ron Unrau 253ceee6d0 Merges from SKY branch:
* blockframe.c(find_pc_sect_partial_function): look for min syms in
          the same section when trying to guess the end of a function.
        * symfile.c(list_overlays_command): use print_address_numeric
        * remote-sim.c: export simulator_command
        * tm-r5900.h: add COP0 registers
        * txvu-tdep.c: printvector and printvector-order commands
        * tm-txvu.h: add COP0 registers
        * mips-tdep.c: use NUM_CORE_REGS
1998-09-09 17:41:59 +00:00
Jason Molenda fc4109089c 1998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
* breakpoint.c (bpstat_stop_status):  Declare a bp match if the
        current fp matches the bp->fp OR if the current fp is less than
        the bp->fp if we're looking at a bp_step_resume breakpoint.

PR 15992.

With a bp_step_resume type breakpoint, the frame pointer check exists in
case we recurse and execute the same text section--we want to not stop
there because it would confuse the user.  So gdb checks to see that the
frame pointer matches the one recorded in the breakpoint.

If the current frame pointer is less than the frame pointer recorded in
the breakpoint, then something odd is happened and we should declare that
we're at the breakpoint so that we clear it out.

This happens in Purify instrumented executables on PA systems, at least.
They insert some calls out to Purify code in the function epilogue and
it confuses GDB (which assumes that the frame pointer does not move
around through the entire execution of a function).
1998-09-09 04:16:53 +00:00
Stan Shebs 1f926de145 Cleanup opportunity discovered while updating internals manual.
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
	not currently used.
	* symfile.c (allocate_symtab): Deprecate use of
	INIT_EXTRA_SYMTAB_INFO here.
1998-09-09 02:48:11 +00:00
Stan Shebs da5328aeaf * README: Update remote debugging and testsuite info. 1998-09-04 22:54:30 +00:00
Mark Alexander 11ac795258 * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
pseudo-register, not the same as a3.
	(D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
	* mn10300-tdep.c (fix_frame_pointer): New function.
	(set_movm_offsets): Use register number macros instead of
	hard-coded constants.
	(mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
	(mn10300_frame_chain):  Fix to handle redefinition of FP_REGNUM;
	use register number macros instead of hard-coded constants;
	add missing parameter to call of mn10300_analyze_prologue.
	(mn10300_frame_saved_pc): Use register number macros instead of
	hard-coded constants.
1998-09-03 22:59:13 +00:00
Stan Shebs 3fe41381a6 Killed the clone 1998-09-03 21:54:38 +00:00
Zdenek Radouch e01b420025 Modifications/fixes to support the ARM/ELF port. 1998-09-01 16:24:23 +00:00
Tom Tromey d5adad6aa2 * top.c (context_hook): Define.
* gdbtk-hooks.c (context_hook): Don't define.
1998-08-31 22:43:21 +00:00
Michael Snyder 290bc1851b Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* ax-gdb.c (gen_var_ref): Allow for typedef types.
        (gen_cast, gen_bitfield_ref, gen_expr): ditto.
1998-08-25 20:24:03 +00:00
Michael Snyder 98760699c7 Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (collect_symbol): Handle register doubles that
        are stored in two registers.
1998-08-25 01:31:06 +00:00
Mark Alexander ce8f5b49f6 * sh-stub.c (undoSStep): Improve comment.
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
	same method on both 32-bit and 64-bit machines.
	* sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
	support hardware breakpoints.
	* config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
1998-08-24 21:51:33 +00:00
Jason Molenda ae69b4c467 1998-08-20 Jason Molenda (jsm@bugshack.cygnus.com)
* rdi-share/Makefile.am (INCLUDES): Fix typeo.
        * rdi-share/Makefile.in: Regenerated.
1998-08-20 20:11:18 +00:00
Jason Molenda c0ca074b5d 1998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)
* rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
        * rdi-share/Makefile.in: Regenerated.
1998-08-20 03:15:05 +00:00
Keith Seitz 67205639eb * v850ice.c (v850ice_stop): New function to stop the ICE.
(v850ice_load) Pass filename to ICE DLL.
        (ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb
        commands -- let the GUI do it so that it can retain control
        of the display.
1998-08-20 00:14:03 +00:00
Anthony Green 9ca743cf2f * i386v4-nat.c: Include sys/reg.h if present. 1998-08-19 22:57:00 +00:00
Fernando Nasser 6cf219acdf *** empty log message *** 1998-08-19 19:55:58 +00:00
Richard Henderson 54f750d1d6 * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp. 1998-08-19 10:09:01 +00:00
Keith Seitz a36035532f * stack.c: Define new hook, selected_frame_level_changed_hook, which
will be called whenever the selected stack level changes.
        (select_frame): Call the selected_frame_level_changed_hook.
1998-08-19 02:24:45 +00:00
Stan Shebs d9c02b1eb8 * remote-rdi.c (arm_rdi_open): Pass serial device name to
Adp_OpenDevice, and include it in error reports.
1998-08-19 01:27:46 +00:00
Jason Molenda 4ff3dfab54 1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add more header files to AC_CHECK_HEADERS.
        * configure: Regenerated.

        * command.c: Include wait.h or sys/wait.h if present.
        * inftarg.c: Ditto.
        * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
        on autoconf test.
        * infptrace.c: Ditto.

        * expprint.c: Include ctype.h for isprint prototype.
        * i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
        * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
        present, based on autoconf test.

        * utils.c: Include curses.h and term.h if present.
        (puts_debug): Change 'carriage_return' local variable to return_p
        to avoid name clash.

        * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
        determine it with autoconf.
        * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
        with autoconf.
        * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
        with autoconf.
        * config/i386/nm-i386v.h: Ditto.
        * config/i386/nm-symmetry.h: Ditto.
        * config/m88k/xm-cxux.h: Ditto.
        * config/m88k/xm-dgux.h: Ditto.

        * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
        * config/m68k/nm-delta68.h: Removed.
1998-08-18 23:04:24 +00:00
Jeff Law 854b0c14b4 * mn10300-tdep.c (set_movm_offsets): Change second argument to
be the actual args to movm itself.  All callers changed.  Only set
        fi->fsr.regs[x] if reg X is saved by the movm instruction.
1998-08-14 17:18:01 +00:00
Peter Schauer cfd7cb2995 * sol-thread.c (lwp_to_thread): Fix error message for failing
td_ta_map_lwp2thr call.
	(ps_lgetLDT):  Mask off upper bits in GS register when comparing
	with selector.
1998-08-14 11:20:51 +00:00
Stu Grossman d826d368a9 * expprint.c (dump_prefix/postfix_expression): Don't try to print type
expressions.
1998-08-12 16:10:31 +00:00
Stu Grossman 433732f25e * c-typeprint.c (c_print_type): Don't crash if varstring is null.
* expprint.c expression.h (dump_expression):  Rename to
	dump_prefix_expression.
	* Print out the expression in normal form.  Call print_longest
	instead of trying to do it ourselves.
	* (dump_postfix_expression):  New function, prints out the expression
	with indentation and better formatting and interpretation.
	* parse.c (parse_exp_1):  Put calls to dump expressions under ifdef
	MAINTENANCE_CMDS and expressiondebug variable.
1998-08-12 15:50:59 +00:00
Ron Unrau b620406abc * txvu-tdep.c: add VU0/1 control registers
* config/mips/tm-txvu.h: ditto
1998-08-06 19:16:53 +00:00
Ron Unrau 05ee9089de * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context is
set to correct VU memory space.
          (txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc
        * config/tm-txvu.h: use new track-table address
          Do note define BREAKPOINT_FROM_PC anymore
1998-08-04 17:05:15 +00:00
Ron Unrau e417b893a7 * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
* mips-tdep.c: use NUM_CORE_REGS
        * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
        (txvu_insert_breakpoints): use VIF interrupt bit
1998-07-31 22:08:08 +00:00
Fernando Nasser 4ef0351db6 * symfile.c (add_symbol_file_command): Test for the from_tty
parameter and avoid query when not interactive.
PR16620
1998-07-29 18:59:19 +00:00
Jeff Law 6185f899b9 * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
registers if we are not in am33 mode.
        (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
        (set_machine_hook): Keep track of whether or not we're in am33 mode.
1998-07-29 16:41:36 +00:00
Michael Snyder 0745a748dd Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (remote_set_transparent_ranges): new function.
        Send the start and end addresses of all loadable read-only
        sections down to the trace target, so that it can treat them
        as "transparent" (ie. don't care if they were collected or not).
1998-07-27 23:13:22 +00:00
Mark Alexander 5ef103c0b9 * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
for setting frame address in optimized code; made unnecessary
	by compiler fixes.
1998-07-27 22:41:21 +00:00
Martin Hunt 55d3002f53 Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
* symtab.c (decode_line_1): For minimal symbol, call
	find_pc_sect_line() to make sure the line number gets set
	properly.
	(print_symbol_info): Redeclare function void.
1998-07-27 20:23:32 +00:00
Jason Molenda 2926766b79 1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15.  The
        stack pointer et al are synthesized from the SP_REGNUM (etc)
        defines and should not be mentioned in REGISTER_NAMES.

There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit.  I'm not tackling the general for this PR, though.
1998-07-27 19:24:40 +00:00
Jeff Law b5b59a3c3c * mn10300-tdep.c (mn10300_frame_chain): Account for space saved
by am33 register saves.
        (mn10300_frame_saved_pc): Similarly.
1998-07-27 14:55:51 +00:00
Michael Snyder 8d6476c711 Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (encode_actions): Treat register names and simple
        variable names as special cases and don't convert them to byte-
        codes: these things can be collected far more efficiently
        without invoking the bytecode interpreter.
1998-07-24 21:44:14 +00:00
Mark Alexander 4448ace242 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
	* config/i386/tm-i386v.h: Ditto.
1998-07-24 20:44:47 +00:00
Mark Alexander bd06c4e4d3 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
1998-07-24 20:38:43 +00:00
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
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 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 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
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
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
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 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
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
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 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
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
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
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
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 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
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
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
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 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 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 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
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
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
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
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