DJ Delorie [Thu, 13 Jul 2000 00:51:40 +0000 (00:51 +0000)]
* pe-dll.c (make_one): fix a typo in the __imp_ name decoration
for dll import libraries
Michael Snyder [Wed, 12 Jul 2000 23:16:45 +0000 (23:16 +0000)]
* parse.c (target_map_name_to_register): Include pseudo-regs.
Michael Snyder [Wed, 12 Jul 2000 22:01:17 +0000 (22:01 +0000)]
2000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
* regcache.c (registers_changed, registers_fetched): Use
ARCH_NUM_REGS directly, eliminating an unnecessary variable.
This change adds pseudo-register capability to GDB.
Pseudo-registers are handled like registers, but they
don't come from or live on the target. They may be
aliases for an existing register, or they may be computed.
* defs.h (NUM_PSEUDO_REGISTERS): Define default of zero.
(ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
(ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
# regcache.c (registers_changed): Mark pseudo-registers
invalid, as well as real registers.
(registers_fetched): Do not mark pseudo-registers as fetched
at the same time as other (real) registers.
(read_register_bytes): Fetch pseudo-registers (if any) from
the target architecture module instead of from the target.
(read_register_gen): Ditto.
(read_register): Ditto.
(write_register_bytes): Store pseudo-registers (if any) to
the target architecture module instead of to the target.
(write_register_gen): Ditto.
(write_register): Ditto.
(build_regcache): Allocate enough register_valid space for
pseudo-registers as well as normal (real) ones.
Mark Kettenis [Wed, 12 Jul 2000 19:52:17 +0000 (19:52 +0000)]
* objdump.c (usage): Make output of `objdump --help' more
consistent with the rest of the GNU world. Add a line describing
the purpose of the program.
DJ Delorie [Wed, 12 Jul 2000 18:29:55 +0000 (18:29 +0000)]
* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
out a structure that is BFD_IN_MEMORY.
Nick Clifton [Wed, 12 Jul 2000 16:45:46 +0000 (16:45 +0000)]
Add padding to the last section when aligning it increases its size.
Nick Clifton [Wed, 12 Jul 2000 16:41:29 +0000 (16:41 +0000)]
Support the g++ attribute init_priority in gcc 2.95.2 and later.
Alan Modra [Wed, 12 Jul 2000 11:54:35 +0000 (11:54 +0000)]
Update comment.
Andrew Cagney [Wed, 12 Jul 2000 08:31:49 +0000 (08:31 +0000)]
* valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
POINTER.
Alan Modra [Wed, 12 Jul 2000 05:03:01 +0000 (05:03 +0000)]
Use section id in get_dyn_name.
Nick Clifton [Tue, 11 Jul 2000 20:17:02 +0000 (20:17 +0000)]
Fix formatting and add missing new lkine at end of error message
Nick Clifton [Tue, 11 Jul 2000 18:48:17 +0000 (18:48 +0000)]
Fix formatting.
Jakub Jelinek [Tue, 11 Jul 2000 18:45:27 +0000 (18:45 +0000)]
Add myself as SPARC maintainer.
Jakub Jelinek [Tue, 11 Jul 2000 18:44:12 +0000 (18:44 +0000)]
* sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
Reported by Bill Clarke <llib@computer.org>.
Scott Bambrough [Tue, 11 Jul 2000 14:00:42 +0000 (14:00 +0000)]
2000-07-11 Scott Bambrough <scottb@netwinder.org>
* command.c (do_setshow_command): Fix typo in var_auto_boolean
case.
Andrew Cagney [Tue, 11 Jul 2000 11:02:11 +0000 (11:02 +0000)]
* 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.
Andrew Cagney [Tue, 11 Jul 2000 10:24:25 +0000 (10:24 +0000)]
Force MIPS to sign-extend any addresses read from registers.
Andrew Cagney [Tue, 11 Jul 2000 09:25:22 +0000 (09:25 +0000)]
Move the ``set mask-address'' command to remote-mips.c. Disable
address masking in mips-tdep.c.
Andrew Cagney [Tue, 11 Jul 2000 08:51:59 +0000 (08:51 +0000)]
* printcmd.c (print_scalar_formatted): Move masking of 'a' address
from here.
(print_address_numeric): To here.
* TODO: Update.
Andrew Cagney [Tue, 11 Jul 2000 07:56:23 +0000 (07:56 +0000)]
* symtab.c: Use paddr_nz() to print addresses.
Andrew Cagney [Tue, 11 Jul 2000 07:28:25 +0000 (07:28 +0000)]
Add function bfd_elf_get_sign_extend_vma.
Andrew Cagney [Tue, 11 Jul 2000 06:37:34 +0000 (06:37 +0000)]
The MIPS thinks that addresses are signed. Sign extend MIPS ECOFF
addresses.
Andrew Cagney [Tue, 11 Jul 2000 06:08:19 +0000 (06:08 +0000)]
* 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.
Andrew Cagney [Tue, 11 Jul 2000 05:42:25 +0000 (05:42 +0000)]
Add read_signed_register{,_pid}(). Change return type of
read_register{,_pid}() to ULONGEST.
Alan Modra [Tue, 11 Jul 2000 03:42:41 +0000 (03:42 +0000)]
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
Nick Clifton [Mon, 10 Jul 2000 19:09:51 +0000 (19:09 +0000)]
Fix formatting
Nick Clifton [Mon, 10 Jul 2000 18:59:26 +0000 (18:59 +0000)]
Fix formatting.
Nick Clifton [Mon, 10 Jul 2000 18:29:39 +0000 (18:29 +0000)]
Add set of bfd_mach_ cases for compatibility with older binutils
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