OSDN Git Service
kettenis [Thu, 13 Nov 2003 22:01:00 +0000 (22:01 +0000)]
* config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.
carlton [Thu, 13 Nov 2003 19:34:01 +0000 (19:34 +0000)]
2003-11-13 David Carlton <carlton@kealia.com>
* cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
cagney [Thu, 13 Nov 2003 19:06:25 +0000 (19:06 +0000)]
2003-11-13 Andrew Cagney <cagney@redhat.com>
* arch-utils.h (selected_architecture_name): Declare.
(selected_byte_order): Declare.
* arch-utils.c (selected_byte_order): New function.
(selected_architecture_name): New function.
(target_architecture_auto): Make static.
(set_architecture_string): Make static.
(target_byte_order): Make static.
(target_byte_order_auto): Make static.
* gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete
non-multi-arch definition.
(TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete.
(target_byte_order, target_architecture): Delete declaration.
(target_byte_order_auto, target_architecture_auto): Ditto.
* gdbarch.h: Re-generate.
* remote-sim.c (gdbsim_open): Use "selected_architecture_name" and
"selected_byte_order".
cagney [Thu, 13 Nov 2003 18:08:56 +0000 (18:08 +0000)]
2003-11-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
jimb [Thu, 13 Nov 2003 17:28:37 +0000 (17:28 +0000)]
* cp-namespace.c: Doc fix.
nickc [Thu, 13 Nov 2003 16:01:52 +0000 (16:01 +0000)]
Emit a warning when an archive is created (only shown with -v) in order to
confrom to POSIX specification.
sky [Thu, 13 Nov 2003 15:56:50 +0000 (15:56 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32
to R_390_RELAVITE. Convert the other relocations against local
symbols to relocations against the start of the section.
* elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64
to R_390_RELAVITE. Convert the other relocations against local
symbols to relocations against the start of the section.
ezannoni [Thu, 13 Nov 2003 15:34:39 +0000 (15:34 +0000)]
2003-11-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.c: Add comments to aid finding line numbers for
breakpoints.
* gdb.base/break.exp: Remove all references to explicit line
numbers.
nickc [Thu, 13 Nov 2003 14:18:59 +0000 (14:18 +0000)]
Add support for ARM ELF Mapping symbols
dannysmith [Thu, 13 Nov 2003 09:43:06 +0000 (09:43 +0000)]
2003-11-13 Martin Fuchs <martin-fuchs@gmx.net>
* include/shlobj.h (ILAppendID, ILClone, ILCloneFirst, ILCombine,
ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual,
ILIsParent, ILLoadFromStream, ILRemoveLastID, ILSaveToStream):
Add prototypes.
* lib/shell32.def: Add stubs.
* include/commctrl.h (ListView_FindItem): Add type cast to avoid
compiler warnings.
2003-11-13 Hans Leidekker <hans@it.vu.nl>
* include/winbase.h (WIN32_STREAM_ID): Correct typedef.
msnyder [Thu, 13 Nov 2003 00:04:58 +0000 (00:04 +0000)]
2003-11-12 Michael Snyder <msnyder@redhat.com>
* sh64_tdep.c: Regularize some names.
(sh_sh64_register_name): Rename to sh64_register_name.
(sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc.
(sh_sh64_register_byte): Rename to sh64_register_byte.
(sh_sh64_build_float_register_type):
Rename to sh64_build_float_register_type.
(sh_sh64_register_convert_to_virtual):
Rename to sh64_register_convert_to_virtual.
(sh_sh64_register_convert_to_raw):
Rename to sh64_register_convert_to_raw.
gdbadmin [Thu, 13 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Wed, 12 Nov 2003 22:45:40 +0000 (22:45 +0000)]
2003-11-12 Michael Snyder <msnyder@redhat.com>
* sh64-tdep.c (translate_insn_rn, is_media_pseudo,
sh64_media_reg_base_num, sh64_compact_reg_base_num,
sh64_nofp_frame_init_saved_regs, sh64_push_arguments,
sh64_extract_return_value, sh64_show_media_regs,
sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type,
sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw,
sh64_pseudo_register_read, sh64_pseudo_register_write,
sh64_do_pseudo_register, sh_compact_print_registers_info):
Delete unused variable 'tdep'.
msnyder [Wed, 12 Nov 2003 22:12:58 +0000 (22:12 +0000)]
2003-11-12 Michael Snyder <msnyder@redhat.com>
* sh64-tdep.c: Coding standard and spelling comment fixes.
(sh64_extract_return_value): Replace deprecated_store_floating
with store_typed_floating.
(sh_sh64_register_convert_to_raw): Replace
deprecated_store_floating with store_typed_floating.
(sh_sh64_register_virtual_type): Convert to sh64_register_type.
(sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register,
sh64_nofp_frame_init_saved_regs, sh64_push_arguments,
sh64_extract_struct_value_address, sh64_pop_frame,
sh64_extract_return_value, sh64_store_return_value,
sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read,
sh_sh64_register_convert_to_raw, sh_pseudo_register_write):
Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type.
(sh64_gdbarch_init): Don't set deprecated_register_bytes,
deprecated_register_virtual_type, deprecated_register_raw_size,
deprecated_max_register_raw_size, or
deprecated_max_register_virtual_size. Instead, just set
gdbarch_register_type.
drow [Wed, 12 Nov 2003 17:15:37 +0000 (17:15 +0000)]
* Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
* doc/Makefile.am (install-info): Define.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
drow [Wed, 12 Nov 2003 17:10:54 +0000 (17:10 +0000)]
* dwarf2read.c (struct dwarf2_cu): New type.
(dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a
dwarf2_cu structure to pass down.
(scan_partial_symbols, add_partial_symbol, add_partial_namespace)
(add_partial_enumeration, locate_pdi_sibling, process_die)
(read_file_scope, read_func_scope)
(read_lexical_block_scope, dwarf2_get_pc_bounds)
(dwarf2_add_field, dwarf2_attach_fields_to_type)
(dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type)
(read_structure_scope, read_enumeration, read_array_type)
(read_common_block, read_namespace, read_tag_pointer_type)
(read_tag_ptr_to_member_type, read_tag_reference_type)
(read_tag_const_type, read_tag_volatile_type, read_tag_string_type)
(read_subroutine_type, read_typedef, read_base_type, read_comp_unit)
(read_die_and_children, read_die_and_siblings, dwarf2_read_section)
(dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die)
(read_full_die. read_attribute_value, read_attribute)
(read_address, dwarf_decode_line_header, dwarf_decode_lines)
(var_decode_location, new_symbol, dwarf2_const_value, die_type)
(die_containing_type, type_at_offset, tag_type_to_type)
(read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros)
(dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object.
drow [Wed, 12 Nov 2003 17:00:41 +0000 (17:00 +0000)]
PR breakpoints/1450
* breakpoint.c (insert_bp_location): Fix a logic error by returning
0 after a catchpoint fails.
gdbadmin [Wed, 12 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 11 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
chastain [Tue, 11 Nov 2003 21:07:52 +0000 (21:07 +0000)]
2003-11-11 Michael Chastain <mec.gnu@mindspring.com>
* mips-tdep.c (msymbol_size): Delete.
chastain [Tue, 11 Nov 2003 20:04:51 +0000 (20:04 +0000)]
2003-11-07 Michael Chastain <mec@shout.net>
* symtab.h (struct minimal_symbol): Add size.
* dbxread.c: Use it.
* elfread.c: (record_minimal_symbol_and_info): Do not use info.
Rename to record_minimal_symbol.
(elf_symtab_read): Set MSYMBOL_SIZE explicitly.
* minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE.
(install_minimal_symbols): Ditto.
* objfiles.c (terminate_minimal_symbol_table): Ditto.
* arm-tdep.c: Delete unused MSYMBOL_SIZE.
* m68hc11-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* sh64-tdep.c: Ditto.
tpfaff [Tue, 11 Nov 2003 19:10:47 +0000 (19:10 +0000)]
* thread.cc (pthread::exit): Cleanup on thread exit.
(__reent_t::init_clib): Set thread local clib __cleanup var
appropriately.
carlton [Tue, 11 Nov 2003 18:55:41 +0000 (18:55 +0000)]
2003-11-11 David Carlton <carlton@kealia.com>
* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Replace use of
BREAKPOINT->address by BREAKPOINT->loc->address.
(gdb_get_breakpoint_info): Ditto.
nickc [Tue, 11 Nov 2003 17:58:27 +0000 (17:58 +0000)]
Do not run for targets which do not support shared objects.
nickc [Tue, 11 Nov 2003 17:50:25 +0000 (17:50 +0000)]
Add new feature to objcopy/strip. The -w switch allows wildcards to be used
in symbol names.
chastain [Tue, 11 Nov 2003 14:51:32 +0000 (14:51 +0000)]
2003-11-10 Michael Chastain <mec.gnu@mindspring.com>
* MAINTAINERS: Change my e-mail address.
ezannoni [Tue, 11 Nov 2003 14:09:37 +0000 (14:09 +0000)]
2003-11-11 Elena Zannoni <ezannoni@redhat.com>
* stabs.texinfo: Add dircategory and direntry commands.
* annotate.texinfo: Ditto.
nickc [Tue, 11 Nov 2003 13:32:37 +0000 (13:32 +0000)]
Fix decision about when a .interp section should exist
nickc [Tue, 11 Nov 2003 12:05:07 +0000 (12:05 +0000)]
Add support for arm-wince-pe target.
aj [Tue, 11 Nov 2003 09:30:47 +0000 (09:30 +0000)]
2003-11-11 Jan Hubicka <jh@suse.cz>
* config/tc-i386.c (tc_i386_fix_adjustable):
amodra [Tue, 11 Nov 2003 01:57:04 +0000 (01:57 +0000)]
* objdump.c: Revert rev 1.81 commit.
gdbadmin [Tue, 11 Nov 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 10 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
cagney [Mon, 10 Nov 2003 22:47:27 +0000 (22:47 +0000)]
2003-11-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (return_value): Replace "inval" and "outval" with
"readbuf" and "writebuf".
* ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
* d10v-tdep.c (d10v_return_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto.
(ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* values.c (register_value_being_returned): Update call.
* stack.c (return_command): Update call.
* gdbarch.h, gdbarch.c: Re-generate.
Index: gdb/doc/ChangeLog
2003-11-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace the
return_value method's "inval" and "outval" parameters with
"readbuf" and "writebuf".
jjohnstn [Mon, 10 Nov 2003 21:36:37 +0000 (21:36 +0000)]
2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
to use (Ebits + 1) which accounts for the sign-bit.
cgf [Mon, 10 Nov 2003 21:28:02 +0000 (21:28 +0000)]
* miscfuncs.cc (low_priority_sleep): Make a "C" function.
* winsup.h (low_priority_sleep): Revert previous change to declaration.
cagney [Mon, 10 Nov 2003 21:20:43 +0000 (21:20 +0000)]
2003-11-10 Andrew Cagney <cagney@redhat.com>
* target.h (struct target_ops): Order xfer buffer parameters "read
write" not "write read".
* bfd-target.c (target_bfd_xfer_partial): Update.
* remote.c (remote_xfer_partial): Update.
* inftarg.c (child_xfer_partial): Update.
* target.c (default_xfer_partial): Update.
(target_read_partial, target_write_partial): Update.
(debug_to_xfer_partial): Update.
corinna [Mon, 10 Nov 2003 21:17:52 +0000 (21:17 +0000)]
* winsup.h (low_priority_sleep): Fix declaration to avoid linker
warning.
tpfaff [Mon, 10 Nov 2003 19:44:53 +0000 (19:44 +0000)]
* thread.cc (__reent_t::init_clib): Set thread local clib
__sdidinit var appropriately.
nickc [Mon, 10 Nov 2003 17:28:33 +0000 (17:28 +0000)]
Remove "member" from verbose output of "-dv" in order to conform to POSIX
specification.
nickc [Mon, 10 Nov 2003 17:04:54 +0000 (17:04 +0000)]
Add initial support for TLS sections in PE format files.
cagney [Mon, 10 Nov 2003 16:17:11 +0000 (16:17 +0000)]
2003-11-10 Andrew Cagney <cagney@redhat.com>
* arch-utils.h, arch-utils.c: Fix typo in comment.
cagney [Mon, 10 Nov 2003 16:05:24 +0000 (16:05 +0000)]
fix changelog tipo.
cagney [Mon, 10 Nov 2003 16:03:26 +0000 (16:03 +0000)]
2003-11-10 Andrew Cagney <cagney@redhat.com>
* arch-utils.c (deprecated_select_gdbarch_hack): Delete function.
(gdbarch_from_bfd): Call gdbarch_find_by_info.
(set_gdbarch_from_file): Call "deprecated_select_gdbarch_hack".
corinna [Mon, 10 Nov 2003 09:14:46 +0000 (09:14 +0000)]
* Makefile.am: Add empty install-info and uninstall-info rules.
* Makefile.in: Regenerate.
corinna [Mon, 10 Nov 2003 09:12:18 +0000 (09:12 +0000)]
* gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
Don't run tests if nofileio flag is given.
cagney [Mon, 10 Nov 2003 04:42:16 +0000 (04:42 +0000)]
Fix changelog tipo.
cagney [Mon, 10 Nov 2003 04:39:16 +0000 (04:39 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* arch-utils.c (gdbarch_update_p): New function.
* gdbarch.sh (gdbarch_update_p): Delete function.
(find_arch_by_info, gdbarch_find_by_info): New functions.
(deprecated_current_gdbarch_set_hack): New function.
* gdbarch.c: Re-generate.
amodra [Mon, 10 Nov 2003 03:07:52 +0000 (03:07 +0000)]
* config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.
amodra [Mon, 10 Nov 2003 03:06:05 +0000 (03:06 +0000)]
Expand and consolidate bug reporting details.
cagney [Mon, 10 Nov 2003 02:50:02 +0000 (02:50 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (clear_gdbarch_swap): Delete function.
(swapout_gdbarch_swap): Delete function.
(swapin_gdbarch_swap): Delete function.
(init_gdbarch_swap): Delete function.
(initialize_non_multiarch): Delete function.
(current_gdbarch_swap_in_hack): New function.
(current_gdbarch_swap_out_hack): New function.
(current_gdbarch_swap_init_hack): New function.
* gdbarch.c: Re-generate.
cagney [Mon, 10 Nov 2003 01:10:54 +0000 (01:10 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch"
parameter to "current_gdbarch". Add comment explaining why.
(TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format.
(TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
cagney [Mon, 10 Nov 2003 00:11:11 +0000 (00:11 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros.
* config/s390/nm-linux.h (KERNEL_U_ADDR): Define.
* config/s390/xm-linux.h: Delete file.
* config/m88k/xm-delta88v4.h: Delete stray.
gdbadmin [Mon, 10 Nov 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Sun, 9 Nov 2003 23:52:28 +0000 (23:52 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* Makefile.in (arch-utils.o): Update dependencies.
* arch-utils.c: Include "osabi.h".
(gdbarch_info_fill): New function.
* arch-utils.h (gdbarch_info_fill): Declare.
* gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill".
* gdbarch.c: Re-generate.
amodra [Sun, 9 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 9 Nov 2003 17:32:32 +0000 (17:32 +0000)]
See previous commit.
kettenis [Sun, 9 Nov 2003 17:28:07 +0000 (17:28 +0000)]
* glibc-tdep.c, glibc-tdep.h: New files.
* config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o
* config/i386/linux.mt (TDEPFILES): Likewise.
* i386-linux-tdep.c (glibc-tdep.h): Include.
(find_minsym_and_objfile, skip_hurd_resolver): Delete.
(i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
* arm-linux-tdep.c (glibc-tdep.h): Include.
(find_minsym_and_objfile, skip_hurd_resolver): Delete.
(arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
* Makefile.in (ALLDEPFILES): Add glibc-tdep.c
(glibc_tdep_h): Define.
(glibc-tdep.o): Add dependencies.
(arm-linux-tdep.o): Update dependencies.
(i386-linux-tdep.o): Likewise.
cagney [Sun, 9 Nov 2003 14:29:25 +0000 (14:29 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h".
* config/mips/nm-irix6.h: Delete file.
* config/mips/nm-linux.h: Update copyright.
(MIPS_GNULINUX_TARGET): Delete macro.
* config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h".
* config/mips/xm-irix6.h: Delete file.
* config/mips/linux.mh (XM_FILE): Delete definition.
* config/mips/xm-linux.h: Delete file.
cagney [Sun, 9 Nov 2003 14:20:54 +0000 (14:20 +0000)]
2003-11-09 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_return_value): New function.
(d10v_use_struct_convention): Delete function.
(d10v_store_return_value): Delete function.
(d10v_extract_struct_value_address): Delete function.
(d10v_gdbarch_init): Set "return_value" instead of
"extract_return_value", "store_return_value",
"extract_struct_value_address", and "use_struct_convention".
(RET1_REGNUM): Delete const.
amodra [Sun, 9 Nov 2003 13:24:45 +0000 (13:24 +0000)]
* configure.host (HOSTING_LIBS): Group libgcc and libc with
--start-group, --end-group pair.
(*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
(am33_2.0-*-linux*): Edit default HOSTING_CRT0.
(arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
(hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
kettenis [Sun, 9 Nov 2003 12:07:14 +0000 (12:07 +0000)]
From David S. Miller <davem@redhat.com>:
* gdbarch.sh (SKIP_SOLIB_RESOLVER): New method.
* gdbarch.c, gdbarch.h: Regenerated.
* arch-utils.c (generic_skip_solib_resolver): New function.
* arch-utils.h (generic_skip_solib_resolver): New prototype.
* infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
gdbadmin [Sun, 9 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 8 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
corinna [Sat, 8 Nov 2003 16:38:34 +0000 (16:38 +0000)]
* syscalls.cc (ftruncate64): Log length as long long.
(logout): Erase ut_host. Don't write wtmp entry. Return 1 only
if matching utmp entry has been found, 0 otherwise.
corinna [Sat, 8 Nov 2003 09:48:47 +0000 (09:48 +0000)]
* external.cc (cygwin_internal): Add CW_GET_UID_FROM_SID and
CW_GET_GID_FROM_SID handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID.
cagney [Sat, 8 Nov 2003 00:13:02 +0000 (00:13 +0000)]
2003-11-07 Andrew Cagney <cagney@redhat.com>
* top.c (print_gdb_version): Replace STREQ with strcmp.
* valops.c (value_struct_elt_for_reference): Ditto.
(value_struct_elt_for_reference): Ditto.
* symtab.c (gdb_mangle_name): Ditto.
(find_line_symtab): Ditto.
* symmisc.c (maintenance_print_symbols): Ditto.
* symfile.c (symbol_file_command): Ditto.
* stabsread.c (define_symbol, read_type): Ditto.
(cleanup_undefined_types, scan_file_globals): Ditto.
* solib.c (solib_map_sections): Ditto.
* solib-svr4.c (bfd_lookup_symbol): Ditto.
* rs6000-tdep.c (skip_prologue): Ditto.
* p-valprint.c (pascal_value_print): Ditto.
(pascal_object_is_vtbl_ptr_type): Ditto.
* objfiles.c (in_plt_section): Ditto.
* minsyms.c (lookup_minimal_symbol): Ditto.
(compact_minimal_symbols): Ditto.
(find_solib_trampoline_target): Ditto.
* mdebugread.c (parse_type): Ditto.
* language.c (set_language_command): Ditto.
(set_type_command, set_range_command): Ditto.
* f-lang.c (add_common_block): Ditto.
(add_common_block): Ditto.
(find_first_common_named): Ditto.
(patch_all_commons_by_name): Ditto.
* elfread.c (elf_locate_sections): Ditto.
(elf_locate_sections): Ditto.
(elfstab_offset_sections): Ditto.
* dwarf2read.c (dwarf2_locate_sections): Ditto.
* dbxread.c (add_old_header_file): Ditto.
(find_corresponding_bincl_psymtab): Ditto.
(read_dbx_symtab, process_one_symbol): Ditto.
* coffread.c (patch_opaque_types): Ditto.
* cli/cli-decode.c (delete_cmd): Ditto.
* cli/cli-cmds.c (pwd_command, list_command): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* breakpoint.c (bpstat_stop_status): Ditto.
(clear_command, breakpoint_re_set_one): Ditto.
gdbadmin [Sat, 8 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Fri, 7 Nov 2003 23:47:04 +0000 (23:47 +0000)]
2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
x86 build.
* iconvdata/Makefile.am: Make dependent on newlib's configure.host
and set up default flags to pass to aclocal.
* iconvdata/Makefile.in: Regenerated.
* libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
and getpwuid routines.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/getlogin.c: New stub file to allow x86-linux
applications to link with newlib's shared libc library.
* libc/sys/linux/getpwnam.c: Ditto.
* libc/sys/linux/getpwuid.c: Ditto.
* libc/sys/linux/sys/types.h: Include <features.h> and supply types
that were formerly supplied by /usr/include/linux/types.h with
kernel types.
* testsuite/newlib.wctype/twctype.c: Fix testcase to properly
test _ELIX_LEVEL macro.
amodra [Fri, 7 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update
cagney [Fri, 7 Nov 2003 22:04:39 +0000 (22:04 +0000)]
2003-11-07 Andrew Cagney <cagney@redhat.com>
* bcache.h: Update copyright. Add comments on bcache VS hashtab.
* bcache.c (struct bstring): Make "length" an unsigned short, add
"half_hash".
(struct bcache): Add "half_hash_error_count".
(bcache): Compute and save the "half_hash". Compare the
"half_hash" before comparing the length. Update
half_hash_error_count.
cagney [Fri, 7 Nov 2003 21:33:36 +0000 (21:33 +0000)]
2003-11-07 Andrew Cagney <cagney@redhat.com>
* inftarg.c (child_xfer_partial): New function
(init_child_ops): Set "to_xfer_partial".
cagney [Fri, 7 Nov 2003 20:44:50 +0000 (20:44 +0000)]
2003-11-07 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux,
set "return_value" instead of "use_struct_convention".
(ppc_linux_use_struct_convention): Delete function.
(ppc_linux_return_value): New function.
* ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function.
(ppc_sysv_abi_broken_return_value): New function.
(do_ppc_sysv_return_value): Add "gdbarch" parameter.
(ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop
static.
(ppc_sysv_abi_extract_return_value): Delete function.
(ppc_sysv_abi_broken_extract_return_value): Delete function.
(ppc_sysv_abi_store_return_value): Delete function.
(ppc_sysv_abi_broken_store_return_value): Delete function.
(ppc_sysv_abi_use_struct_convention): Delete function.
(ppc64_sysv_abi_use_struct_convention): Delete function.
(ppc64_sysv_abi_extract_return_value): Delete function.
(ppc64_sysv_abi_store_return_value): Delete function.
* ppcnbsd-tdep.c (ppcnbsd_return_value): New function.
(ppcnbsd_init_abi): Set "return_value", instead of
"use_struct_convention", "extract_return_value", and
"store_return_value".
(ppcnbsd_use_struct_convention): Delete function.
* ppc-tdep.h (ppc64_sysv_abi_return_value): Declare.
(ppc_sysv_abi_return_value): Declare.
(ppc_sysv_abi_broken_return_value): Declare.
(ppc_sysv_abi_use_struct_convention): Delete.
(ppc_sysv_abi_store_return_value): Delete.
(ppc_sysv_abi_extract_return_value): Delete.
(ppc_sysv_abi_broken_store_return_value): Delete.
(ppc_sysv_abi_broken_extract_return_value): Delete.
(ppc64_sysv_abi_use_struct_convention): Delete.
(ppc64_sysv_abi_extract_return_value): Delete.
(ppc64_sysv_abi_store_return_value): Delete.
* rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV,
set "return_value" instead of "extract_return_value",
"store_return_value", and "use_struct_convention".
cpg [Fri, 7 Nov 2003 20:43:15 +0000 (20:43 +0000)]
2003-11-07 Christian Groessler <chris@groessler.org>
* doc/c-z8k.texi: Document command-line options. Fix byte
register names. Document '.z8001' and '.z8002' directives.
Extend addressing modes documentation.
kettenis [Fri, 7 Nov 2003 20:36:15 +0000 (20:36 +0000)]
* dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.
corinna [Fri, 7 Nov 2003 18:30:35 +0000 (18:30 +0000)]
* cygpath.cc (main): Allow multiple pathnames on command line.
cgf [Fri, 7 Nov 2003 18:22:26 +0000 (18:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handle
freeing of memory on error condition.
cgf [Fri, 7 Nov 2003 18:21:05 +0000 (18:21 +0000)]
* cygthread.cc (cygthread::freerange): Set inuse count. Avoid setting ev from
h as h would be NULL at this point.
(cygthread::operator new): Issue debugging info when overflowing the thread
pool.
(cygthread::cygthread): Set ev from h here after h has been initialized.
kettenis [Fri, 7 Nov 2003 16:30:26 +0000 (16:30 +0000)]
* fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
fscanf.
jjohnstn [Fri, 7 Nov 2003 16:01:16 +0000 (16:01 +0000)]
2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
referring to _NO_LONGLONG macro.
kettenis [Fri, 7 Nov 2003 15:57:21 +0000 (15:57 +0000)]
* fbsd-proc.c: Fix formatting.
ezannoni [Fri, 7 Nov 2003 15:46:33 +0000 (15:46 +0000)]
2003-11-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
nickc [Fri, 7 Nov 2003 12:19:33 +0000 (12:19 +0000)]
Use consistent error messages for missing files.
Detect directories where an ordinary file is expected.
kevinb [Fri, 7 Nov 2003 06:00:07 +0000 (06:00 +0000)]
Fix typo in previous patch.
kevinb [Fri, 7 Nov 2003 05:54:50 +0000 (05:54 +0000)]
Handle iacc0 as a pseudo-register.
gdbadmin [Fri, 7 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 6 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
jjohnstn [Thu, 6 Nov 2003 22:58:52 +0000 (22:58 +0000)]
2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/linuxthreads/td_init.c: Replace function name
in LOG() macro so this will compile on gcc 3.4 and up.
* libc/sys/linux/linuxthreads/td_log.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
cagney [Thu, 6 Nov 2003 22:54:00 +0000 (22:54 +0000)]
2003-11-06 Andrew Cagney <cagney@redhat.com>
* valops.c (destructor_name_p): Replace STREQN with strncmp.
* top.c (command_line_input): Ditto.
* objc-exp.y (yylex): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
* jv-exp.y (yylex): Ditto.
* f-exp.y (yylex): Ditto.
* event-top.c (command_line_handler): Ditto.
* environ.c (get_in_environ): Ditto.
(set_in_environ): Ditto.
* dwarfread.c (handle_producer): Ditto.
* dbxread.c (process_one_symbol): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* c-exp.y (yylex): Ditto.
2003-11-06 Andrew Cagney <cagney@redhat.com>
* mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with
strncmp.
corinna [Thu, 6 Nov 2003 21:36:17 +0000 (21:36 +0000)]
* Missing patch to cygwin.din.
corinna [Thu, 6 Nov 2003 21:31:23 +0000 (21:31 +0000)]
* bsdlib.cc (_vwarnx): New function.
(vwarn): Ditto.
(vwarnx): Ditto.
(warn): Ditto.
(warnx): Ditto.
(verr): Ditto.
(verrx): Ditto.
(err): Ditto.
(errx): Ditto.
* cygwin.din: Export above functions.
* include/err.h: New file.
* include/cygwin/version.h: Bump API minor number.
ezannoni [Thu, 6 Nov 2003 20:50:46 +0000 (20:50 +0000)]
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>:
* gdb.base/annota1.exp: Match at least one occurrence of the
signal handler annotation.
ezannoni [Thu, 6 Nov 2003 20:39:46 +0000 (20:39 +0000)]
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
cagney [Thu, 6 Nov 2003 19:56:25 +0000 (19:56 +0000)]
2003-11-06 Andrew Cagney <cagney@redhat.com>
Jeff Johnston <jjohnstn@redhat.com>
* target.c (add_target): Only set "to_xfer_partial" when NULL.
(init_dummy_target): Set "to_xfer_partial".
cagney [Thu, 6 Nov 2003 19:09:45 +0000 (19:09 +0000)]
2003-11-06 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
REGISTER_CONVENTION.
drow [Thu, 6 Nov 2003 18:35:05 +0000 (18:35 +0000)]
* breakpoint.c (insert_bp_location, allocate_bp_location): Make
static.
drow [Thu, 6 Nov 2003 18:28:33 +0000 (18:28 +0000)]
* breakpoint.c (remove_breakpoint): Take an bp_location
instead of a breakpoint argument. Check the bp_location's type.
Fix a reversed condition for hardware breakpoints.
(insert_bp_location): Update call to remove_breakpoint.
(remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS.
(remove_hw_watchpoints): Likewise.
(reattach_breakpoints): Likewise.
(detach_breakpoints): Likewise.
(delete_breakpoint): Likewise.
drow [Thu, 6 Nov 2003 18:27:33 +0000 (18:27 +0000)]
* breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.
(beakpoint_init_inferior): Likewise.
(breakpoint_here_p): Likewise. Only check addresses for software
or hardware breakpoints.
(breakpoint_inserted_here_p): Likewise.
(breakpoint_thread_match): Likewise. Correct comment.
(bpstat_have_active_hw_watchpoints): Likewise.
(check_duplicates): Likewise.
drow [Thu, 6 Nov 2003 18:26:17 +0000 (18:26 +0000)]
* breakpoints.c (insert_bp_location): New function, broken out
from insert_breakpoints. Work on an bp_location instead of a
breakpoint.
(insert_breakpoints): Use it.
drow [Thu, 6 Nov 2003 18:24:55 +0000 (18:24 +0000)]
* breakpoint.h (struct bp_location): Add section.
(struct breakpoint): Remove section.
* breakpoint.c (insert_breakpoints, remove_breakpoint)
(breakpoint_here_p, breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates, set_raw_breakpoint)
(clear_command, delete_breakpoint, breakpoint_re_set_one): Access
section through loc.