Commit Graph

8594 Commits

Author SHA1 Message Date
Andrew Cagney 78492fde3d Rewrite gdb.asm so that it doesn't assume a C comiler (or any C
support).
2000-07-04 02:47:08 +00:00
Andrew Cagney 49a2cef8b7 Replace jumbo pattern match with gdb_expect_list(). 2000-07-04 02:38:05 +00:00
Elena Zannoni 2bfa91eece 2000-07-03 Christopher Faylor <cgf@cygnus.com>
Committed by Elena Zannoni <ezannoni@cygnus.com>
	* sh-tdep.c (sh_skip_prologue): Change prologue matching for modern
	compilers.
	(sh_frame_find_saved_regs): Ditto.
	(sh_find_callers_reg): Stop if pc is zero.
2000-07-03 18:59:36 +00:00
Andrew Cagney 9e294fb82f Revert previous ser-unix change. Locks up serial device. 2000-07-01 08:02:53 +00:00
Andrew Cagney 45f9696ab6 Restore setting of SER_HARDWIRE. Lost during rs6000 merge. 2000-07-01 05:49:13 +00:00
Kevin Buettner 1b2a2f903f Params elimination. 2000-06-27 06:45:43 +00:00
Eli Zaretskii cc542d3bd4 * Makefile.in (install-info): Support installation from outside of
the source directory.  Reported by Mark Harig
        <markh@frazier.landmark.com>.
2000-06-25 08:12:30 +00:00
Andrew Cagney e8b1d41126 Tipo. 2000-06-23 14:00:13 +00:00
Andrew Cagney 566f0f7aa5 For EABI, start allocting space on the stack when the registers are
full.  Not when the number of args == 8.
2000-06-23 11:06:31 +00:00
Andrew Cagney 97c3646ff2 Add support for auto_boolean (true, false or auto). 2000-06-23 08:12:27 +00:00
Andrew Cagney f09ded2422 When FP registers are full, store FP arguments on stack and not in
integer registers.
2000-06-23 07:44:00 +00:00
Kevin Buettner f777891334 PARAMS elimination. 2000-06-22 07:16:20 +00:00
Pierre Muller 6b2463a3ee * typo problems in last commit fixed 2000-06-21 10:21:14 +00:00
Pierre Muller c6fd39cde9 2000-06-21 Pierre Muller <muller@ics.u-strasbg.fr>
* symfile.c (init_filename_language_table) add ".pas", ".p" and ".pp"
   as pascal source file extensions.
