Hans-Peter Nilsson [Sun, 24 Feb 2002 16:44:45 +0000 (16:44 +0000)]
* ld-sh/ld-r-1.d: Adjust to changes in readelf output.
* ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
Daniel Jacobowitz [Sun, 24 Feb 2002 05:19:07 +0000 (05:19 +0000)]
==> dejagnu/ChangeLog <==
2002-02-23 Daniel Jacobowitz <drow@mvista.com>
* config.guess: Import from master sources, rev 1.232.
* config.sub: Import from master sources, rev 1.246.
==> readline/ChangeLog.Cygnus <==
2002-02-24 Daniel Jacobowitz <drow@mvista.com>
* support/config.guess: Import from master sources, rev 1.232.
* support/config.sub: Import from master sources, rev 1.246.
Andrew Cagney [Sun, 24 Feb 2002 04:31:13 +0000 (04:31 +0000)]
Zap lin-thread.c
Andrew Cagney [Sun, 24 Feb 2002 03:59:50 +0000 (03:59 +0000)]
* ocd.c (ocd_open): Do not try to open the "ocd" device.
* serial.c (serial_open): Delete check for "ocd".
Fix PR gdb/349.
Andrew Cagney [Sun, 24 Feb 2002 03:35:39 +0000 (03:35 +0000)]
* Makefile.in (linux-thread.o): Delete target.
* linux-thread.c: Delete file.
Andrew Cagney [Sun, 24 Feb 2002 01:58:23 +0000 (01:58 +0000)]
* config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
renamed SH files to be consistent.
Andrew Cagney [Sun, 24 Feb 2002 01:44:00 +0000 (01:44 +0000)]
s/free/xfree/
Michael Chastain [Sun, 24 Feb 2002 00:42:39 +0000 (00:42 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.
Daniel Jacobowitz [Sun, 24 Feb 2002 00:04:00 +0000 (00:04 +0000)]
2002-02-23 Daniel Jacobowitz <drow@mvista.com>
* config.guess: Import from master sources, rev 1.232.
* config.sub: Import from master sources, rev 1.246.
gdbadmin [Sun, 24 Feb 2002 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 23 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Earnshaw [Sat, 23 Feb 2002 22:17:12 +0000 (22:17 +0000)]
* arm-linux-tdep.c (arm_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
* config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
definition with undef, since we don't want the sysvr4 definition.
(SKIP_TRAMPOLINE_CODE): Likewise.
Andrew Cagney [Sat, 23 Feb 2002 21:54:25 +0000 (21:54 +0000)]
* configure.in: (AC_CHECK_FUNCS) Added test for
canonicalize_file_name Regenerated.
* config.in, configure: Regenerated.
* utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
defined use canonicalize_file_name.
Michael Chastain [Sat, 23 Feb 2002 21:44:56 +0000 (21:44 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.
Jim Blandy [Sat, 23 Feb 2002 21:30:23 +0000 (21:30 +0000)]
Doc fix.
Andrew Cagney [Sat, 23 Feb 2002 20:59:55 +0000 (20:59 +0000)]
s/cygnus.com/.../
Michael Chastain [Sat, 23 Feb 2002 20:57:53 +0000 (20:57 +0000)]
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
test "ptype bint". The test passes on all my stabs configurations.
Andrew Cagney [Sat, 23 Feb 2002 20:36:49 +0000 (20:36 +0000)]
From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1003.1-2001 no longer allows "head -1".
* gdb/Makefile.in (version.c): Likewise.
* gdb/doc/Makefile.in (GDBvn.texi): Likewise.
* gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
Andrew Cagney [Sat, 23 Feb 2002 20:12:13 +0000 (20:12 +0000)]
* cli/cli-decode.c (cmd_cfunc_eq): New function.
* command.h (cmd_cfunc_eq): Declare.
* cli/cli-decode.h (cmd_cfunc_eq): Ditto.
* cli/cli-cmds.h (is_complete_command): Change parameter to a
``struct cmd_list_element *''.
* cli/cli-cmds.c (is_complete_command): Update. Use
cmd_cfunc_eq.
* top.c (execute_command): Pass the command to
is_complete_command.
* tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
Andrew Cagney [Sat, 23 Feb 2002 20:00:17 +0000 (20:00 +0000)]
From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
* config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
architecture defines.
* s390-tdep.c (s390_gdbarch_init): Likewise.
Richard Earnshaw [Sat, 23 Feb 2002 17:07:57 +0000 (17:07 +0000)]
* arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
(arm_linux_push_arguments): Likewise.
(arm_linux_init_abi): Register them. Also register linux-specific
call_dummy_words.
(find_minsym_and_objfile): Use strcmp, not STREQ.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
(arm_linux_call_dummy_words): Delete declaration.
(EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
(arm_linux_extract_return_value, arm_linux_push_arguments): Delete
declarations.
(LOWEST_PC): Delete.
Peter Schauer [Sat, 23 Feb 2002 13:18:36 +0000 (13:18 +0000)]
* maint.c (print_section_info): Do not prepend `0x' to filepos
output, it will be handled by local_hex_string_custom.
Richard Earnshaw [Sat, 23 Feb 2002 12:36:50 +0000 (12:36 +0000)]
* arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
(store_newfpe_double, store_newfpe_extended, store_fpregister)
(store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
Alexandre Oliva [Sat, 23 Feb 2002 10:08:09 +0000 (10:08 +0000)]
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.
Jim Blandy [Sat, 23 Feb 2002 03:57:26 +0000 (03:57 +0000)]
Indicate that the bcache functions don't change the strings
they're passed.
* bcache.h (bcache, hash): Add `const' keywords to declarations.
* bcache.c (bcache, hash): Add `const' keywords to definitions.
gdbadmin [Sat, 23 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 22 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
David O'Brien [Fri, 22 Feb 2002 20:36:12 +0000 (20:36 +0000)]
The "2002-02-05 Alan Modra <amodra@bigpond.net.au>" commit also affected
elf32-i386.c
Pierre Muller [Fri, 22 Feb 2002 17:04:25 +0000 (17:04 +0000)]
2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (child_create_inferior): Fix create flags setting bug.
Nick Clifton [Fri, 22 Feb 2002 12:00:38 +0000 (12:00 +0000)]
Fix another spelling typo!
Nick Clifton [Fri, 22 Feb 2002 11:59:50 +0000 (11:59 +0000)]
Fix spelling typo
Nick Clifton [Fri, 22 Feb 2002 11:57:10 +0000 (11:57 +0000)]
oops - update date on newly created entry
Nick Clifton [Fri, 22 Feb 2002 11:56:21 +0000 (11:56 +0000)]
Keep track of prologue counts across .label_state/.copy_state directives
Nick Clifton [Fri, 22 Feb 2002 11:37:41 +0000 (11:37 +0000)]
Do not complain if gasp does not exist.
Nick Clifton [Fri, 22 Feb 2002 10:49:38 +0000 (10:49 +0000)]
Add missing protoypes.
Remove ANSI style function declarations
Jakub Jelinek [Fri, 22 Feb 2002 10:03:03 +0000 (10:03 +0000)]
* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
last patch.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
Christopher Faylor [Fri, 22 Feb 2002 01:35:59 +0000 (01:35 +0000)]
* win32-nat.c (register_loaded_dll): Just use raw name when we can't find the
complete path to a loaded DLL.
Fred Fish [Fri, 22 Feb 2002 00:17:13 +0000 (00:17 +0000)]
Approved by Jim Blandy (jimb@redhat.com).
2002-02-21 Fred Fish <fnf@redhat.com>
* dbxread.c (process_one_symbol): When finding an N_FUN symbol
that marks the end of the range of a function, enter a line number
entry that has a line number of zero and a PC offset that matches
the end of the function. This starts a range of PC's for which no
line number information is known.
* symtab.c (find_pc_sect_line): If our best fit is in a range of
PC's for which no line number info is found (line number is zero)
then we didn't find any valid line information.
* symtab.h: Document use of zero line number entry.
gdbadmin [Fri, 22 Feb 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 21 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Thu, 21 Feb 2002 22:39:19 +0000 (22:39 +0000)]
Fix typo.
Jim Blandy [Thu, 21 Feb 2002 22:19:14 +0000 (22:19 +0000)]
include:
Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.
libiberty:
* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.
Elena Zannoni [Thu, 21 Feb 2002 22:04:46 +0000 (22:04 +0000)]
2002-02-21 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
(have_ptrace_getvrregs): Define for run time checks.
(gdb_vrregset_t): New type for Altivec register handling.
(fetch_register, store_register): Fetch/store altivec register
when needed.
(fetch_altivec_register, store_altivec_register): New functions.
(supply_vrregset, fill_vrregset): New functions.
(fetch_altivec_registers, store_altivec_registers): New functions.
(fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
registers as well.
Jim Blandy [Thu, 21 Feb 2002 20:58:25 +0000 (20:58 +0000)]
* gdb.asm/asm-source.exp: Parse the output from `info sources' one
filename at a time, and watch for the ones we want to see.
Jim Blandy [Thu, 21 Feb 2002 20:34:16 +0000 (20:34 +0000)]
* gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
types of pointers to prototyped functions.
Keith Seitz [Thu, 21 Feb 2002 20:22:49 +0000 (20:22 +0000)]
* armos.c (SWIWrite0): Use generic host_callback mechanism
for supported OS functions "open", "close", "write", etc.
(SWIopen): Likewise.
(SWIread): Likewise.
(SWIwrite): Likewise.
(SWIflen): Likewise.
(ARMul_OSHandleSWI): Likewise.
Nick Clifton [Thu, 21 Feb 2002 18:09:08 +0000 (18:09 +0000)]
Fix spelling typo
Nick Clifton [Thu, 21 Feb 2002 16:51:00 +0000 (16:51 +0000)]
deprecate GASP
Andreas Jaeger [Thu, 21 Feb 2002 15:31:53 +0000 (15:31 +0000)]
* elf64-x86-64.c: Major rework that introduces all recent changes
to the x86-64 backend. Get a closer match to elf32-i386.
(struct elf64_x86_64_dyn_relocs): Rename from
elf64_x86_64_pcrel_relocs_copied, add additional fields. Change
all users.
(struct elf64_x86_64_link_hash_table): Add short cuts to some
sections.
(link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc,
remove casts, initialize new hash members.
(create_got_section): New.
(elf64_x86_64_create_dynamic_sections): New.
(elf64_x86_64_copy_indirect_symbol): New.
(elf64_x86_64_check_relocs): Don't allocate space for dynamic
relocs, .got or .relgot here but do it in allocate_dynrelocs.
Reference count possible .plt and .got entries. Don't test input
section SEC_READONLY here to try to avoid copy relocs, and keep
dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set
DF_TEXTREL here. Delay setting of variables until needed. Cache
pointer to "sreloc" section in elf_section_data. Tweak condition
under which .got created. Report files with bad relocation
section names.
(elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
Reference count possible .plt entries. Don't deallocate .got and
.relgot space here.
(elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't
do copy reloc processing for weakdefs. Remove redundant casts and
aborts. Delay setting of vars until needed. Move creation of
dynamic symbols and allocation of .plt and .rela.plt to
allocate_dynrelocs. Replace BFD_ASSERT with abort.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
(allocate_dynrelocs): New.
(readonly_dynrelocs): New.
(elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs.
Allocate space for dyn relocs. Replace BFD_ASSERT with abort.
Zero out the dynamic allocated content space.
(elf64_x86_64_discard_copies): Removed.
(elf64_x86_64_relocate_section): Make use of dynamic section
short-cuts. Localise vars, and delay setting. Better error
reporting, replace BFD_ASSERT with abort. Check
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the
regular object file and tread the weak definition as the normal
one. Don't discard relocs for undefweak or undefined symbols and
check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy
relocs.
(elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for
symbols that have been forced local. Use same test to decide if
we can use a relative reloc for got as relocate_section. Expand
SHN_UNDEF comment. Move expressions out of function calls.
Replace BFD_ASSERT with abort.
(bfd_elf64_bfd_final_link): Removed.
(elf_backend_copy_indirect_symbol): Define.
Andreas Jaeger [Thu, 21 Feb 2002 12:48:36 +0000 (12:48 +0000)]
* config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
Richard Earnshaw [Thu, 21 Feb 2002 12:19:55 +0000 (12:19 +0000)]
* Makefile.in (armnbsd-nat.o): Update dependencies.
* armnbsd-nat.c (supply_gregset): New function. Common code to
supply the integer register set.
(supply_fparegset): New function. Similar for FPA registers.
(fetch_regs, fetch_fp_regs): Use them.
(fetch_core_registers): Likewise.
(fetch_elfcore_registers): New function.
(arm_netbsd_elfcore_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): Register it.
Richard Earnshaw [Thu, 21 Feb 2002 11:15:41 +0000 (11:15 +0000)]
* armnbsd-nat.c: Include gdbcore.h.
(FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
(fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
'void' to declaration, to shut up ARI.
(fetch_core_registers): Make static. Rewrite using supply_register.
(arm_netbsd_core_fns): New core-file type specification.
(_initialize_arm_netbsd_nat): New function.
Christopher Faylor [Thu, 21 Feb 2002 06:44:05 +0000 (06:44 +0000)]
* win32-nat.c (register_loaded_dll): Correctly check for invalid handle value.
Christopher Faylor [Thu, 21 Feb 2002 04:59:36 +0000 (04:59 +0000)]
* win32-nat.c (register_loaded_dll): Handle case where FindFirstFile fails.
Tom Rix [Thu, 21 Feb 2002 03:57:36 +0000 (03:57 +0000)]
XCOFF booke tests. Fix tlbre, tlbwe ppc WS field.
Daniel Jacobowitz [Thu, 21 Feb 2002 02:54:46 +0000 (02:54 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* jv-exp.y (parse_number): Change type of implicit longs
to builtin_type_uint64.
Andrew Cagney [Thu, 21 Feb 2002 01:55:05 +0000 (01:55 +0000)]
* gdb.base/sizeof.c (main): Call fill_structs. Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.
* gdb.base/sizeof.exp: Check for signed and unsigned char. Check
for correctly sized writes. Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.
gdbadmin [Thu, 21 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Michael Chastain [Wed, 20 Feb 2002 23:54:01 +0000 (23:54 +0000)]
2002-02-20 Michael Chastain <mec@shout.net>
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
to setup_xfail. Document some of the remaining calls.
Alan Modra [Wed, 20 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 20 Feb 2002 22:58:57 +0000 (22:58 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (mywait): Change argument to waitpid
to be an integer instead of a `union wait'.
Daniel Jacobowitz [Wed, 20 Feb 2002 22:51:41 +0000 (22:51 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* mips-linux-nat.c: Call the operating system GNU/Linux.
* mips-linux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
Daniel Jacobowitz [Wed, 20 Feb 2002 22:41:52 +0000 (22:41 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/265.
* jv-exp.y (parse_number): Handle 64-bit integers.
Jim Blandy [Wed, 20 Feb 2002 18:40:52 +0000 (18:40 +0000)]
* stabsread.c (error_type_complaint): Improve error message.
Daniel Jacobowitz [Wed, 20 Feb 2002 16:46:36 +0000 (16:46 +0000)]
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
AC_STDC_HEADERS to AC_HEADER_STDC.
* gdbserver/configure: Regenerated.
Pierre Muller [Wed, 20 Feb 2002 16:09:04 +0000 (16:09 +0000)]
2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.texinfo: Document Cygwin native specific commands.
Alan Modra [Wed, 20 Feb 2002 12:42:38 +0000 (12:42 +0000)]
* osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are
little endian.
Andreas Schwab [Wed, 20 Feb 2002 10:48:25 +0000 (10:48 +0000)]
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
.IA64_unwind* in a relocatable link.
Nick Clifton [Wed, 20 Feb 2002 10:46:54 +0000 (10:46 +0000)]
Mark 2.12 branch
Richard Earnshaw [Wed, 20 Feb 2002 10:42:59 +0000 (10:42 +0000)]
* arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
is defined.
* sparc-tdep.c (get_longjmp_target): Likewise.
Richard Earnshaw [Wed, 20 Feb 2002 10:41:20 +0000 (10:41 +0000)]
* News: Add news about ARM and Multi-arch. Mention the new target
arm*-*-netbsd*.
Nick Clifton [Wed, 20 Feb 2002 10:32:47 +0000 (10:32 +0000)]
Display 2nd and 3rd reloc types for 64-bit MIPS.
Narrow some fields for 80-char output.
David O'Brien [Wed, 20 Feb 2002 06:53:29 +0000 (06:53 +0000)]
match reality
David O'Brien [Wed, 20 Feb 2002 06:52:34 +0000 (06:52 +0000)]
2002-02-18 David O'Brien <obrien@FreeBSD.org>
* Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
and eelf64alpha_fbsd.
(left this out of last patch)
Tom Tromey [Wed, 20 Feb 2002 02:57:45 +0000 (02:57 +0000)]
* config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
Jim Blandy [Wed, 20 Feb 2002 00:26:46 +0000 (00:26 +0000)]
* stabsread.c (error_type_complaint): Improve error message.
gdbadmin [Wed, 20 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Tue, 19 Feb 2002 23:48:14 +0000 (23:48 +0000)]
2002-02-19 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/README: Update documentation.
* gdbserver/configure.in: Update configury to match documentation.
* gdbserver/Makefile.in: Likewise.
* gdbserver/configure: Regenerated.
* gdbserver/aclocal.m4: New file, generated by aclocal.
* gdbserver/config.in: New file, generated by autoheader.
Alan Modra [Tue, 19 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Tue, 19 Feb 2002 22:59:30 +0000 (22:59 +0000)]
* config/tc-mips.c (md_parse_option): Complain about invalid -mabi
option input.
DJ Delorie [Tue, 19 Feb 2002 21:01:40 +0000 (21:01 +0000)]
merge from gcc
Richard Earnshaw [Tue, 19 Feb 2002 19:27:00 +0000 (19:27 +0000)]
* config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
armnbsd-nat.c.
Richard Earnshaw [Tue, 19 Feb 2002 19:20:31 +0000 (19:20 +0000)]
* arm-tdep.h (enum arm_float_model): New enum.
(struct gdbarch_tdep): Add fp_model.
* arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
up floating-point conversions until we know the floating-point model
in use by the inferior. Don't complain about being unable to
determine the ABI of the inferior when we don't have one.
(arm_extract_return_value): Support different floating-point models.
(arm_store_return_value): Likewise.
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
ARM_FLOAT_SOFT.
(arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
Martin Schwidefsky [Tue, 19 Feb 2002 18:59:49 +0000 (18:59 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* s390-dis.c (init_disasm): Use renamed architecture defines.
Martin Schwidefsky [Tue, 19 Feb 2002 18:58:04 +0000 (18:58 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
* emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
Martin Schwidefsky [Tue, 19 Feb 2002 18:50:35 +0000 (18:50 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
Make bit size independent of architecture switch.
(md_begin): Add warning for -m64 with -Aesa.
(s390_md_end): Use renamed architecture defines.
Peter Schauer [Tue, 19 Feb 2002 18:42:27 +0000 (18:42 +0000)]
* i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
of ``current_gdbarch''.
Frank Ch. Eigler [Tue, 19 Feb 2002 18:29:08 +0000 (18:29 +0000)]
2002-02-19 Frank Ch. Eigler <fche@redhat.com>
* hist.c (hist_print): Rewrite log_scale calculation loop.
Martin Schwidefsky [Tue, 19 Feb 2002 18:22:16 +0000 (18:22 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31.
(bfd_mach_s390_esame): Rename to bfd_mach_s390_64.
* bfd-in2.h: Regenerate.
* cpu-s390.c (arch_info_struct): Use renamed architecture defines.
Replace architecture name "s390" with "s390:31-bit" and "s390:esame"
with "s390:64-bit".
* elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations.
(elf_s390_reloc_type_lookup): Likewise.
(elf_s390_check_relocs): Likewise.
(elf_s390_gc_sweep_hook): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_object_p): Use renamed architecture define.
* elf64-s390.c (elf_s390_object_p): Use renamed architecture define.
Richard Earnshaw [Tue, 19 Feb 2002 17:26:27 +0000 (17:26 +0000)]
* armnbsd-nat.c : ANSIfy all function declarations.
(fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
(fetch_inferior_registers): Re-implement in terms of above.
(store_register, store_regs, store_fp_register, store_fp_regs): New.
(store_inferior_registers): Re-implement in terms of above.
Frank Ch. Eigler [Tue, 19 Feb 2002 16:33:04 +0000 (16:33 +0000)]
2002-02-19 Frank Ch. Eigler <fche@redhat.com>
* syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping.
Matthew Green [Tue, 19 Feb 2002 15:20:26 +0000 (15:20 +0000)]
* ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
specific.
Richard Earnshaw [Tue, 19 Feb 2002 14:29:00 +0000 (14:29 +0000)]
* arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
kernel.
* arm-linux-tdep.c: Likewise.
* config/arm/tm-linux.h: Likewise.
Richard Earnshaw [Tue, 19 Feb 2002 14:04:47 +0000 (14:04 +0000)]
* configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
* config/arm/nbsd.mt (TM_FILE): Delete.
* config/arm/tm-nbsd.h: Delete.
Richard Earnshaw [Tue, 19 Feb 2002 13:57:35 +0000 (13:57 +0000)]
* arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
Initialize CALL_DUMMY_LENGTH.
Jakub Jelinek [Tue, 19 Feb 2002 12:40:32 +0000 (12:40 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
absptr -> pcrel optimization for shared libs.
Only create minimal .eh_frame_hdr if absptr FDE encoding in shared
library cannot be converted to pcrel.
(_bfd_elf_eh_frame_section_offset): Return -2 if making absptr
relative.
* elf32-i386.c (elf_i386_relocate_section): If
_bfd_elf_section_offset returned -2, skip, but make sure the
relocation is installed.
* elf32-arm.h (elf32_arm_final_link_relocate): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Handle
_bfd_elf_section_offset returning -2 the same way as -1.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise.
* elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME
and BFD_ASSERT.
* elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise.
Richard Earnshaw [Tue, 19 Feb 2002 11:46:21 +0000 (11:46 +0000)]
* armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
function.
(arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
* config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
defines one thing and that is incorrect for this port.
(IN_SOLIB_CALL_TRAMPOLINE): Delete.
Pierre Muller [Tue, 19 Feb 2002 10:54:27 +0000 (10:54 +0000)]
* fix compilation failure by adding #include "i386-tdep.h"
Pierre Muller [Tue, 19 Feb 2002 08:49:42 +0000 (08:49 +0000)]
2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (display_selector): New function. Displays information
about the information returned by GetThreadSelectorEntry API function.
(display_selectors): New function. Displays the infomation of
the selector given as argument, or of CS, DS ans FS selectors
if no argument is given.
( _initialize_inftarg): Add "w32" as info prefix command.
Add "info w32 selector" as command calling display_selectors.
Pierre Muller [Tue, 19 Feb 2002 08:44:29 +0000 (08:44 +0000)]
* i386-tdep.c (get_longjmp_target): Fix compilation failure
by setting dummy values to JB_PC and JB_ELEMENT_SIZE
if not defined.