Commit graph

5049 commits

Author SHA1 Message Date
Michael Snyder
cbfbd72afe 2000-06-15 Michael Snyder <msnyder@cygnus.com>
* utils.c: Fix comment typo.
2000-06-15 20:40:29 +00:00
Michael Snyder
716c501e94 2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
* valops.c (value_cast): Break up long lines.
2000-06-15 18:54:48 +00:00
Jim Blandy
5f8e8eb64a *** empty log message *** 2000-06-14 23:31:23 +00:00
Pierre Muller
373a824730 2000-06-14 Pierre Muller <muller@ics.u-strasbg.fr>
Add support for Pascal language. Part 1: new files.
	* p-exp.y, p-lang.c, p-lang.h, p-typeprint.c, p-valprint.c: New files.
2000-06-14 12:27:59 +00:00
Kevin Buettner
b37bcaa80e PARAMS elimination. 2000-06-14 00:59:07 +00:00
Jeff Law
5ec846f9cf * configure.host (hppa*64*): Renamed from hppa2.0w per
gcc/binutils changes.
        * configure.tgt: Similarly.
2000-06-13 15:21:27 +00:00
Kevin Buettner
9ac12c358e Use PT_CFM in place of PT_CR_IFS. 2000-06-13 03:17:11 +00:00
Michael Snyder
2c8f79c2da 2000-06-12 Michael Snyder <msnyder@cleaver.cygnus.com>
* breakpoint.c (breakpoint_thread_match): Fix comment.
2000-06-12 21:17:21 +00:00
Fernando Nasser
8903de4f9c 2000-06-12 Fernando Nasser <fnasser@cygnus.com>
* valops.c (value_assign): Adjust the length to take into
        consideration that we are not starting from the beginning.
2000-06-12 14:39:14 +00:00
Elena Zannoni
34e924c066 * symfile.c (add_symbol_file_command): Properly reformat "else if"
code.
	* coffread.c (coff_symtab_read): Ditto.
