OSDN Git Service
dj [Tue, 4 May 2004 20:06:15 +0000 (20:06 +0000)]
merge from gcc
msnyder [Tue, 4 May 2004 20:04:57 +0000 (20:04 +0000)]
2004-05-04 Michael Snyder <msnyder@redhat.com>
* m68k-tdep.c (m68k_gdbarch_init): Default to using
reg_struct_return method (as gcc usually does for cross targets).
cagney [Tue, 4 May 2004 18:50:24 +0000 (18:50 +0000)]
2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Committed by Andrew Cagney.
* s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
alignment padding when accessing ucontext struct members.
jimb [Tue, 4 May 2004 17:58:30 +0000 (17:58 +0000)]
* config/ppc-tdep.h (struct gdbarch_tdep): Delete
'ppc_gplast_regnum' member.
(ppc_num_gprs): New enum constant.
* ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
* rs6000-nat.c (regmap, fetch_inferior_registers,
store_inferior_registers): Same.
* rs6000-tdep.c (e500_pseudo_register_read)
(e500_pseudo_register_write): Same.
(rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
jimb [Tue, 4 May 2004 17:43:52 +0000 (17:43 +0000)]
* config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
* ppc-tdep.h (ppc_num_fprs): New enum constant.
* aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
FPLAST_REGNUM.
* ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
Same.
* ppc-linux-nat.c (ppc_register_u_addr): Same.
* rs6000-nat.c (regmap, fetch_inferior_registers)
(store_inferior_registers): Same.
jimb [Tue, 4 May 2004 17:40:40 +0000 (17:40 +0000)]
* aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
with FPLAST_REGNUM.
cgf [Tue, 4 May 2004 15:14:48 +0000 (15:14 +0000)]
* path.cc (normalize_win32_path): Detect components with only dots. Remove a
final . if it follows '\\'.
(mount_info::conv_to_win32_path): Only backslashify the path when no mount is
found.
(chdir): Do not look for components with only dots.
cgf [Tue, 4 May 2004 15:09:57 +0000 (15:09 +0000)]
* path.cc (is_unc_share): Remove redundant tests.
hjl [Tue, 4 May 2004 14:58:09 +0000 (14:58 +0000)]
2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (make_unw_section_name): Removed.
(start_unwind_section): New function.
(generate_unwind_image): Take const segT instead of const
char *.
(dot_handlerdata): Adjusted.
(dot_endp): Likewise.
corinna [Tue, 4 May 2004 14:46:24 +0000 (14:46 +0000)]
* crt0.o (mainCRTStartup): 16 byte align stack for main function.
corinna [Tue, 4 May 2004 10:54:06 +0000 (10:54 +0000)]
* path.cc (check_sysfile): Don't scan string twice.
brobecke [Tue, 4 May 2004 00:11:25 +0000 (00:11 +0000)]
* dwarf2read.c (dwarf2_create_include_psymtab): Fix build
failure detected by recent versions of GCC.
(psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
to be consistent with the usage in dwarf2_create_include_psymtab.
amodra [Tue, 4 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update
msnyder [Mon, 3 May 2004 22:20:17 +0000 (22:20 +0000)]
2004-05-03 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
(heuristic_proc_start): Whitespace cleanup.
kettenis [Mon, 3 May 2004 22:16:11 +0000 (22:16 +0000)]
Really remove file.
kettenis [Mon, 3 May 2004 22:12:21 +0000 (22:12 +0000)]
* sun3-nat.c: Remove file.
* Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
dependencies.
(ALLDEPFILES): Remove sun3-nat.c.
(sun3-nat.o): Remove dependencies.
kettenis [Mon, 3 May 2004 22:06:10 +0000 (22:06 +0000)]
* i386-interix-nat.c, i386-interix-tdep.c,
config/i386/nm-interix.h, config/i386/interix.mh,
config/i386/interix.mt: Remove files.
* Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
dependencies.
kettenis [Mon, 3 May 2004 21:56:07 +0000 (21:56 +0000)]
* m68k-tdep.h (struct gdbarch_tdep): Add member
struct_value_regnum.
(m68k_svr4_init_abi): New prototype.
* m68k-tdep.c: Include "floatformat.h". Add comment about all the
different calling conventions.
(m68k_extract_return_value): Remove code dealing with single-field
structs.
(m68k_store_return_value): Remove code dealing with single-field
structs. Correctly store return values of 5, 6, 7 or 8 bytes.
(m68k_extract_struct_value_address): Remove function.
(m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
(m68k_reg_struct_return_p, m68k_return_value)
(m68k_svr4_return_value): New functions.
(m68k_use_struct_convention): Remove function.
(m68k_push_dummy_call): Use new struct_value_regnum member of
`struct gdbarch_tdep' instead of hardcoded register number to
store STRUCT_ADDR.
(m68k_svr4_init_abi): New function.
(m68k_gdbarch_init): Don't set extract_return_value,
store_return_values, deprecated_extract_struct_value_address and
use_struct_convention. Set return_value instead. Initialize new
struct_value_regnum member of `struct gdbarch_tdep'.
* m68klinux-tdep.c: Update copyright year.
(m68k_linux_extract_return_value, m68k_linux_store_return_value)
(m68k_linux_extract_struct_value_address): Remove function.
(m68k_linux_init_abi): Don't set extract_return_value,
store_return_values, deprecated_extract_struct_value_address and
use_struct_convention. Call m68k_svr4_init_abi but override the
new struct_value_regnum member of `struct gdbarch_tdep'.
* Makefile.in (m68k-tdep.o): Update dependencies.
jjohnstn [Mon, 3 May 2004 20:17:58 +0000 (20:17 +0000)]
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
multibyte functions return failure for %C, %S, %lc, and %ls
format specifiers.
jjohnstn [Mon, 3 May 2004 17:31:22 +0000 (17:31 +0000)]
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* testsuite/include/check.h (CHECK): Add flush of stdout.
jjohnstn [Mon, 3 May 2004 17:27:56 +0000 (17:27 +0000)]
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/include/stdio.h (_ungetc_r): New prototype.
* libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
(__submore): Add reentrant struct pointer argument.
(ungetc): Change to call _ungetc_r.
brobecke [Mon, 3 May 2004 16:21:50 +0000 (16:21 +0000)]
* dwarf2read.c (line_header): Add new included_p field in
field file_names.
(partial_die_info): New field has_stmt_list. New field line_offset.
(dwarf2_create_include_psymtab): New function.
(dwarf2_build_include_psymtabs): New function.
(add_file_name): Add forward declaration. Initialize new field.
(dwarf_decode_lines): Add new parameter. Enhance this procedure
to be able to determine the list of files included by the
given unit, and build their associated psymtabs.
(dwarf2_build_psymtabs_hard): Build the psymtabs for the included
files as well.
(psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
(read_file_scope): Update call to dwarf_decode_lines.
(read_partial_die): Handle DW_AT_stmt_list attributes.
amodra [Mon, 3 May 2004 14:52:01 +0000 (14:52 +0000)]
* elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
SEC_MERGE sections.
* elflink.c (elf_link_input_bfd): Adjust output reloc index for
those against discarded link-once and SEC_MERGE section symbols.
corinna [Mon, 3 May 2004 11:53:05 +0000 (11:53 +0000)]
* dir.cc (writable_directory): Remove.
(mkdir): Remove call to writable_directory.
* syscalls.cc (unlink): Ditto.
(rename): Ditto.
* winsup.h (writable_directory): Remove declaration.
hjl [Mon, 3 May 2004 04:08:30 +0000 (04:08 +0000)]
2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (obj_elf_change_section): Allow the
".note.GNU-stack" section has SHF_EXECINSTR.
chastain [Mon, 3 May 2004 02:03:15 +0000 (02:03 +0000)]
2004-05-02 Michael Chastain <mec.gnu@mindspring.com>
Unfix PR gdb/1626.
* configure.in: Revert special case for osf5.*.
* configure: Regenerate.
amodra [Mon, 3 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update
hjl [Sun, 2 May 2004 14:36:24 +0000 (14:36 +0000)]
bfd/
2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
* section.c (bfd_get_section_by_name_if): New.
* bfd-in2.h: Regenerated.
gas/
2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (get_section): Return bfd_boolean.
(obj_elf_change_section): Call bfd_get_section_by_name_if
instead of bfd_map_over_sections.
jimb [Sun, 2 May 2004 10:14:00 +0000 (10:14 +0000)]
Move the symbol-file-from-memory functions into their own file.
* symfile-mem.c, symfile-mem.h: New files.
* symfile.c (symbol_file_add_from_bfd): New function.
(symbol_file_add): Call symbol_file_add_from_bfd.
(symbol_file_add_from_memory, add_symbol_file_from_memory_command):
Moved to symfile-mem.c.
(_initialize_symfile): Move definition of
add-symbol-file-from-memory command to symfile-mem.c.
* symfile.h (symbol_file_add_from_bfd): New declaration.
* config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
* config/powerpc/linux.mt (TDEPFILES): Same.
* Makefile.in (SFILES): Add symfile-mem.c.
(symfile_mem_h): New variable.
(HFILES_NO_SRCDIR): Add symfile-mem.h.
(symfile-mem.o): New rule.
amodra [Sun, 2 May 2004 06:21:07 +0000 (06:21 +0000)]
* som.c (som_bfd_is_group_section): Define.
cagney [Sun, 2 May 2004 00:21:40 +0000 (00:21 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (insert_bp_location): Use get_frame_id, and
frame_find_by_id instead of frame_relative_level.
(do_enable_breakpoint): Ditto.
* thread.c: Update copyright.
(info_threads_command): Ditto, simplify.
amodra [Sun, 2 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update
cagney [Sat, 1 May 2004 22:41:33 +0000 (22:41 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_generic_get_saved_register): Delete
function, moved to "xstormy16-tdep.c".
* xstormy16-tdep.c (xstormy16_get_saved_register): Inline
deprecated_generic_get_saved_register from "frame.c".
(xstormy16_frame_saved_register): Call
xstormy16_get_saved_register.
* dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
static.
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
* frame.h (deprecated_generic_get_saved_register): Delete.
chastain [Sat, 1 May 2004 22:30:26 +0000 (22:30 +0000)]
2004-05-01 Michael Chastain <mec.gnu@mindspring.com>
* dwarfread.c: Update documentation on the state of dwarf-1.
cagney [Sat, 1 May 2004 21:11:15 +0000 (21:11 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* stack.c (select_frame_command): Delete call to
frame_relative_level.
(print_frame, set_backtrace_limit_command, backtrace_limit_info):
Delete #if0 code.
(frame_info): Do not print FRAMELESS.
(print_block_frame_labels): Replace DEPRECATED_STREQ.
(catch_info): Delete #if0 code.
cagney [Sat, 1 May 2004 19:35:22 +0000 (19:35 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
* dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
of frame_relative_level.
* sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
to SENTINEL_FRAME.
* frame.h (enum frame_type): Add SENTINEL_FRAME.
* s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
frame_relative_level.
cagney [Sat, 1 May 2004 19:02:10 +0000 (19:02 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_set_frame_type): Delete declaration.
* frame.c (deprecated_set_frame_type): Delete function, update
comments.
cagney [Sat, 1 May 2004 16:52:28 +0000 (16:52 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
(shnbsd_pc_in_sigtramp): Delete.
* i386-interix-tdep.c (i386_interix_init_abi): Do not set
pc_in_sigtramp.
* hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
pc_in_sigtramp.
* frame.h: Update comments.
* ppc-linux-tdep.c: Update comments.
* breakpoint.c (bpstat_what): Update comments.
Index: doc/ChangeLog
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
description of DEPRECATED_PC_IN_SIGTRAMP.
cagney [Sat, 1 May 2004 16:28:10 +0000 (16:28 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
m68klinux-tdep.o's dependencies, were previously added to
m68klinux-nat.o.
cagney [Sat, 1 May 2004 15:34:48 +0000 (15:34 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
* alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
* alphafbsd-tdep.c (alphafbsd_init_abi): Update.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
* alpha-linux-tdep.c (alpha_linux_init_abi): Update.
cagney [Sat, 1 May 2004 15:10:14 +0000 (15:10 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (m68klinux-nat.o): Update dependencies.
* m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(m68k_linux_sigtramp_frame_cache)
(m68k_linux_sigtramp_frame_this_id)
(m68k_linux_sigtramp_frame_prev_register)
(m68k_linux_sigtramp_frame_unwind)
(m68k_linux_sigtramp_frame_sniffer)
(struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
names, use trad-frame.h.
* m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
(struct m68k_sigtramp_info): Delete.
* m68k-tdep.c (m68k_sigtramp_frame_cache)
(m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
(m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
(m68k_gdbarch_init): Delete all the sigtramp code, moved to
"m68klinux-tdep.c".
amodra [Sat, 1 May 2004 14:20:26 +0000 (14:20 +0000)]
* section.c (bfd_make_section_anyway): Copy the whole
bfd_hash_entry, not just "next" from existing entry.
cagney [Sat, 1 May 2004 14:15:19 +0000 (14:15 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* infrun.c (check_sigtramp2): Delete check for
DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
kettenis [Sat, 1 May 2004 14:08:47 +0000 (14:08 +0000)]
* m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
cagney [Sat, 1 May 2004 14:00:56 +0000 (14:00 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(frv_linux_sigtramp_frame_cache)
(frv_linux_sigtramp_frame_this_id)
(frv_linux_sigtramp_frame_prev_register)
(frv_linux_sigtramp_frame_unwind)
(frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
include "linux" in function and variable names, directly call
frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
the latest trad-frame code.
(frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
* Makefile.in (frv-linux-tdep.o): Update dependencies.
* frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
* frv-tdep.c (frv_sigtramp_frame_cache)
(frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
(frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
frv-linux-tdep.c.
(frv_gdbarch_init): Do not append a sigtramp sniffer.
(struct gdbarch_tdep): Delete sigcontext_reg_addr.
(frv_set_sigcontext_reg_addr): Delete function.
cagney [Sat, 1 May 2004 13:14:14 +0000 (13:14 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_SIGTRAMP_START)
(DEPRECATED_SIGTRAMP_END): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (legacy_pc_in_sigtramp): Simplify.
* config/vax/tm-vaxbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
* config/m68k/tm-nbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
kettenis [Sat, 1 May 2004 10:55:18 +0000 (10:55 +0000)]
* dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
encondings. Fixes PR gdb/1628.
kettenis [Sat, 1 May 2004 09:52:45 +0000 (09:52 +0000)]
* dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
DW_CFA_restore state without a matching DW_CFA_remember_state
instead of aborting. Fixes PR backtrace/1589.
infidel [Sat, 1 May 2004 01:52:58 +0000 (01:52 +0000)]
2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
* include/winbase.h (EXECUTION_STATE): Add typedef.
(SetThreadExecutionState): Declare.
* include/wingdi.h (_WINGDI_): Define.
* include/objbase.h (_OBJBASE_H_): Define.
brobecke [Sat, 1 May 2004 01:28:17 +0000 (01:28 +0000)]
* MAINTAINERS: Add self as AIX maintainer.
Update my e-mail address in write-after-approval section.
cagney [Sat, 1 May 2004 00:52:36 +0000 (00:52 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
(legacy_get_prev_frame): Ditto.
cagney [Sat, 1 May 2004 00:34:53 +0000 (00:34 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_pc_in_sigtramp): Delete.
(mips_gdbarch_init): Do not set pc_in_sigtramp.
* mipsread.c (sigtramp_address): Delete extern variable.
(mipscoff_new_init): Delete reference.
* mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
(fixup_sigtramp): Delete function.
* config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
(fixup_sigtramp): Delete declarations.
cagney [Sat, 1 May 2004 00:09:12 +0000 (00:09 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
deprecated_pc_in_sigtramp.
(ppcnbsd_pc_in_sigtramp): Delete function.
amodra [Sat, 1 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update
kettenis [Fri, 30 Apr 2004 23:59:54 +0000 (23:59 +0000)]
* config/m68k/nm-nbsd.h: Tweak comments.
* config/m68k/nm-nbsdaout.h: Likewise.
cagney [Fri, 30 Apr 2004 23:47:55 +0000 (23:47 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (arm_sigtramp_unwind_sniffer): Call legacy_pc_in_sigtramp.
* ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
kettenis [Fri, 30 Apr 2004 23:28:50 +0000 (23:28 +0000)]
Add OpenBSD/m68k support.
* NEWS (New native configurations): Mention OpenBSD/m68k.
* m68kbsd-tdep.c: New file.
* m68kbsd-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
(m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
* configure.host: Add m68k-*-openbsd.
* configure.tgt: Add m68k-*-openbsd.
* config/m68k/tm-obsd.h: New file.
* config/m68k/obsd.mt: New file.
* config/m68k/obsd.mh: New file.
* config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
m68kbsd-tdep.c.
cagney [Fri, 30 Apr 2004 22:38:02 +0000 (22:38 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
(mipsnbsd_init_abi): Do not set pc_in_sigtramp.
kettenis [Fri, 30 Apr 2004 21:47:06 +0000 (21:47 +0000)]
* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
ford [Fri, 30 Apr 2004 21:13:57 +0000 (21:13 +0000)]
Revert 2004-04-16 change.
* i386-tdep.c (i386_gdbarch_init): Fix comment typos.
(i386_coff_init_abi): Remove.
* i386-tdep.h (i386_coff_init_abi): Remove.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
cagney [Fri, 30 Apr 2004 20:58:32 +0000 (20:58 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* blockframe.c (find_pc_partial_function): Delete use of
DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
DEPRECATED_SIGTRAMP_END.
cagney [Fri, 30 Apr 2004 20:52:15 +0000 (20:52 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
* config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
cagney [Fri, 30 Apr 2004 20:44:56 +0000 (20:44 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* defs.h (deprecated_inside_entry_file): Delete declaration.
* blockframe.c (deprecated_inside_entry_file): Delete function.
(legacy_frame_chain_valid): Delete call.
* sh64-tdep.c (sh64_frame_chain): Delete call.
* objfiles.h: Update comments.
* i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
call.
* frame.c (get_prev_frame): Delete call, update comments.
ford [Fri, 30 Apr 2004 19:44:49 +0000 (19:44 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
corinna [Fri, 30 Apr 2004 17:36:36 +0000 (17:36 +0000)]
* fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_path
for evaluating NT path.
* path.cc (normalize_posix_path): Remove trailing dots and spaces.
(path_conv::get_nt_native_path): New function.
* path.h (class path_conv): Declare get_nt_native_path method.
infidel [Fri, 30 Apr 2004 17:06:21 +0000 (17:06 +0000)]
2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>
* include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type.
* include/aclui.h: Remove '\r', throughout.
* include/msacm.h: Likewise.
* lib/aclui.def: Likewise.
infidel [Fri, 30 Apr 2004 17:05:28 +0000 (17:05 +0000)]
2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>
* include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type.
* include/aclui.h: Remove '\r', throughout.
* include/msacm.h: Likewise.
* lib/aclui.def: Likewise.
hjl [Fri, 30 Apr 2004 16:47:45 +0000 (16:47 +0000)]
gas/
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (get_section): New function.
(obj_elf_change_section): Support multiple sections with same
name.
gas/testsuite/
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/elf.exp: Remove group1, add group1a and group1b for
section group.
* gas/elf/group1a.d: New file.
* gas/elf/group1b.d: Likewise.
* gas/elf/group1.e: Removed.
hjl [Fri, 30 Apr 2004 15:04:28 +0000 (15:04 +0000)]
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (bfd_section_from_shdr): Maintain the section order in
a section group.
(special_sections): Add ".note.GNU-stack".
(elf_fake_sections): Handle section group for relocatable
link..
hjl [Fri, 30 Apr 2004 15:01:14 +0000 (15:01 +0000)]
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* section.c (bfd_sections_find_if): New.
* bfd-in2.h: Regenerated.
hjl [Fri, 30 Apr 2004 14:56:02 +0000 (14:56 +0000)]
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_section_headers): Use %3lu on sh_info.
cagney [Fri, 30 Apr 2004 14:40:52 +0000 (14:40 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
code.
amodra [Fri, 30 Apr 2004 14:26:09 +0000 (14:26 +0000)]
* ldlang.c (unique_section_p): Pass section parm, return true on
group sections.
(output_section_callback): Adjust.
* ldlang.h (unique_section_p): Update prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
amodra [Fri, 30 Apr 2004 14:23:39 +0000 (14:23 +0000)]
* section.c (bfd_make_section_anyway): Add all sections to hash tab.
* elf-bfd.h (bfd_elf_is_group_section): Declare.
* elf.c (bfd_elf_is_group_section): New function.
* elfxx-target.h (bfd_elfNN_bfd_is_group_section
* section.c (bfd_generic_is_group_section): New function.
* targets.c (struct bfd_target): Add _bfd_is_group_section field.
(BFD_JUMP_TABLE_LINK): Adjust.
* aout-adobe.c (aout_32_bfd_is_group_section): Define.
* aout-target.h (MY_bfd_is_group_section): Define.
* aout-tic30.c (MY_bfd_is_group_section): Define.
* bfd.c (bfd_is_group_section): Define.
* binary.c (binary_bfd_is_group_section): Define.
* bout.c (b_out_bfd_is_group_section): Define.
* coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust.
* coffcode.h (coff_bfd_is_group_section): Define.
* i386msdos.c (msdos_bfd_is_group_section): Define.
* i386os9k.c (os9k_bfd_is_group_section): Define.
* ieee.c (ieee_bfd_is_group_section): Define.
* ihex.c (ihex_bfd_is_group_section): Define.
* libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define.
* mach-o.c (bfd_mach_o_bfd_is_group_section): Define.
* mmo.c (mmo_bfd_is_group_section): Define.
* nlm-target.h (nlm_bfd_is_group_section): Define.
* oasys.c (oasys_bfd_is_group_section): Define.
* pef.c (bfd_pef_bfd_is_group_section): Define.
* ppcboot.c (ppcboot_bfd_is_group_section): Define.
* srec.c (srec_bfd_is_group_section): Define.
* tekhex.c (tekhex_bfd_is_group_section): Define.
* versados.c (versados_bfd_is_group_section): Define.
* vms.c (vms_bfd_is_group_section): Define.
* xsym.c (bfd_sym_bfd_is_group_section): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
cagney [Fri, 30 Apr 2004 14:12:44 +0000 (14:12 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* gdb-events.sh (selected_thread_changed)
(selected_frame_level_changed, target_changed): Delete.
* gdb-events.h, gdb-events.c: Re-generate.
* valops.c (value_assign): Update.
* stack.c (select_frame_command, up_silently_base)
(down_silently_base): Update.
corinna [Fri, 30 Apr 2004 14:02:37 +0000 (14:02 +0000)]
* fhandler.cc (fhandler_base::open): Fix NT native path evaluation
to allow opening serial ports.
corinna [Fri, 30 Apr 2004 13:27:27 +0000 (13:27 +0000)]
* init.cc (threadfunc_fe): Hack to make thread stacks always 16
byte aligned.
ebotcazou [Fri, 30 Apr 2004 11:49:45 +0000 (11:49 +0000)]
* ld.texinfo (--gc-sections): Remove restriction for
dynamic linking.
nickc [Fri, 30 Apr 2004 10:51:12 +0000 (10:51 +0000)]
Fix handling of case sensitive register aliases and add a test for the bug
amodra [Fri, 30 Apr 2004 08:48:54 +0000 (08:48 +0000)]
* elflink.c (elf_gc_mark): Follow indirect and warning syms.
orjanf [Fri, 30 Apr 2004 07:38:50 +0000 (07:38 +0000)]
2004-04-30 Orjan Friberg <orjanf@axis.com>
* observer.texi (GDB Observers): Correct spelling.
nickc [Fri, 30 Apr 2004 07:37:10 +0000 (07:37 +0000)]
Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces
bje [Fri, 30 Apr 2004 07:14:40 +0000 (07:14 +0000)]
* Corrections to previous patch. Amend ChangeLog.
* ppc-opc.c (XCMPL): Renmame to XOPL. Update users.
(powerpc_opcodes): Add "dbczl" instruction for PPC970.
bje [Fri, 30 Apr 2004 06:46:53 +0000 (06:46 +0000)]
* ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.
[testsuite]
* gas/ppc/power4.s: Add dcbz and dcbzl test cases.
* gas/ppc/power4.d: Update accordingly.
hp [Fri, 30 Apr 2004 06:29:36 +0000 (06:29 +0000)]
Eh... sanitize date of last entry
hp [Fri, 30 Apr 2004 06:28:46 +0000 (06:28 +0000)]
* configure.in: Update version to 2.15.91.
* configure: Regenerate.
cagney [Fri, 30 Apr 2004 00:43:09 +0000 (00:43 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI
registers correctly.
(print_gp_register_row, mips32_heuristic_proc_desc)
(mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
(mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate
references to mips_isa_regsize.
amodra [Fri, 30 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update
cagney [Thu, 29 Apr 2004 23:39:51 +0000 (23:39 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (struct gdbarch_tdep): Delete
mips_fp_register_double.
(FP_REGISTER_DOUBLE): Delete macro, replace with test for
mips_abi_regsize.
(mips_gdbarch_init): Do not set mips_fp_register_double.
(mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
cagney [Thu, 29 Apr 2004 22:37:53 +0000 (22:37 +0000)]
Remove >>>>> from someones long-ago commit.
cagney [Thu, 29 Apr 2004 22:36:22 +0000 (22:36 +0000)]
2004-04-29 Joel Brobecker <brobecker@gnat.com>
Committed by Andrew Cagney.
* infrun.c (handle_inferior_event): Rely on frame IDs to detect
function calls.
brolley [Thu, 29 Apr 2004 20:28:01 +0000 (20:28 +0000)]
2004-04-27 Dave Brolley <brolley@redhat.com>
* commonCfg.h (CacheCfg::compute_comptype): Now virtual.
(SessionCfg::get_loader): New method.
brolley [Thu, 29 Apr 2004 20:27:32 +0000 (20:27 +0000)]
2004-04-29 Dave Brolley <brolley@redhat.com>
* elfload.c (textSectionAddress): Check section table before accessing.
* compLoader.cxx (loader_probe_bus): Initialize section_table.
brolley [Thu, 29 Apr 2004 20:26:58 +0000 (20:26 +0000)]
2004-04-29 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (register_dso): Check dl_handle before attempting to
open ".a".
* Makefile.am (libconfig_la_DEPENDENCIES): Add @LIBLTDL@.
* Makefile.in: Regenerated.
brolley [Thu, 29 Apr 2004 20:26:08 +0000 (20:26 +0000)]
2004-04-29 Dave Brolley <brolley@redhat.com>
* cacheutil.cxx (cache_set::expell_line): Don't update the set here.
2004-04-29 Dave Brolley <brolley@redhat.com>
* cache.cxx: Update calls to cache::find.
* cacheutil.cxx (cache_set::allocate_lines): Now takes cache index as
an argument. Update all callers.
(cache_set::find): Now returns a pointer to the line, if found. Update
all callers.
(cache::find): Ditto.
(cache_set::expell_line): Update the status of the expelled line.
* cacheutil.h (cache_line_factory::make_line): Now takes cache index as
an argument. Update all callers.
(cache_set::allocate_lines): Now takes cache index as
an argument. Update all callers.
(cache_set::find): Now returns a pointer to the line, if found. Update
all callers.
(cache::find): Ditto.
2004-04-29 Dave Brolley <brolley@redhat.com>
* cacheutil.h (cache_line): Removed copy constructor. Now virtual base
class.
(cache_line::operator=): Removed.
(internal_cache_line): New class implements former cache_line class.
(cache_set): Now takes cache_line_factory.
(allocate_lines): New method moves line allocation from the constructor.
(cache_set::set_line): Now takes reference to cache_line.
(cache_set::replace_line): Renamed to expell_line. Now returns a pointer
to the expelled line.
(cache): Now takes cache_line_factory argument.
(cache::init): New method moves set allocation from the constructor.
(cache_set::expell_line): Renamed to expell_line. Now returns a pointer
to the expelled line.
(cache_line_factory): New class.
* cacheutil.cxx (cache_line): Removed copy constructor. Now virtual base
class.
(cache_line::operator=): Removed.
(internal_cache_line): New class implements former cache_line class.
(cache_set): Now takes cache_line_factory.
(allocate_lines): New method moves line allocation from the constructor.
(cache_set::set_line): Now takes reference to cache_line.
(dummy): Now internal to cache_set::find.
(cache_set::replace_line): Renamed to expell_line. Now returns a pointer
to the expelled line.
(cache): Now takes cache_line_factory argument.
(cache::init): New method moves set allocation from the constructor.
(cache_set::expell_line): Renamed to expell_line. Now returns a pointer
to the expelled line.
* cache.h (cache_replacement_algorithm::expell): Renamed from 'replace'.
Returns a pointer to the expelled line. Update specializations.
(cache_component): Now takes a cache_line_factory as an argument.
Private data now protected.
(line_factory): New member of cache_component.
(~cache_component): Now virtual.
(CacheCreate): Pass internal_line_factory to cache_component.
* cache.cxx (line_sizes): Make it static.
(line_sizes): Ditto.
(replacement_algorithms): Ditto.
(internal_line_factory): New static cache_line_factory.
(cache_component): Now takes a cache_line_factory as an argument. Pass
the cache line factory to the constructor for acache. Save a reference
to the line factory. Call acache.init
(write_any): Rewrite to use cache::expell_line instead of the former
cache::replace.
(read_any): Ditto.
(cache_replacement_algorithm::expell): Renamed from 'replace'. Returns
a pointer to the expelled line. Update all callers and specializations.
(CacheCreate): Pass internal_line_factory to cache_component.
cagney [Thu, 29 Apr 2004 19:41:59 +0000 (19:41 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
gdbarch, use mips_abi, update callers.
(mips_stack_argsize): Replace tdep parameter with gdbarch, use
mips_abi_regsize, update callers.
(struct gdbarch_tdep): Delete mips_default_stack_argsize and
mips_default_abi_regsize.
(mips_gdbarch_init): Do not set mips_default_stack_argsize and
mips_default_abi_regsize.
cagney [Thu, 29 Apr 2004 18:28:41 +0000 (18:28 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
(mips_abi_regsize_string): Rename mips_saved_regsize_string.
(struct gdbarch_tdep): Rename mips_default_saved_regsize to
mips_default_abi_regsize.
(mips_isa_regsize): Rename mips_regisze.
* mipsnbsd-tdep.c: Update.
* mips-linux-tdep.c: Update.
* irix5-nat.c: Update.
* mips-tdep.h (mips_isa_regsize): Update.
kettenis [Thu, 29 Apr 2004 18:05:30 +0000 (18:05 +0000)]
* i386-prologue.exp: Add testcase for jump instruction as first
instruction of the real code.
* i386-prologue.c (jump_at_beginning): New function.
cagney [Thu, 29 Apr 2004 18:00:07 +0000 (18:00 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
Delete all disabled code.
* gdb-events.h, gdb-events.c: Re-generate.
nickc [Thu, 29 Apr 2004 16:40:18 +0000 (16:40 +0000)]
Add support for generating DWARF2 debug sections in the x86 PE port