Commit Graph

27716 Commits

Author SHA1 Message Date
Scott Bambrough d5b61b5991 2000-07-11 Scott Bambrough <scottb@netwinder.org>
* command.c (do_setshow_command): Fix typo in var_auto_boolean
	case.
2000-07-11 14:00:42 +00:00
Andrew Cagney acdb74a06f * mips-tdep.c: General cleanup. Delete all #if 0 code. Convert
all old style K&R function definitions to ISO-C.
(struct gdbarch_tdep): Add mips_abi_string.
(mips_gdbarch_init): Initialize.
(mips_dump_tdep): Print mips_abi_string and other values.
(mips_push_arguments): Add more detailed tracing.
2000-07-11 11:02:11 +00:00
Andrew Cagney 6c997a3432 Force MIPS to sign-extend any addresses read from registers. 2000-07-11 10:24:25 +00:00
Andrew Cagney 4014092b58 Move the ``set mask-address'' command to remote-mips.c. Disable
address masking in mips-tdep.c.
2000-07-11 09:25:22 +00:00
Andrew Cagney e2ad119d2f * printcmd.c (print_scalar_formatted): Move masking of 'a' address
from here.
(print_address_numeric): To here.
* TODO: Update.
2000-07-11 08:51:59 +00:00
Andrew Cagney d730266bb0 * symtab.c: Use paddr_nz() to print addresses. 2000-07-11 07:56:23 +00:00
Andrew Cagney 6d9019e4c0 Add function bfd_elf_get_sign_extend_vma. 2000-07-11 07:28:25 +00:00
Andrew Cagney 23e2c83b83 The MIPS thinks that addresses are signed. Sign extend MIPS ECOFF
addresses.
2000-07-11 06:37:34 +00:00
Andrew Cagney 448cafa400 * elfcode.h (elf_object_p): Use bfd_set_start_address and not
bfd_get_start_address.
(elf_swap_ehdr_in): Sign extend e_entry when applicable.
(elf_swap_ehdr_out): Ditto.
2000-07-11 06:08:19 +00:00
Andrew Cagney 173155e866 Add read_signed_register{,_pid}(). Change return type of
read_register{,_pid}() to ULONGEST.
2000-07-11 05:42:25 +00:00
Alan Modra b71e277823 Remove some forward declarations in ldemul.h and ldfile.h, and
re-arrange header include order.
Fix shadowing warnings in ldlang.h
Fix compile errors in mpw-elfmips.c
2000-07-11 03:42:41 +00:00
Nick Clifton 1aea3bb851 Fix formatting 2000-07-10 19:09:51 +00:00
Nick Clifton 3dd5103bb4 Fix formatting. 2000-07-10 18:59:26 +00:00
Nick Clifton 83ea41ad9c Add set of bfd_mach_ cases for compatibility with older binutils 2000-07-10 18:29:39 +00:00
Alan Modra 9082179098 Fix a date. 2000-07-10 18:07:44 +00:00
H.J. Lu 2ef53d6665 2000-07-10 H.J. Lu <hjl@gnu.org>
* emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
	DLL_SUPPORT.
	(strhash): Likewise.
	(compute_dll_image_base): Likewise.
	(pe_undef_found_sym): Likewise.
	(pe_undef_cdecl_match): Likewise.
	(gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
	argument "arch" with ATTRIBUTE_UNUSED.
2000-07-10 17:20:35 +00:00
Alan Modra 9a8cbb092b Warning fix and remove extraneous hppa*-*-linux-gnu*. 2000-07-10 17:15:11 +00:00
Alan Modra 36a3dc5119 Even more hppa testsuite patches. 2000-07-10 17:02:16 +00:00
Alan Modra e0e338392e Comment the relocs. 2000-07-10 15:34:31 +00:00
Eli Zaretskii 30083a3242 A few tweaks required to use Readline as part of the DJGPP port of GDB. 2000-07-10 15:22:16 +00:00
Alan Modra 4b6341e9d2 Yet more hppa testuite tweaks for hppa-linux. 2000-07-10 15:21:05 +00:00
Alan Modra 46b85d4287 More warning fixes, and a tweak in tc-hppa.c to check constant
branch offsets a little more thoroughly.
2000-07-10 15:15:01 +00:00
Andrew Cagney cce41527ca * mips-tdep.c (mips_push_arguments): Always align struct_addr on a
16 byte boundary. Align allocated argument space using
MIPS_STACK_ARGSIZE.  Reserve space on stack for the struct return
and floating-point registers.  Use fp_register_arg_p to determine
if float_argreg should be aligned.
2000-07-10 15:09:23 +00:00
Alan Modra 12c616f16e Remove some of the hppa testsuite fudges for hppa-linux. 2000-07-10 14:59:48 +00:00
Alan Modra 3c9f43b196 Warning fixes. 2000-07-10 14:51:04 +00:00
Elena Zannoni 8db62801bd 2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
 	sh_store_return_value().
	* sh-tdep.c (sh_store_return_value): New function. Store the
 	value returned by a function into the appropriate register.

2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * sh-tdep.c (sh_skip_prologue): Before looking at the actual
 	instructions, try to see if the symbol table can be of help, by
 	calling after_prologue(). If this doesn't work, call
 	skip_prologue_hard_way().
	(skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
 	more instruction pattern matching for pushing of arguments, and
 	manipulation of r14.
	(after_prologue): New function. Use symbol table info to determine
 	the end of the prologue, if possible.
2000-07-10 14:43:37 +00:00
Michael Snyder 32178cabe9 2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
* findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
        generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
        generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
        generic_target_write_pc, generic_target_read_pc, write_pc_pid,
        read_pc_pid, supply_register, write_register_pid, write_register,
        read_register_pid, read_register, write_register_bytes,
        read_register_bytes, write_register_gen, read_register_gen,
        registers_fetched, registers_changed, find_saved_register,
        read_relative_register_raw_bytes, default_get_saved_register,
        read_relative_register_raw_bytes_for_frame, get_saved_register):
        Move from this file into new file regcache.c.
        (register_valid, registers_pid, registers): Ditto.
        * regcache.c: New file to hold the register cache.
        (register_cached): New function to read register_valid array.
        * value.h (register_cached): Declare.
        * defs.h (default_get_saved_register): Delete decl of static function.
        * Makefile.in: Add regcache module.
2000-07-10 06:16:51 +00:00
Michael Snyder 62c848e1d0 Dummy commit for diff purposes. 2000-07-10 06:14:40 +00:00
Alan Modra b7af50e3f8 Ryan Bradetich's warning fixes. 2000-07-10 05:14:13 +00:00
Andrew Cagney 8ce17b9a34 From Pierre Muller <muller@ics.u-strasbg.fr>:
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.
2000-07-10 05:09:51 +00:00
Alan Modra 3df7b4e2d2 Avoid negative section sequence ids. 2000-07-10 02:05:40 +00:00
Geoffrey Keating 1da5001cc9 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
2000-07-09 20:28:51 +00:00
Elena Zannoni c3b6c27c01 2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* TODO: Remove readline 4.1 import item.
2000-07-09 19:11:44 +00:00
Elena Zannoni 1b17e76665 readline:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        Locally modified files: Makefile.in, configure.in, configure
        (regenerated), config.h.in (regenerated), readline.h, rltty.c,
 	shell.c signals.c.

        Locally added files: acconfig.h, config/*, config.h.bot,
        cross-build/*, doc/inc-hit.texinfo.

        New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        New files: excallback.c, rlfe.c.
doc:
2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * Import of readline 4.1.

        Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
        inclusion in the gdb manual.

        New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
Elena Zannoni d0352a18a5 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2000-07-09 16:21:23 +00:00
Elena Zannoni f9267e152c Import of readline 4.1 2000-07-09 16:21:23 +00:00
Nick Clifton 3316ae25d3 Add several more port specific maintainers 2000-07-09 15:23:00 +00:00
Ulf Carlsson adb76a3e5c 2000-07-09 Koundinya K <kk@ddeorg.soft.net>
* elf32-mips.c (sort_dynamic_relocs): New Function.
        (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs
	via qsort to sort the dynamic relocations in increasing r_symndx
	value.
2000-07-09 13:48:21 +00:00
Alan Modra 958d649baf Forgot to save in emacs. 2000-07-09 09:04:39 +00:00
Alan Modra 4900fc0695 hppaelf.em: Merge from elf32.em and implement multiple linker stubs.
Makefile.am: Re-enable ehppaelf.o, add ehppalinux.o
configure.tgt: targ_emul=hppalinux for hppa*linux
2000-07-09 08:45:29 +00:00
Alan Modra ad1079af05 Add linux-elf flavour to pseudos in tc-hppa.c and some tidying
and bug fixes.  Handle wide mode relocs.  Don't select target
size based on BFD64.
2000-07-09 08:16:21 +00:00
Alan Modra 6e09abd4bd Add some prototypes, and fix a few warnings. 2000-07-09 07:29:39 +00:00
Alan Modra edd21acadc Restore hppa-elf32 to working order. 2000-07-09 07:23:07 +00:00
Eli Zaretskii 63ac3005ce * Makefile.in (install-info): Find files to install in either the build
or source directories (adapted from Makefile.am).
	(From Chris Faylor.)
2000-07-09 05:41:21 +00:00
Nicholas Duffek 546022221a * gdb.c++/misc.cc (class ClassParam, class_param): Define.
(use_methods): New function.
	(main): Call use_methods().
	* gdb.c++/classes.exp (test_method_param_class): New procedure.
	(do_tests): Call test_method_param_class.
2000-07-09 05:16:11 +00:00
Nicholas Duffek 6b1ba9a002 * gdbtypes.c (is_ancestor): Infer type equivalence from name
equivalence.
	(rank_one_type): Use strcmp instead of == to compare type names.
	Don't swap parm with arg when checking TYPE_CODE_REF types.
	* valops.c (find_overload_match): Fix indentation.  Compare
	parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
	and 100.
2000-07-09 05:15:50 +00:00
Nicholas Duffek 2bec05724f * gdb.c++/classes.exp (test_nonexistant_members): Fix name
spelling.
	(test_enums): New procedure.  Move enum tests from end of script
	to here.  Set breakpoint on function name instead of line number.
	* gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
	(enums2): New marker function.
	(enums1): New function.
	(main): Call enums1().  Move enum tests to enums1().
2000-07-09 05:10:13 +00:00
Ulf Carlsson 623aa22419 2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
* doc/internals.texi (Expressions): Fix typo.
2000-07-08 22:07:54 +00:00
Nick Clifton f851444e73 Fix formatting 2000-07-08 20:34:43 +00:00
Nick Clifton d0313fb7a7 Fix formating 2000-07-08 18:56:38 +00:00