OSDN Git Service
cgf [Sat, 24 Nov 2001 17:31:14 +0000 (17:31 +0000)]
* net.cc (inet_makeaddr): Revert previous change.
kettenis [Sat, 24 Nov 2001 14:43:57 +0000 (14:43 +0000)]
* gdb.asm/configure.in: Fix recognition of ix86 target.
* gdb.asm/configure: Regenerate.
amodra [Sat, 24 Nov 2001 07:39:10 +0000 (07:39 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub
group sizes to accomodate c++.
cgf [Sat, 24 Nov 2001 03:35:57 +0000 (03:35 +0000)]
* path.cc (chdir): Allow 'cd /cygdrive'.
cgf [Sat, 24 Nov 2001 03:25:07 +0000 (03:25 +0000)]
Fix typo.
cgf [Sat, 24 Nov 2001 03:12:41 +0000 (03:12 +0000)]
fix typo.
cgf [Sat, 24 Nov 2001 03:11:38 +0000 (03:11 +0000)]
* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.
* exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger
attached.
* fhandler.h (fhandler_base::set_nohandle): New method.
(fhandler_base::get_nohandle): New method.
* fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no
handle.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on
dummy fd.
* Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a
* fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting
since it is no longer used.
* miscfuncs.cc (check_null_str): New function.
(+check_null_str_errno): Ditto.
* net.cc: Add defensive buffer checking throughout.
(cygwin_sendto): Protect against invalid fd.
(cygwin_recvfrom): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
* winsup.h: Declare a new function.
* select.cc (set_bits): Fix conditional for setting fd in exceptfds.
* dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device
type.
* path.cc (get_devn): Set correct pipe device type from device name.
gdbadmin [Sat, 24 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Fri, 23 Nov 2001 23:01:52 +0000 (23:01 +0000)]
Add x86 OpenBSD native configuration.
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
config/i386/nm-obsd.h: New files.
* configure.host (i[3456]86-*-openbsd*): New host.
* configure.tgt (i[3456]86-*-openbsd*): New target.
* NEWS: Update.
amodra [Fri, 23 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
law [Fri, 23 Nov 2001 16:26:00 +0000 (16:26 +0000)]
* gas/all/gas.exp (incbin): Do not run on the PA.
law [Fri, 23 Nov 2001 16:18:12 +0000 (16:18 +0000)]
* gas/hppa/parse/parse.exp: Expect failure on line separator bug.
jakub [Fri, 23 Nov 2001 13:16:37 +0000 (13:16 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't clear
relocations in non-alloced sections against global symbols
defined in shared library being built.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
jakub [Fri, 23 Nov 2001 12:17:10 +0000 (12:17 +0000)]
* elf.c (_bfd_elf_rela_local_sym): New.
* elflink.h (elf_link_input_bfd): Don't consider empty
merged sections as removed in relocation tests.
* elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype.
* elf32-i386.c (elf_i386_relocate_section): Handle relocs
against STT_SECTION symbol of SHF_MERGE section.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Call
_bfd_elf_rela_local_sym.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_final_link_relocate): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise for
!partial_inplace relocs. Handle relocs against STT_SECTION
symbol of SHF_MERGE for partial_inplace relocs.
* config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
* write.c (adjust_reloc_syms): Don't handle relocs against
SEC_MERGE section symbols specially.
(fixup_segment): Likewise.
amodra [Fri, 23 Nov 2001 07:09:46 +0000 (07:09 +0000)]
* pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
Also, break out of the loop as soon as an instruction has been
printed.
gdbadmin [Fri, 23 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 22 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
hjl [Thu, 22 Nov 2001 18:49:11 +0000 (18:49 +0000)]
2001-11-22 H.J. Lu <hjl@gnu.org>
* Makefile.in: Regenerated with automake based on automake
1.4-8 in RedHat 7.1.
nickc [Thu, 22 Nov 2001 16:21:01 +0000 (16:21 +0000)]
Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.
amodra [Thu, 22 Nov 2001 09:08:03 +0000 (09:08 +0000)]
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
(config.status): Delete rule.
Add extra dependencies to cover sourced emulparams files.
* Makefile.in: Regenerate.
* scripttempl/elf.sc: Order <section>, <section>.* and
corresponding linkonce sections as seen in input files.
Formatting fixes. Zero vma of all sections if not relocating.
(STACK): Define and insert if STACK_ADDR defined.
(OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
(OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
(OTHER_READWRITE_SECTIONS): Likewise.
(OTHER_GOT_SECTIONS): Likewise.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_BSS_SECTIONS): Likewise.
* scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise.
* scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise
* emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
(STACK_ADDR): Define.
* emulparams/armelf_oabi.sh: As for armelf.sh.
* emulparams/elf32mcore.sh: As for armelf.sh.
* emulparams/h8300elf.sh: As for armelf.sh.
* emulparams/mn10200.sh: As for armelf.sh.
* emulparams/shelf.sh: As for armelf.sh.
* emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
* emulparams/m32relf.sh: As for elf32fr30.sh.
* emulparams/h8300helf.sh: As for elf32fr30.sh.
* emulparams/h8300self.sh: As for elf32fr30.sh.
* emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
defines with RELOCATING test.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_END_SYMBOLS): ..this.
* emulparams/crislinux.sh: As for criself.sh.
* emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
if not relocating.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
normal and linkonce sections as seen in input files.
* emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
(TEXT_DYNAMIC): Likewise.
(INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
(OTHER_SDATA_SECTIONS): Likewise.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
(OTHER_PLT_RELOC_SECTIONS): Likewise.
(OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
sections as seen in input files.
* emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
* emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
if not relocating.
(OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
(OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
* emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_SECTIONS): Instead, use this..
(OTHER_END_SYMBOLS): ..and this.
* emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
* emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
* emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
* emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
* emulparams/elf32ppclinux.sh: Likewise.
* emulparams/elf32ppcsim.sh: Likewise.
* emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
* emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
* emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
* emulparams/h8300self.sh: Likewise.
* emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
* emulparams/sh.sh: Comment.
* emulparams/shl.sh: Source sh.sh, remove duplicates.
* emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
* emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
cgf [Thu, 22 Nov 2001 05:59:06 +0000 (05:59 +0000)]
* path.cc (conv_path_list): Fix wild indexing into path due to conflicting
methods for setting src pointer.
* dir.cc (opendir): Only pass path_conv argument to opendir, since name is
already part of the fhandler.
* dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type.
* fhandler.cc (fhandler_base::opendir): Nuke name argument.
* fhandler.h: Add FH_CYGDRIVE to "device" enum.
(fhandler_base::opendir): Nuke name argument.
(fhandler_disk_file::opendir): Ditto.
(fhandler_disk_file::fhandler_disk_file): Declare new method which passes
devtype through.
(fhandler_cygdrive): Add elements for tracking drives.
(fhandler_cygdrive::set_drives): Declare new method.
(fhandler_cygdrive::iscygdrive_root): Declare new method.
(fhandler_cygdrive::opendir): Declare new method.
(fhandler_cygdrive::readdir): Declare new method.
(fhandler_cygdrive::telldir): Declare new method.
(fhandler_cygdrive::seekdir): Declare new method.
(fhandler_cygdrive::rewinddir): Declare new method.
(fhandler_cygdrive::closedir): Declare new method.
(fhandler_cygdrive::fstat): Declare new method.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new
method which passes devtype through.
(fhandler_disk_file::open): Tweak debug output.
(fhandler_disk_file::opendir): Nuke first argument. Use info from path_conv
and class rather than calling fstat.
(fhandler_cygdrive::set_drives): New method.
(fhandler_cygdrive::iscygdrive_root): New method.
(fhandler_cygdrive::opendir): New method.
(fhandler_cygdrive::readdir): New method.
(fhandler_cygdrive::telldir): New method.
(fhandler_cygdrive::seekdir): New method.
(fhandler_cygdrive::rewinddir): New method.
(fhandler_cygdrive::closedir): New method.
(fhandler_cygdrive::fstat): New method.
* path.cc (iscygdrive_device): Assume cygdriveness is already verified.
(path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file
attributes as needed.
(mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the
directory which contains all of the drives on the system".
(fillout_mntent): Use cyg_tolower for conversions.
(mount_info::cygdrive_win32_path): Replace unused argument with unit number.
* shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.
cagney [Thu, 22 Nov 2001 05:52:23 +0000 (05:52 +0000)]
Mention 5.1 release.
msnyder [Thu, 22 Nov 2001 01:13:10 +0000 (01:13 +0000)]
2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
msnyder [Thu, 22 Nov 2001 01:07:23 +0000 (01:07 +0000)]
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
cgf [Thu, 22 Nov 2001 00:29:04 +0000 (00:29 +0000)]
* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native
paths.
tromey [Thu, 22 Nov 2001 00:26:11 +0000 (00:26 +0000)]
* library/interface.tcl (gdbtk_tcl_preloop): Override session's
command-line arguments if required.
tromey [Thu, 22 Nov 2001 00:23:11 +0000 (00:23 +0000)]
Fix for PR gdb/209, PR gdb/156:
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.
tromey [Thu, 22 Nov 2001 00:21:45 +0000 (00:21 +0000)]
* gdb.texinfo (Invoking GDB): Document --args.
(Mode Options): Likewise.
gdbadmin [Thu, 22 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Wed, 21 Nov 2001 23:13:59 +0000 (23:13 +0000)]
Patch by Pierre Muller <muller@ics.u-strasbg.fr>:
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
amodra [Wed, 21 Nov 2001 23:00:51 +0000 (23:00 +0000)]
daily update
jimb [Wed, 21 Nov 2001 22:26:48 +0000 (22:26 +0000)]
* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete documentation; this macro has been removed from the
sources.
kevinb [Wed, 21 Nov 2001 21:56:46 +0000 (21:56 +0000)]
Fix two ``attach'' related bugs involving threads.
amodra [Wed, 21 Nov 2001 14:58:26 +0000 (14:58 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
than sym_sec->output_section to detect relocs against discarded
sections.
rsandifo [Wed, 21 Nov 2001 11:24:12 +0000 (11:24 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
(md_apply_fix3): ...here. Don't prevent the symbol value being
subtracted twice from GPREL addends.
(tc_gen_reloc): Add the symbol value to a GPREL addend if it was
subtracted by the previous function.
corinna [Wed, 21 Nov 2001 10:39:43 +0000 (10:39 +0000)]
Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:
* mkpasswd.c: include lmerr.h
(main): New -u option to allow specifying a
specific user. If specified, groups aren't displayed and
output is limited to only the specified user.
(enum_users): If specific user is specified, via -u option,
display only that user's record. With -u use NetUserGetInfo
instead of NetUserEnum.
(load_netapi): Added netusergetinfo.
cgf [Wed, 21 Nov 2001 06:57:42 +0000 (06:57 +0000)]
* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
cgf [Wed, 21 Nov 2001 06:47:56 +0000 (06:47 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.
* cygheap.h (cygheap_fdnew::operator =): New operator.
* dir.cc: Add invalid struct checking throughout. Use methods for all
directory manipulation throughout.
* fhandler.cc: Move fhandler_disk_file stuff to own file.
(fhandler_base::opendir): New method.
(fhandler_base::readdir): New method.
(fhandler_base::telldir): New method.
(fhandler_base::seekdir): New method.
(fhandler_base::rewinddir): New method.
(fhandler_base::closedir): New method.
* fhandler_disk_file.cc: New file.
* fhandler.h (fhandler_base): Declare new virtual methods.
(fhandler_disk_file): Ditto.
(fhandler_cygdrive): New class.
* path.cc (conv_path_list): Use strccpy to break apart path.
cgf [Wed, 21 Nov 2001 04:21:36 +0000 (04:21 +0000)]
Change copyright.
jimb [Wed, 21 Nov 2001 02:01:29 +0000 (02:01 +0000)]
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.
bje [Wed, 21 Nov 2001 01:45:08 +0000 (01:45 +0000)]
* Regenerate with latest configrun-sid.
amodra [Wed, 21 Nov 2001 01:13:15 +0000 (01:13 +0000)]
* ldlang.c (map_input_to_output_sections): Replace "break"
accidentally removed with 2001-08-03 change.
(lang_gc_sections_1): Likewise.
amodra [Wed, 21 Nov 2001 00:53:38 +0000 (00:53 +0000)]
daily update
msnyder [Wed, 21 Nov 2001 00:13:29 +0000 (00:13 +0000)]
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Fix quotes in output messages.
msnyder [Wed, 21 Nov 2001 00:12:00 +0000 (00:12 +0000)]
2001-11-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/code-exprs.exp: New file. Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).
gdbadmin [Wed, 21 Nov 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
kseitz [Tue, 20 Nov 2001 21:27:14 +0000 (21:27 +0000)]
* generic/gdbtk.c (gdbtk_init): If DISPLAY is not set on Unix,
clear the init_ui_hook so that gdb will properly initialize
the cli.
nickc [Tue, 20 Nov 2001 19:00:47 +0000 (19:00 +0000)]
Use msgfmt to generate .gmo files from .po files for a distribution.
kseitz [Tue, 20 Nov 2001 18:08:13 +0000 (18:08 +0000)]
* varobj.c (c_value_of_child): Release memory for "name" when
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
kseitz [Tue, 20 Nov 2001 16:54:38 +0000 (16:54 +0000)]
* top.c (gdb_init): Call init_ui_hook before initializing
the default UI.
ezannoni [Tue, 20 Nov 2001 16:36:43 +0000 (16:36 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
ezannoni [Tue, 20 Nov 2001 16:35:23 +0000 (16:35 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.
amodra [Tue, 20 Nov 2001 15:31:10 +0000 (15:31 +0000)]
* ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
amodra [Tue, 20 Nov 2001 15:19:36 +0000 (15:19 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
of false when calling lang_size_sections.
(hppaelf_layout_sections_again): Likewise.
nickc [Tue, 20 Nov 2001 09:33:48 +0000 (09:33 +0000)]
Fix md_apply_fix3 typo.
bje [Tue, 20 Nov 2001 05:16:05 +0000 (05:16 +0000)]
* merge 2001-11-01.
bje [Tue, 20 Nov 2001 03:33:29 +0000 (03:33 +0000)]
2001-11-20 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
usage after md_apply_fix3 cleanups.
hjl [Tue, 20 Nov 2001 00:54:48 +0000 (00:54 +0000)]
2001-11-19 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
discarding relocations.
gdbadmin [Tue, 20 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
ezannoni [Mon, 19 Nov 2001 23:59:55 +0000 (23:59 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* infptrace.c (fetch_register): Dynamically allocate buffer for
register.
(store_register): Use regcache_collect, instead of accessing the
register buffer directly.
drow [Mon, 19 Nov 2001 23:15:31 +0000 (23:15 +0000)]
* mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
cur_frame to heuristic_proc_desc.
(heuristic_proc_desc): Add cur_frame argument. Do not read SP
if cur_frame == 0.
(after_prologue): Pass cur_frame == 0 to find_proc_desc.
(mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
(mips_init_extra_frame_info): Likewise.
amodra [Mon, 19 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Mon, 19 Nov 2001 21:44:46 +0000 (21:44 +0000)]
* defs.h (return_to_top_level): Comment.
hjl [Mon, 19 Nov 2001 20:32:02 +0000 (20:32 +0000)]
2001-11-19 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/define.s: Mark all global lables as object.
* ld-elfvsb/hidden0.d: Match large section number.
* ld-elfvsb/hidden1.d: Likewise.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/internal1.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
* ld-elfvsb/protected1.d: Likewise.
* ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
cagney [Mon, 19 Nov 2001 20:18:32 +0000 (20:18 +0000)]
Use ISO C long strings.
kseitz [Mon, 19 Nov 2001 19:44:03 +0000 (19:44 +0000)]
* varobj.c (c_value_of_child): Use the wrapper function,
gdb_value_struct_elt.
(cplus_value_of_child): Likewise.
hunt [Mon, 19 Nov 2001 18:43:18 +0000 (18:43 +0000)]
2001-11-08 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (gdb_eval): Add an optional
format argument.
(hex2bin): Swap bytes around if target is little endian.
Fix loop count.
(gdb_incr_addr): New function to do address arithmetic.
Needed because some addresses are 64-bits and tcl can't
deal with them, except as strings.
* library/memwin.itb (MemWin::build_win): Add a label
to indicate the target endianess.
(MemWin::edit): Use gdb_incr_addr.
(MemWin::busy): The constructor calls gdbtk_busy which
calls this before the window has finished drawing, so
don't disable items that don't exist yet.
(MemWin::update_address): Set a flag, bad_expr, if the
expression does not evaluate. Call gdb_eval with 'x' flag
to force the result to be hex.
(MemWin::BadExpr): Set bad_expr.
(MemWin::incr_addr): Use gdb_incr_addr.
(MemWin::update_addr): Return is bad_expr is set. Use
gdb_incr_addr.
(MemWin::goto): Call update_address.
* library/memwin.itb: Declare private variable bad_expr.
* library/util.tcl (gdbtk_endian): New procedure. Returns
BIG or LITTLE to indicate target endianess.
ezannoni [Mon, 19 Nov 2001 16:25:58 +0000 (16:25 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* lib/libgloss.exp (g++_link_flags): Libstdc++ is now in
libstdc++-v3/src/.libs.
nickc [Mon, 19 Nov 2001 15:35:37 +0000 (15:35 +0000)]
Define and use bfd_is_const_section().
nickc [Mon, 19 Nov 2001 14:35:56 +0000 (14:35 +0000)]
Add -ws switch to display contents of .debug_str sections
aj [Mon, 19 Nov 2001 12:38:20 +0000 (12:38 +0000)]
* testsuite/binutils-all/objdump.exp: Add x86-64.
amodra [Mon, 19 Nov 2001 03:52:36 +0000 (03:52 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.
amodra [Mon, 19 Nov 2001 03:01:41 +0000 (03:01 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
millicode syms as candidates for import stubs.
amodra [Mon, 19 Nov 2001 01:24:59 +0000 (01:24 +0000)]
* elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
(allocate_PIC_calls): Rename to allocate_plt_static.
(allocate_dynrelocs): Move most of code handling .plt entries to..
(allocate_plt_static): ..here. Don't drop plabel entries.
hp [Mon, 19 Nov 2001 01:22:44 +0000 (01:22 +0000)]
* mmo.c: Adjust documentation tags to use texinfo 4 features.
hp [Mon, 19 Nov 2001 01:19:07 +0000 (01:19 +0000)]
* doc/c-mmix.texi: Use texinfo 4 features.
(MMIX-mmixal): Fix typo.
gdbadmin [Mon, 19 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
hp [Sun, 18 Nov 2001 23:47:57 +0000 (23:47 +0000)]
* libc/sys/mmixware/*: Tweak license header in all source files.
hp [Sun, 18 Nov 2001 23:43:02 +0000 (23:43 +0000)]
* COPYING.NEWLIB: Mention preserved notice in specific parts.
amodra [Sun, 18 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
cagney [Sun, 18 Nov 2001 22:14:12 +0000 (22:14 +0000)]
* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
* config/i386/tm-i386.h (NUM_REGS): Delete.
kevinb [Sun, 18 Nov 2001 21:38:59 +0000 (21:38 +0000)]
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
conversion for I386_LINUX_ORIG_EAX_REGNUM.
cagney [Sun, 18 Nov 2001 21:28:19 +0000 (21:28 +0000)]
Zap config/i386/tm-embed.h.
fnf [Sun, 18 Nov 2001 06:00:29 +0000 (06:00 +0000)]
2001-11-17 Fred Fish <fnf@redhat.com>
* sim-main.h (float_operation): Move enum declaration outside
of _sim_cpu struct declaration.
cagney [Sun, 18 Nov 2001 05:09:25 +0000 (05:09 +0000)]
Zap files in gdb/gdbserver/
cagney [Sun, 18 Nov 2001 04:43:49 +0000 (04:43 +0000)]
doco more build probs.
kevinb [Sun, 18 Nov 2001 01:19:47 +0000 (01:19 +0000)]
* i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
of accessing registers[] directly.
gdbadmin [Sun, 18 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Sat, 17 Nov 2001 23:53:16 +0000 (23:53 +0000)]
* i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
when fetching ORIG_EAX.
amodra [Sat, 17 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
mrg [Sat, 17 Nov 2001 22:34:16 +0000 (22:34 +0000)]
* ppc-opc.c (mfvrsave, mtvrsave): New instructions.
duda [Sat, 17 Nov 2001 21:15:47 +0000 (21:15 +0000)]
* winsup.api/pthread/condvar3_1.c: Fix debugging output.
drow [Sat, 17 Nov 2001 20:31:16 +0000 (20:31 +0000)]
* arm-linux-nat.c: Don't include <asm/ptrace.h>.
(fetch_register): Use elf_gregset_t instead of struct pt_regs.
(fetch_regs): Likewise.
(store_register): Likewise.
(store_regs): Likewise.
drow [Sat, 17 Nov 2001 20:21:08 +0000 (20:21 +0000)]
* sparc-linux-nat.c (fill_gregset): Replace read_register_gen
with regcache_collect.
(fill_fpregset): Likewise.
cgf [Sat, 17 Nov 2001 20:19:18 +0000 (20:19 +0000)]
* path.cc (conv_path_list): Copy source paths before modifying them.
hp [Sat, 17 Nov 2001 18:51:15 +0000 (18:51 +0000)]
Fix typo in comment in last commit
hp [Sat, 17 Nov 2001 18:39:03 +0000 (18:39 +0000)]
* config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
val assignment.
drow [Sat, 17 Nov 2001 18:38:29 +0000 (18:38 +0000)]
* Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies.
* config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
* sparc-linux-nat.c: New file, from Mark Kettenis.
corinna [Sat, 17 Nov 2001 09:48:09 +0000 (09:48 +0000)]
* strace.cc (main): Change getopt() to getopt_long().
Add support for help and version info.
Use new parse_mask() function for -m/--mask option.
(longopts): Add long options structure.
(opts): Move options string from getopts call to static var.
(usage): Print usage information.
(SCCSid): Version info.
(version): New function for displaying version info.
(parse_mask): New function supporting parsing of mnemonics,
hex, and basic expressions in masks.
(mnemonic2ul): New mnemonic parsing function.
(tag_mask_mnemonic): New type.
(mnemonic_table): New table of mnemonics for mnemonic2ul() to
search through.
cgd [Sat, 17 Nov 2001 02:59:05 +0000 (02:59 +0000)]
2001-11-16 Chris Demetriou <cgd@broadcom.cOm>
* gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test
to test symbol plus offset relocations in various ways.
* gas/mips/mips.exp: Run new test.