2000-06-21 09:59:51 +00:00
J.T. Conklin f3b288016c * gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number. 2000-06-20 22:13:17 +00:00
Kevin Buettner f6dd1e7029 PARAMS elimination. 2000-06-20 07:13:39 +00:00
J.T. Conklin 8c9cdfe810 * remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
(nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of
breaking transfer into chunks and using nindy_fetch_word() and
nindy_store_word().

* remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead
of breaking transfer into chunks and using gr_fetch_word() and
gr_store_word().

* remote.c (remote_fetch_word, remote_store_word): Removed.

* remote-utils.h (gr_fetch_word, gr_store_word): Removed.
* remote-utils.c (gr_fetch_word, gr_store_word): Removed.

* dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed.
* dcache.c (dcache_fetch, dcache_poke): Removed.
2000-06-19 18:59:07 +00:00
Elena Zannoni 3e6c8688d2 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/maint.exp: Add 'maint print architecture' item to output
        of 'help maint print' command.
2000-06-19 14:56:21 +00:00
Pierre Muller 750ba3824f * defs.h: define language_pascal in language enumeration.
* language.h: define _LANG_pascal macro.
    * language.c: add language_pascal support in all language dependant functions.
2000-06-19 10:14:22 +00:00
Andrew Cagney 9ff5cbe93a Re-do multi-line tests using gdb_expect_list(). 2000-06-18 03:45:35 +00:00
Kevin Buettner 692248f335 PARAMS elimination. 2000-06-18 00:23:24 +00:00
Andrew Cagney 9ace04976e Add ``set debug mips'' command. Add much debugging. 2000-06-17 15:18:21 +00:00
Andrew Cagney 9a0149c65a For MIPS_EABI, squeeze simple floating point structs into an FP register. 2000-06-17 14:33:56 +00:00
Andrew Cagney 59d521c179 Remove arbitrary printf output limit placed on pmon targets 2000-06-17 14:00:31 +00:00
Andrew Cagney 4a7f7ba82c EABI64 was selecting EABI32 2000-06-17 05:42:50 +00:00
Nicholas Duffek 7a78ae4e6b * rs6000-tdep.c: Changes throughout for multi-arch 64-bit
support.  Incorporate most of tm-rs6000.h.
	(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
	(rs6000_set_host_arch_hook): Declare.
	(read_memory_addr): Define.
	(pop_frame): Rename to rs6000_pop_frame.
	(rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments,
	rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic
	dummy frame handling.
	(branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code,
	rs6000_frame_saved_pc, frame_get_saved_regs,
	frame_initial_stack_address, rs6000_frame_chain,
	rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead
	of read_memory_integer.
	(branch_dest, rs6000_pop_frame, rs6000_push_arguments,
	rs6000_skip_trampoline_code, rs6000_frame_saved_pc,
	frame_get_saved_regs, frame_initial_stack_address,
	rs6000_frame_chain): Replace 4 with TDEP->wordsize.
	(skip_prologue): Recognize some 64-bit stack adjustments.
	(push_dummy_frame, pop_dummy_frame, set_processor,
	show_processor): Delete.
	(frame_get_saved_regs): Manipulate saved register addresses using
	CORE_ADDR instead of int.
	(rs6000_create_inferior): New function.
	(register_names_*[]): Change to struct reg registers_*[].
	(variants[]): Assimilate into multi-arch approach.
	(register_names_*[], variants[]): Refer to pre-PowerPC
	architectures as POWER instead of RS6000.
	* rs6000-nat.c: Ubiquitous changes for 64-bit support.
	(vmap_secs, xcoff_relocate_symtab): Cast addresses
	to unsigned long to avoid sign-extension errors.
	(set_host_arch): New function.
	(xcoff_relocate_symtab): Try disabling usleep(36000) workaround.
	(rs6000_core_fns): Use new bfd_target_xcoff_flavour.
	(_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook.
	* symfile.c (find_sym_fns): Remove special xcoff kludge.
	* xcoffread.c (secnum_to_bfd_section): Initialize args.objfile.
	(process_linenos): Query line struct size from coff
	backend instead of using compile-time constant.
	(enter_line_range): Likewise.
	(read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to
	record_debugformat() if appropriate.
	(process_xcoff_symbol): Access symbol addresses using
	SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE.
	(read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl.
	(scan_xcoff_symtab): Likewise.  Query syment struct size from
	coff backend instead of using compile-time constant.
	(xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour.
	* Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags
	that this Makefile variable get set to.  (From Kevin Buettner.)
	* config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that
	the TOC doesn't overflow.  (From Kevin Buettner.)
	* config/powerpc/tm-ppc-aix.h: Move config decisions to
	multi-arched rs6000-tdep.c.
	* config/rs6000/tm-rs6000.h: Likewise.
	(GDB_MULTI_ARCH): Define.
	(skip_trampoline_code): Rename to rs6000_skip_trampoline_code.
	(is_magic_function_pointer): Replace with
	rs6000_convert_from_func_ptr_addr.
	(TARGET_CREATE_INFERIOR_HOOK): Define.
	(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
	(rs6000_set_host_arch_hook): Declare.
	* config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.
2000-06-16 21:02:22 +00:00
Jim Blandy eebc33dfb3 File list is incorrect. 2000-06-16 06:28:54 +00:00
Kevin Buettner ac1d108362 PARAMS elimination. 2000-06-16 02:11:36 +00:00
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
Jim Blandy ce5d95e1bc 2000-06-14 Jim Blandy <jimb@redhat.com>
* dwarf2read.c (dump_die): Use the proper printf format for
	printing DW_UNSND values; they're longs now.

	* dwarf2read.c (dump_die): We can read DW_FORM_data8 now, on
	at least some platforms, so print it out too.

2000-06-14  James E. Wilson  <wilson@bletchleypark.cygnus.com>

	* dwarf2read.c (struct attribute): Change unsnd and snd field types
	to long.
	(read_8_bytes): Change return type to long.
	(read_unsigned_leb128): Change return type to long.  Change type of
	local result to long.  Cast argument of left shift to long.
	(read_signed_leb128): Likewise.
2000-06-14 23:29:06 +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
Michael Snyder 7346e70f2e 2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/annota1.exp (run until main breakpoint): Loosen up
       the regular expression: accept an (almost) arbitrary sequence of
       "frames-invalid" and "breakpoints-invalid" messages both before
       and after the "starting" message.
2000-06-12 20:34:00 +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
Daniel Berlin 66a55e80fc Forgot a file 2000-06-12 01:31:41 +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