Alan Modra [Mon, 10 Jul 2000 18:07:44 +0000 (18:07 +0000)]
Fix a date.
H.J. Lu [Mon, 10 Jul 2000 17:20:35 +0000 (17:20 +0000)]
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.
Alan Modra [Mon, 10 Jul 2000 17:15:11 +0000 (17:15 +0000)]
Warning fix and remove extraneous hppa*-*-linux-gnu*.
Alan Modra [Mon, 10 Jul 2000 17:02:16 +0000 (17:02 +0000)]
Even more hppa testsuite patches.
Alan Modra [Mon, 10 Jul 2000 15:34:31 +0000 (15:34 +0000)]
Comment the relocs.
Eli Zaretskii [Mon, 10 Jul 2000 15:22:16 +0000 (15:22 +0000)]
A few tweaks required to use Readline as part of the DJGPP port of GDB.
Alan Modra [Mon, 10 Jul 2000 15:21:05 +0000 (15:21 +0000)]
Yet more hppa testuite tweaks for hppa-linux.
Alan Modra [Mon, 10 Jul 2000 15:15:01 +0000 (15:15 +0000)]
More warning fixes, and a tweak in tc-hppa.c to check constant
branch offsets a little more thoroughly.
Andrew Cagney [Mon, 10 Jul 2000 15:09:23 +0000 (15:09 +0000)]
* 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.
Alan Modra [Mon, 10 Jul 2000 14:59:48 +0000 (14:59 +0000)]
Remove some of the hppa testsuite fudges for hppa-linux.
Alan Modra [Mon, 10 Jul 2000 14:51:04 +0000 (14:51 +0000)]
Warning fixes.
Elena Zannoni [Mon, 10 Jul 2000 14:43:37 +0000 (14:43 +0000)]
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.
Michael Snyder [Mon, 10 Jul 2000 06:16:51 +0000 (06:16 +0000)]
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.
Michael Snyder [Mon, 10 Jul 2000 06:14:40 +0000 (06:14 +0000)]
Dummy commit for diff purposes.
Alan Modra [Mon, 10 Jul 2000 05:14:13 +0000 (05:14 +0000)]
Ryan Bradetich's warning fixes.
Andrew Cagney [Mon, 10 Jul 2000 05:09:51 +0000 (05:09 +0000)]
From Pierre Muller <muller@ics.u-strasbg.fr>:
* p-typeprint.c (pascal_type_print_method_args): Add braces around
isdigit after while keyword.
Alan Modra [Mon, 10 Jul 2000 02:05:40 +0000 (02:05 +0000)]
Avoid negative section sequence ids.
Geoffrey Keating [Sun, 9 Jul 2000 20:28:51 +0000 (20:28 +0000)]
* ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
Elena Zannoni [Sun, 9 Jul 2000 19:11:44 +0000 (19:11 +0000)]
2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* TODO: Remove readline 4.1 import item.
Elena Zannoni [Sun, 9 Jul 2000 17:20:00 +0000 (17:20 +0000)]
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
Elena Zannoni [Sun, 9 Jul 2000 16:21:23 +0000 (16:21 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Elena Zannoni [Sun, 9 Jul 2000 16:21:23 +0000 (16:21 +0000)]
Import of readline 4.1
Nick Clifton [Sun, 9 Jul 2000 15:23:00 +0000 (15:23 +0000)]
Add several more port specific maintainers
Ulf Carlsson [Sun, 9 Jul 2000 13:48:21 +0000 (13:48 +0000)]
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.
Alan Modra [Sun, 9 Jul 2000 09:04:39 +0000 (09:04 +0000)]
Forgot to save in emacs.
Alan Modra [Sun, 9 Jul 2000 08:45:29 +0000 (08:45 +0000)]
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
Alan Modra [Sun, 9 Jul 2000 08:16:21 +0000 (08:16 +0000)]
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.
Alan Modra [Sun, 9 Jul 2000 07:29:39 +0000 (07:29 +0000)]
Add some prototypes, and fix a few warnings.
Alan Modra [Sun, 9 Jul 2000 07:23:07 +0000 (07:23 +0000)]
Restore hppa-elf32 to working order.
Eli Zaretskii [Sun, 9 Jul 2000 05:41:21 +0000 (05:41 +0000)]
* Makefile.in (install-info): Find files to install in either the build
or source directories (adapted from Makefile.am).
(From Chris Faylor.)
Nicholas Duffek [Sun, 9 Jul 2000 05:16:11 +0000 (05:16 +0000)]
* 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.
Nicholas Duffek [Sun, 9 Jul 2000 05:15:50 +0000 (05:15 +0000)]
* 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.
Nicholas Duffek [Sun, 9 Jul 2000 05:10:13 +0000 (05:10 +0000)]
* 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().
Ulf Carlsson [Sat, 8 Jul 2000 22:07:54 +0000 (22:07 +0000)]
2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
* doc/internals.texi (Expressions): Fix typo.
Nick Clifton [Sat, 8 Jul 2000 20:34:43 +0000 (20:34 +0000)]
Fix formatting
Nick Clifton [Sat, 8 Jul 2000 18:56:38 +0000 (18:56 +0000)]
Fix formating
Nick Clifton [Sat, 8 Jul 2000 18:13:58 +0000 (18:13 +0000)]
Fix formatting
Alan Modra [Sat, 8 Jul 2000 13:35:05 +0000 (13:35 +0000)]
Fix --section-start=xxxx
Alan Modra [Sat, 8 Jul 2000 12:08:43 +0000 (12:08 +0000)]
Add sequence id field to asection.
Tidy comments and replace deprecated CONST with const.
Alan Modra [Sat, 8 Jul 2000 12:00:26 +0000 (12:00 +0000)]
Don't add a space before `/*' when processing comments.
Nicholas Duffek [Fri, 7 Jul 2000 23:44:16 +0000 (23:44 +0000)]
* stabs.texinfo: Fix spelling errors.
(String Field): FILE-NUMBER starts from 0, not 1.
Nicholas Duffek [Fri, 7 Jul 2000 22:00:09 +0000 (22:00 +0000)]
* xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
* rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
DJ Delorie [Fri, 7 Jul 2000 20:10:28 +0000 (20:10 +0000)]
minor formatting change
DJ Delorie [Fri, 7 Jul 2000 20:09:28 +0000 (20:09 +0000)]
* ld/emultempl/pe.em: institute the following search order for
dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
static lib (libfoo.a) if none of the above are found.
DJ Delorie [Fri, 7 Jul 2000 20:01:35 +0000 (20:01 +0000)]
* ld/emultempl/pe.em (pe_enable_auto_image_base): New variable.
(longopts): New --{enable,disable}-auto-image-base options.
(gld_${EMULATION_NAME}_list_options): Document.
(gld_${EMULATION_NAME}_parse): Handle.
(strhash): New static function.
(compute_dll_image_base): New static function.
(gld_${EMULATION_NAME}_set_symbols): Use.
Elena Zannoni [Fri, 7 Jul 2000 19:14:18 +0000 (19:14 +0000)]
Import of readline 4.0
Elena Zannoni [Fri, 7 Jul 2000 19:14:18 +0000 (19:14 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
DJ Delorie [Fri, 7 Jul 2000 17:40:23 +0000 (17:40 +0000)]
* archive.c (_bfd_write_archive_contents): Add an informative
comment.
Elena Zannoni [Fri, 7 Jul 2000 17:15:46 +0000 (17:15 +0000)]
Dummy commit before importof 4.1 version
Nick Clifton [Fri, 7 Jul 2000 16:58:25 +0000 (16:58 +0000)]
Fix comments.
Nick Clifton [Fri, 7 Jul 2000 16:52:31 +0000 (16:52 +0000)]
fixed another comment formatting problem.
Nick Clifton [Fri, 7 Jul 2000 16:46:38 +0000 (16:46 +0000)]
oops - omitted from previous delta
Nick Clifton [Fri, 7 Jul 2000 16:45:46 +0000 (16:45 +0000)]
Fix formatting.
Andrew Haley [Fri, 7 Jul 2000 13:52:53 +0000 (13:52 +0000)]
2000-07-07 Andrew Haley <aph@cygnus.com>
* cplus-dem.c (main): fflush() after emitting last char before
waiting for input.
Jeff Law [Fri, 7 Jul 2000 13:21:39 +0000 (13:21 +0000)]
* symlink-tree: Check number of arguments.
Andrew Cagney [Fri, 7 Jul 2000 09:19:03 +0000 (09:19 +0000)]
More mult-arch conversions: IEEE_FLOAT, SKIP_PROLOGUE,
SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC,
INNER_THAN.
Mark Kettenis [Fri, 7 Jul 2000 00:30:35 +0000 (00:30 +0000)]
* config/i386/tm-linux.h: Add longjmp support.
(JB_ELEMENT_SIZE, JB_PC): New defines.
(GET_LONGJMP_TARGET): Define.
(get_longjmp_target): Add prototype.
Mark Kettenis [Fri, 7 Jul 2000 00:20:29 +0000 (00:20 +0000)]
* breakpoint.c (bpstat_what): Keep returning
BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp()
breakpoints instead of signalling an error by returning
BPSTAT_WHAT_STOP_NOISY.
Nick Clifton [Thu, 6 Jul 2000 23:26:55 +0000 (23:26 +0000)]
Fix formatting
Michael Snyder [Thu, 6 Jul 2000 23:17:32 +0000 (23:17 +0000)]
2000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>
* mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.
Christopher Faylor [Thu, 6 Jul 2000 20:58:33 +0000 (20:58 +0000)]
* infcmd.c (attach_command): Move "stop_soon_quietly" setting inside
ATTACH_NO_WAIT conditional since we are not about to stop soon if we're not
calling wait_for_inferior.
Nick Clifton [Thu, 6 Jul 2000 17:21:00 +0000 (17:21 +0000)]
oops - omitted frpom previous delta
Nick Clifton [Thu, 6 Jul 2000 17:18:10 +0000 (17:18 +0000)]
Applied Mark Elbrecht <snowball3@bigfoot.com>'s patch to implement
TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
Andrew Cagney [Thu, 6 Jul 2000 07:25:02 +0000 (07:25 +0000)]
Always NULL terminate long option list.
Andrew Cagney [Thu, 6 Jul 2000 07:01:38 +0000 (07:01 +0000)]
Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
* config/tc-d30v.h: Include "write.h" for fixS.
(d30v_start_line, md_pcrel_from_section): Add function prototypes.
Andrew Cagney [Thu, 6 Jul 2000 05:39:36 +0000 (05:39 +0000)]
Update texinfo.tex to version 2000-05-28.15.
Nick Clifton [Wed, 5 Jul 2000 22:28:07 +0000 (22:28 +0000)]
Fix expected results
Fix expected results.
Nick Clifton [Wed, 5 Jul 2000 21:56:08 +0000 (21:56 +0000)]
oops - omitted from previous delta
Nick Clifton [Wed, 5 Jul 2000 21:55:13 +0000 (21:55 +0000)]
Further changes to warning messages
Nick Clifton [Wed, 5 Jul 2000 21:40:11 +0000 (21:40 +0000)]
Change minimum loop size limit to 0x10 (103792)
Nick Clifton [Wed, 5 Jul 2000 20:11:22 +0000 (20:11 +0000)]
Add Mike Meissner
DJ Delorie [Wed, 5 Jul 2000 19:28:06 +0000 (19:28 +0000)]
add MAINTAINERS files
Eli Zaretskii [Wed, 5 Jul 2000 13:11:41 +0000 (13:11 +0000)]
Remove \centerline from the blurb. Patch from Brian Youmans.
Andrew Cagney [Wed, 5 Jul 2000 11:11:58 +0000 (11:11 +0000)]
Keep NATDEPFILES on a single line.
Andrew Cagney [Wed, 5 Jul 2000 10:55:17 +0000 (10:55 +0000)]
Set SER_HARDWIRET to ser-go32.c when *go32* or *djgpp*.
Andrew Cagney [Wed, 5 Jul 2000 10:36:41 +0000 (10:36 +0000)]
Replace command_loop_marker() with null_cleanup().
Andrew Cagney [Wed, 5 Jul 2000 10:25:43 +0000 (10:25 +0000)]
Check for <sys/poll.h>.
Andrew Cagney [Wed, 5 Jul 2000 08:12:04 +0000 (08:12 +0000)]
Pass infodir down to sub-makes.
Andrew Cagney [Wed, 5 Jul 2000 08:05:53 +0000 (08:05 +0000)]
Update TODO.
Mark Kettenis [Tue, 4 Jul 2000 22:55:42 +0000 (22:55 +0000)]
* TODO: Update.
Alexandre Oliva [Tue, 4 Jul 2000 08:00:19 +0000 (08:00 +0000)]
* armvirt.c (ABORTS): Do not define.
Alexandre Oliva [Tue, 4 Jul 2000 07:18:18 +0000 (07:18 +0000)]
* armdefs.h (struct ARMul_State): Add is_StrongARM.
(ARM_Strong_Prop, STRONGARM): Define.
* arminit.c (ARMul_NewState): Reset is_StrongARM.
(ARMul_SelectProcessor): Set is_StrongARM.
* wrapper.c (sim_create_inferior): Use bfd machine type to
determine processor type to emulate.
* armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
when emulating StrongARM.
Alexandre Oliva [Tue, 4 Jul 2000 06:54:48 +0000 (06:54 +0000)]
* armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
Alexandre Oliva [Tue, 4 Jul 2000 06:52:30 +0000 (06:52 +0000)]
* armemu.h (INSN_SIZE): New macro.
(SET_ABORT): Save CPSR in SPSR and set LR.
* armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
(WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
* arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
Alexandre Oliva [Tue, 4 Jul 2000 06:39:39 +0000 (06:39 +0000)]
* armemu.c (LoadSMult): Use WriteR15() to discard the least
significant bits of PC.
Alexandre Oliva [Tue, 4 Jul 2000 06:35:36 +0000 (06:35 +0000)]
* armemu.h (WRITEDESTB): New macro.
* armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
modify PC. Moved the existing logic...
(WriteR15Branch): ... here. New function.
(WriteR15, WriteSR15): Drop the two least significant bits.
(LoadSMult): Use WriteR15Branch() to modify PC.
(LoadMult): Use WRITEDESTB() instead of WRITEDEST().
Alexandre Oliva [Tue, 4 Jul 2000 06:19:29 +0000 (06:19 +0000)]
* armemu.h (GETSPSR): Call ARMul_GetSPSR().
* armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
extracted from state->Cpsr, but preserve the unused bits.
(ARMul_GetCPSR): Get bits preserved in state->Cpsr.
(ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
get the full CPSR word.
Alexandre Oliva [Tue, 4 Jul 2000 06:06:30 +0000 (06:06 +0000)]
* armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
(SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
(SETPSR, SET_INTMODE, SETCC): Removed.
* armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
mask. Use SETPSR_* to modify PSR.
(ARMul_SetCPSR): Load all bits from value.
* armemu.c (ARMul_Emulate, msr): Do not test bit mask.
Alexandre Oliva [Tue, 4 Jul 2000 05:49:04 +0000 (05:49 +0000)]
* config/tc-arm.c (psrs): Accept combinations of flags.
Alexandre Oliva [Tue, 4 Jul 2000 05:47:22 +0000 (05:47 +0000)]
* arm-dis.c (print_insn_arm): Output combinations of PSR flags.
Alexandre Oliva [Tue, 4 Jul 2000 05:30:43 +0000 (05:30 +0000)]
* armemu.c (ARMul_Emulate): Compute writeback value before
loading, since the offset register may be the destination
register.
Alexandre Oliva [Tue, 4 Jul 2000 05:16:20 +0000 (05:16 +0000)]
* armdefs.h (SYSTEMBANK): Define as USERBANK.
* armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
Alexandre Oliva [Tue, 4 Jul 2000 05:11:37 +0000 (05:11 +0000)]
* coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
value of PC-relative offsets.
Andrew Cagney [Tue, 4 Jul 2000 05:00:54 +0000 (05:00 +0000)]
TIc80 simulator.
Andrew Cagney [Tue, 4 Jul 2000 02:47:08 +0000 (02:47 +0000)]
Rewrite gdb.asm so that it doesn't assume a C comiler (or any C
support).
Andrew Cagney [Tue, 4 Jul 2000 02:38:05 +0000 (02:38 +0000)]
Replace jumbo pattern match with gdb_expect_list().
Andrew Cagney [Tue, 4 Jul 2000 02:32:58 +0000 (02:32 +0000)]
Fix MOVN.fmt and MOVZ.fmt, need to test GPR[RT].
Jim Wilson [Tue, 4 Jul 2000 02:18:06 +0000 (02:18 +0000)]
Fix hash section entry size to match ELF standard. Override for alpha-linux.
* elf64-alpha.c (alpha_elf_size_info): New.
(elf_backend_size_info): Define to alpha_elf_size_info.
* elfcode.h (elf_size_info): Change hash bucket size to 4.
Ulf Carlsson [Tue, 4 Jul 2000 00:10:15 +0000 (00:10 +0000)]
2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c: Include elf32-target.h again for the traditional
MIPS targets.
Ulf Carlsson [Mon, 3 Jul 2000 23:49:36 +0000 (23:49 +0000)]
2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c: Include elf32-target.h again for the traditional
MIPS targets.