2000-06-12 14:05:44 +00:00
Andrew Cagney
80b756a06c ser-tcp.o moved to configure.in. 2000-06-12 06:34:32 +00:00
Andrew Cagney
d63c00533f Update TODO - SER_HARDWIRE problem was fixed. 2000-06-12 06:12:14 +00:00
Andrew Cagney
aff38e615a Set SER_HARDWIRE using autoconf instead of via XDEPFILES. Include
ser-tcp.o by default.
2000-06-12 06:09:06 +00:00
Andrew Cagney
5213ab0692 Multi-arch GDB_TARGET_IS_MIPS64. 2000-06-12 04:35:39 +00:00
Andrew Cagney
2475bac391 Print all known but not yet multi-arched values. 2000-06-12 03:33:26 +00:00
Mark Kettenis
a7769679c2 * config/i386/tm-i386.h: Add forward declaration of `struct value'.
(FIX_CALL_DUMMY): Redefined to call i386_fix_call_dummy.
(i386_fix_call_dummy): Add prototype.
* i386-tdep.c (i386_fix_call_dummy): New function based on the
code from the old FIX_CALL_DUMMY macro.
2000-06-12 01:44:35 +00:00
Kevin Buettner
8ab8638139 Eliminate use of PARAMS. 2000-06-12 01:33:49 +00:00
Andrew Cagney
63e69063c6 Don't try to dump void macros (when non multi-arch). They could
contain C statements.
2000-06-12 00:35:34 +00:00
Christopher Faylor
cfc3008e2f * exec.c (exec_file_attach): Add .exe extension when __CYGWIN__. 2000-06-11 16:07:51 +00:00
Christopher Faylor
7c5c87c02d * win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and gdb_stdout
here.
(safe_symbol_file_add_stub): Redirect gdb_stdout as well as stderr.
(safe_symbol_file_add_cleanup): Restore gdb_stdout.
(info_dll_command): Use the pager for displaying DLLs since there are often
quite a few.
2000-06-11 02:34:40 +00:00
Andrew Cagney
5c8cc33173 Trim targ_arches to just the first. 2000-06-11 01:39:08 +00:00
Andrew Cagney
4b9b395931 Re-implement gdbach_dump() so that it prints out the macro values.
Add ``maint print arch'' command.
Add ``gdbarch_register()'' function that also takes gdbarch_dump_tdep().
Use in mips-tdep.c.
2000-06-10 05:37:47 +00:00
Kevin Buettner
dee8b1a1c5 Eliminate PARAMS. 2000-06-10 01:32:12 +00:00
Fernando Nasser
4acafb8638 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* config/i386/tm-embed.h: New file.  Specific for embedded targets
        like i386-elf, i386-coff and i386-aout.
        * config/i386/embed.mt (): Specify tm-embed.h instead of the System V
        header file.
2000-06-09 23:32:48 +00:00
Fernando Nasser
cddf60497b 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* MAINTAINERS: Add myself to gdbtk list.
2000-06-09 23:22:16 +00:00
Klee Dienes
14765d3709 Add ChangeLog entry for change to MAINTAINERS on 2000-06-01 (sorry Andrew!) 2000-06-09 22:14:43 +00:00
Kevin Buettner
364693ab23 Define U_REGS_OFFSET. 2000-06-09 18:21:59 +00:00
Fernando Nasser
ce844ae26d 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* configure.in: Replace misplaced CONFIG_ADD by the correct
        CONFIG_CLEAN.
        * configure, config.in: Regenerate.
2000-06-09 03:35:09 +00:00
Fernando Nasser
a88c1392bd 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* values.c (value_primitive_field): Copy VALUE_REGNO as well.
        With typed registers we may have the location information in this field,
        in addition to VALUE_ADDRESS (which was already being copied).
2000-06-09 00:51:55 +00:00
Andrew Cagney
bf64bfd6ba MIPS is always multi-arch enabled. 2000-06-08 06:35:40 +00:00
Andrew Cagney
b0069a1775 Delete MIPS_DEFAULT_FPU from config/mips/*.h 2000-06-08 04:51:10 +00:00
Andrew Cagney
1ba607adba Use config.bfd to determine the default architecture and byte order.
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
2000-06-08 04:00:56 +00:00
Andrew Cagney
e28d556f6b Botch in previous change. Was comparing against "ask" instead of
follow_fork_mode_ask.
2000-06-08 01:52:44 +00:00
Andrew Cagney
53904c9e67 Change signature of function add_set_enum_cmd() so that it uses
constant character pointers.  Update everything.
As a consequence fix infrun's follow-fork plugging a small memory leak.
2000-06-08 00:52:56 +00:00
Andrew Cagney
6ecce94d48 Purge last remaining make_cleanup_func. 2000-06-07 04:43:30 +00:00
Andrew Cagney
b4a2023990 The attatched moves the remaining guff from gdbarch.{h,c,sh} to
arch-utils.{h,c}.  The ``set architecutre'' and ``set endian''
commands (part of the move) were implemented to use add_set_enum_cmd()
so that ``set architecture <tab>'' works.
2000-06-07 04:38:02 +00:00
Michael Snyder
3e0bf9f1f0 2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
* configure.in: Enable autoconf to find curses.h on Solaris 2.8.
	* configure: Regenerate.
2000-06-07 01:14:07 +00:00
Daniel Berlin
b9d836b67a Properly fill changelog entry 2000-06-06 15:09:41 +00:00
Andrew Cagney
aa8910955a Accept an enum immediately when it is an exact match - wouldn't accept
``d10v'' when the choice was d10v{,:ts2,:ts3}.
2000-06-06 12:13:53 +00:00
Andrew Cagney
69c49926bb Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1. 2000-06-06 07:00:45 +00:00
Andrew Cagney
193e3b1a00 Move generic_register_convertible_not and frame_num_args_unknown from
gdbarch.* to arch-utils.*.
2000-06-06 06:45:19 +00:00
Andrew Cagney
ef31c1ea0e Delete TARGET_MONITOR_PROMPT. 2000-06-06 06:19:57 +00:00
Daniel Berlin
357e46e7c9 C++ improvements 2000-06-05 20:49:53 +00:00
Mark Kettenis
422ea4b878 * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
Renamed from HAVE_R_FS.
(HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
* configure, config.in: Regenerated.
2000-06-05 18:59:40 +00:00
Andrew Cagney
26099b4aa4 More updates. 2000-06-05 05:20:58 +00:00
Andrew Cagney
ac2e2ef7e2 Add host_pointer_to_address() and address_to_host_pointer(). Add
signed_pointer_to_address() etc.  Rename generic_pointer_to_address()
to unsigned_pointer_to_address() etc.
2000-06-04 13:46:37 +00:00
Andrew Cagney
8e6a3c35b9 Eliminate safe_strsignal(). 2000-06-04 01:58:49 +00:00
Kevin Buettner
507f3c78fb Eliminate PARAMS from function pointer declarations. 2000-06-04 00:41:10 +00:00
Christopher Faylor
450005e7c2 * win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushed
before deleting and restoring it.
(safe_symbol_file_add): Ensure that gdb_stderr is flushed before reassigning
it.
(handle_load_dll): Split into two functions so that WFI can handle shared
library events.
(child_solib_loaded_library_pathname): New function.
(child_clear_solibs): New function.  Clears shared library list.
(child_solib_add): New function.  Adds shared library symbols.
(dll_symbol_command): New function.  Handles "dll-symbol" command.
(info_dll_command): New function.  Handles info "sharedlibrary" command.
(handle_exceptions): Eliminate 'ignore_trap' argument.
(get_child_debug_event): Eliminate two arguments.  Return "pid" when
appropriate.  Break out on most events to allow WFI to handle stuff.
(child_wait): Accomodate get_child_debug_event changes.
(child_attach): Clear thread list and list of loaded dlls.
(child_create_inferior): Clear list of loaded dlls.  Use wait_for_inferior in a
loop to look for first "trap".
(child_resume): Avoid accessing a possibly-freed thread pointer.
(_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info
dll", and "info sharedlibrary" commands.
* config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
2000-06-04 00:28:17 +00:00
Christopher Faylor
29fe111d82 * win32-nat.c: Fix up gcc warnings throughout.
(handle_load_dll): Change DLL name to lower case.
(handle_exception): Add a second argument indicating whether a breakpoint
should be ignored.  Return a 0 if the breakpoint was ignored.
(get_child_debug_event): Pass argument to handle_exception to control whether a
breakpoint should be ignored.
(child_create_inferior): Use modern cygwin API.  Explicitly clear last_sig.
Pass FIRST_EXCEPTION to get_child_debug_event for detection of first
breakpoint.

* configure.in: Eliminate unneeded WINDRES/DLLTOOL tests left over after last change.
* configure: Regenerate.
2000-06-03 05:04:14 +00:00