OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years agomerge from gcc
DJ Delorie [Tue, 17 Jul 2007 18:05:02 +0000 (18:05 +0000)]
merge from gcc

17 years ago* COPYING3: New file. Contains version 3 of the GNU General Public License.
Nick Clifton [Tue, 17 Jul 2007 13:50:23 +0000 (13:50 +0000)]
* COPYING3: New file.  Contains version 3 of the GNU General Public License.
* COPYING3.LIB: New file.  Contains version 3 of the GNU Lesser General Public License.

17 years ago2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz [Tue, 17 Jul 2007 12:51:41 +0000 (12:51 +0000)]
2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
    Daniel Jacobowitz  <dan@codesourcery.com>

* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
* coff-pe-read.c (read_pe_exported_syms): Delete verbose
printf.
* NEWS: Mention gdbserver DLL support.

* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
for __WIN32__.
(SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
* gdb.base/unload.exp: Use shared library test routines.

* inferiors.c (all_dlls, dlls_changed, get_dll): New.
(add_thread): Minor cleanups.
(clear_inferiors): Move lower in the file.  Clear the DLL
list.
(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
* remote-utils.c (prepare_resume_reply): Check dlls_changed.
(xml_escape_text): New.
* server.c (handle_query): Handle qXfer:libraries:read.  Report it
for qSupported.
(handle_v_cont): Report errors.
(gdbserver_version): Update.
(main): Correct size of own_buf.  Do not report initial DLL events.
* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
(unloaded_dll, xml_escape_text): New.
* win32-low.c (enum target_waitkind): Update comments.
(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
(win32_EnumProcessModules, win32_GetModuleInformation)
(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
(win32_Module32First, win32_Module32Next, load_toolhelp)
(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
(get_child_debug_event): Handle DLL events.
(win32_wait): Likewise.

17 years ago * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
Daniel Jacobowitz [Tue, 17 Jul 2007 12:46:35 +0000 (12:46 +0000)]
* dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.

17 years agodaily update
Alan Modra [Tue, 17 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 17 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agogas/testsuite/
H.J. Lu [Mon, 16 Jul 2007 19:16:44 +0000 (19:16 +0000)]
gas/testsuite/

2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/simd.s: Add tests for punpcklbw, punpckldq,
punpcklwd and punpcklqdq.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

opcodes/

2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EMq): Removed.
(EMx): New.
(prefix_user_table): Replace EMq with EMx.

17 years ago2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 16 Jul 2007 18:34:50 +0000 (18:34 +0000)]
2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
warning bug.

17 years agoUpdate Dutch opcodes translation.
Nick Clifton [Mon, 16 Jul 2007 10:11:01 +0000 (10:11 +0000)]
Update Dutch opcodes translation.
Add new Ukranian binutils translation.

17 years agodaily update
Alan Modra [Mon, 16 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 16 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago* trad-core.c (NBPG): If not defined, set to getpagesize().
Mike Frysinger [Sun, 15 Jul 2007 06:33:34 +0000 (06:33 +0000)]
* trad-core.c (NBPG): If not defined, set to getpagesize().

17 years agodaily update
Alan Modra [Sun, 15 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 15 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * mep-tdep.c (mep_analyze_prologue): Update comment for BRA
Kevin Buettner [Sat, 14 Jul 2007 00:15:50 +0000 (00:15 +0000)]
* mep-tdep.c (mep_analyze_prologue): Update comment for BRA
instruction case.

17 years agodaily update
Alan Modra [Sat, 14 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 14 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agomerge from gcc
DJ Delorie [Fri, 13 Jul 2007 18:23:23 +0000 (18:23 +0000)]
merge from gcc

17 years ago.
Roland McGrath [Fri, 13 Jul 2007 10:44:44 +0000 (10:44 +0000)]
.

17 years ago2007-07-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Jul 2007 10:44:12 +0000 (10:44 +0000)]
2007-07-13  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Revert last change.
Add after_write_object_contents, after_write_object_contents_info.
* elf.c (_bfd_elf_write_object_contents): Revert last change.
Instead, call after_write_object_contents if set.

17 years ago*** empty log message ***
gdbadmin [Fri, 13 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * mep-tdep.c (IS_BRA, BRA_DISP): New macros.
Kevin Buettner [Fri, 13 Jul 2007 00:00:15 +0000 (00:00 +0000)]
* mep-tdep.c (IS_BRA, BRA_DISP): New macros.
(mep_analyze_prologue): Add case for BRA instruction.

17 years agodaily update
Alan Modra [Fri, 13 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
Ulrich Weigand [Thu, 12 Jul 2007 20:15:24 +0000 (20:15 +0000)]
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.

17 years ago * configure.srv: Set srv_linux_regsets for sh*-*-linux*.
Daniel Jacobowitz [Thu, 12 Jul 2007 19:59:00 +0000 (19:59 +0000)]
* configure.srv: Set srv_linux_regsets for sh*-*-linux*.
* linux-sh-low.c (sh_fill_gregset, target_regsets): New.

17 years ago * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
Hans-Peter Nilsson [Thu, 12 Jul 2007 13:30:24 +0000 (13:30 +0000)]
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.

17 years ago * configure.ac: Fix my previous change to really match GCC.
Bernd Schmidt [Thu, 12 Jul 2007 11:51:39 +0000 (11:51 +0000)]
* configure.ac: Fix my previous change to really match GCC.
* configure: Regenerate.

17 years ago*** empty log message ***
Nick Roberts [Thu, 12 Jul 2007 07:58:38 +0000 (07:58 +0000)]
*** empty log message ***

17 years ago(Server Prefix): New node. Adapt from existing node
Nick Roberts [Thu, 12 Jul 2007 07:57:57 +0000 (07:57 +0000)]
(Server Prefix): New node.  Adapt from existing node
in annotate.texinfo.
(Command History): Link to new node.

17 years agoUpdated Vietnamese and Dutch translations
Nick Clifton [Thu, 12 Jul 2007 07:28:27 +0000 (07:28 +0000)]
Updated Vietnamese and Dutch translations

17 years agoAdd support for building on a 64-bit Windows host.
Nick Clifton [Thu, 12 Jul 2007 07:16:41 +0000 (07:16 +0000)]
Add support for building on a 64-bit Windows host.

17 years agomerge from gcc
DJ Delorie [Thu, 12 Jul 2007 03:10:12 +0000 (03:10 +0000)]
merge from gcc

17 years ago* maint-tool (deps): Output stamp-h instead of config.h.
Alexandre Oliva [Thu, 12 Jul 2007 02:24:41 +0000 (02:24 +0000)]
* maint-tool (deps): Output stamp-h instead of config.h.
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.

17 years agodaily update
Alan Modra [Thu, 12 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 12 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoMerge from gcc:
DJ Delorie [Wed, 11 Jul 2007 19:12:27 +0000 (19:12 +0000)]
Merge from gcc:
2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Rewrite 'configure --help' strings to look nicer.
* configure: Regenerate.

2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Add some missing m4 quotation.
* configure: Regenerate.

17 years ago2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 Jul 2007 19:09:22 +0000 (19:09 +0000)]
2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* tls.m4 (GCC_CHECK_CC_TLS): New.

2007-07-05  Sebastian Pop  <sebpop@gmail.com>

PR bootstrap/32622
* mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
don't reset its value.

17 years agodaily update
Alan Modra [Wed, 11 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 11 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoInclude "top.h".
Nick Roberts [Tue, 10 Jul 2007 22:59:42 +0000 (22:59 +0000)]
Include "top.h".
(breakpoint_1): Don't set convenience variable $_ if server prefix
is used.
(_initialize_breakpoint): Describe this behaviour in command help.

17 years ago*** empty log message ***
Nick Roberts [Tue, 10 Jul 2007 22:58:42 +0000 (22:58 +0000)]
*** empty log message ***

17 years ago2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 15:03:03 +0000 (15:03 +0000)]
2007-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.

17 years ago2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 13:49:04 +0000 (13:49 +0000)]
2007-07-10  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4756
* simple.c (bfd_simple_get_relocated_section_content): Don't
apply relocation on executable and shared library.

17 years ago * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate
Nathan Sidwell [Tue, 10 Jul 2007 07:42:30 +0000 (07:42 +0000)]
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate
copy relocs on vxworks.

17 years ago * elf32-arm.c (elf32_arm_size_info): Init checksum_contents field.
Alan Modra [Tue, 10 Jul 2007 04:08:12 +0000 (04:08 +0000)]
* elf32-arm.c (elf32_arm_size_info): Init checksum_contents field.
* elf64-alpha.c (alpha_elf_size_info): Likewise.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-mips.c (mips_elf64_size_info): Likewise.
* elf64-s390.c (s390_elf64_size_info): Likewise.
* elf64-sparc.c (elf64_sparc_size_info): Likewise.

17 years ago2007-07-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 02:40:31 +0000 (02:40 +0000)]
2007-07-09  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (bfd_elf_record_link_assignment): Handle indirect
symbol.
(_bfd_elf_merge_symbol): Properly update normal symbol when
overriding the versioned symbol from a dynamic library.

17 years agodaily update
Alan Modra [Tue, 10 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 10 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago.
Roland McGrath [Mon, 9 Jul 2007 21:23:51 +0000 (21:23 +0000)]
.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:23:43 +0000 (21:23 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:23:39 +0000 (21:23 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:23:37 +0000 (21:23 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:21:42 +0000 (21:21 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:17:42 +0000 (21:17 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.

17 years agoImport patch from FSF gcc sources to add support for building windmc tool.
Nick Clifton [Mon, 9 Jul 2007 09:16:05 +0000 (09:16 +0000)]
Import patch from FSF gcc sources to add support for building windmc tool.

17 years agodaily update
Alan Modra [Mon, 9 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 9 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * win32-low.c (handle_output_debug_string): Ignore event if not
Pedro Alves [Sun, 8 Jul 2007 19:37:46 +0000 (19:37 +0000)]
* win32-low.c (handle_output_debug_string): Ignore event if not
waiting.

17 years ago * solib-target.c (library_list_start_segment): Cast address to
Pedro Alves [Sun, 8 Jul 2007 19:31:11 +0000 (19:31 +0000)]
* solib-target.c (library_list_start_segment): Cast address to
CORE_ADDR.

17 years ago * win32-arm-low.c (arm_wince_breakpoint): Fix typo.
Pedro Alves [Sun, 8 Jul 2007 00:25:30 +0000 (00:25 +0000)]
* win32-arm-low.c (arm_wince_breakpoint): Fix typo.

17 years ago*** empty log message ***
gdbadmin [Sun, 8 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 8 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 7 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 7 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago2007-07-06 Mark Kettenis <kettenis@gnu.org>
H.J. Lu [Fri, 6 Jul 2007 14:35:50 +0000 (14:35 +0000)]
2007-07-06  Mark Kettenis  <kettenis@gnu.org>
    H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
(ia64-asmtab.c): Likewise.
* Makefile.in: Regenerate.

17 years ago* bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
Mark Kettenis [Fri, 6 Jul 2007 11:39:44 +0000 (11:39 +0000)]
* bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
for terminated processes.

17 years agoUpdate tp GPLv3
Nick Clifton [Fri, 6 Jul 2007 11:13:56 +0000 (11:13 +0000)]
Update tp GPLv3

17 years ago * elflink.c (elf_link_add_object_symbols): Return via
Alan Modra [Fri, 6 Jul 2007 02:29:10 +0000 (02:29 +0000)]
* elflink.c (elf_link_add_object_symbols): Return via
error_free_vers on "notice" failure.

17 years agodaily update
Alan Modra [Fri, 6 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 6 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-07-05 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 5 Jul 2007 22:47:27 +0000 (22:47 +0000)]
2007-07-05  Michael Snyder  <msnyder@access-company.com>

* event-top.c (cli_command_loop): Prompt string can (and should)
be freed after call to readline (Coverity).  Also move local var
declarations into block where they are used.

* tui/tui-interp.c (tui_command_loop): Prompt string can (and
should) be freed after call to readline (Coverity).  Also move
local var declarations into block where they are used.

17 years ago2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 5 Jul 2007 18:03:18 +0000 (18:03 +0000)]
2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>

* aclocal.m4: Regenerated.

17 years ago2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 5 Jul 2007 17:57:04 +0000 (17:57 +0000)]
2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>

* lt~obsolete.m4: New. Import from 20070318 libtool.

17 years ago2007-07-05 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Thu, 5 Jul 2007 12:22:32 +0000 (12:22 +0000)]
2007-07-05  Markus Deuling  <deuling@de.ibm.com>

* gdbint.texinfo (PC_LOAD_SEGMENT): Remove description.

17 years agoChange source files over to GPLv3.
Nick Clifton [Thu, 5 Jul 2007 09:49:02 +0000 (09:49 +0000)]
Change source files over to GPLv3.

17 years ago2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 5 Jul 2007 02:50:02 +0000 (02:50 +0000)]
2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>

* peicode.h (pe_bfd_object_p): Don't check PE vs. EFI target
if arch is unknown.

17 years agodaily update
Alan Modra [Thu, 5 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 5 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago(Target Conditionals): Fix last change.
Eli Zaretskii [Wed, 4 Jul 2007 21:51:23 +0000 (21:51 +0000)]
(Target Conditionals): Fix last change.

17 years ago* cr16-dis.c (getcinvstring): Add const qualifier to char * parameter.
Nick Clifton [Wed, 4 Jul 2007 14:29:44 +0000 (14:29 +0000)]
* cr16-dis.c (getcinvstring): Add const qualifier to char * parameter.
  (print_insn_cr16): Remove cast to char *.

17 years ago* elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly compensate
Nick Clifton [Wed, 4 Jul 2007 14:23:22 +0000 (14:23 +0000)]
* elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly compensate
  for high bit set in R_MEP_LOW16.

17 years ago*** empty log message ***
gdbadmin [Wed, 4 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 4 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
Daniel Jacobowitz [Tue, 3 Jul 2007 17:19:38 +0000 (17:19 +0000)]
2007-07-03  Yoshinori Sato <ysato@users.sourceforge.jp>

* compile.c (sim_resume): Fix the last byte of ARGV for
SYS_CMDLINE.

17 years ago * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in
Andreas Schwab [Tue, 3 Jul 2007 17:01:55 +0000 (17:01 +0000)]
* linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in
/proc/../stat.

17 years ago2007-07-03 Paul Gilliam <pgilliam@us.ibm.com>
Daniel Jacobowitz [Tue, 3 Jul 2007 15:58:42 +0000 (15:58 +0000)]
2007-07-03  Paul Gilliam  <pgilliam@us.ibm.com>
    Thiago Bauermann  <bauerman@br.ibm.com>
    Joseph S. Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

gdb/
* remote.c (remote_check_symbols): Use
gdbarch_convert_from_func_ptr_addr.
* infcall.c (find_function_addr): Handle function descriptors
without debugging information.
* ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed
from ppc64_linux_convert_from_func_ptr_addr.  Handle -msecure-plt.
(ppc_linux_init_abi): Always set convert_from_func_ptr_addr.
* solib-svr4.c (solib_break_names): Remove "._dl_debug_state".
(bfd_lookup_symbol): Do not take a SECT_FLAGS argument.  Always
allow SEC_CODE and SEC_DATA.
(enable_break): Update calls.  Pass current_target to solib_add.
Use gdbarch_convert_from_func_ptr_addr.

gdb/gdbserver/
* remote-utils.c (look_up_one_symbol): Handle 'm' packets.

17 years ago2007-07-03 Ilko Iliev <iliev@ronetix.at>
Daniel Jacobowitz [Tue, 3 Jul 2007 15:32:20 +0000 (15:32 +0000)]
2007-07-03  Ilko Iliev  <iliev@ronetix.at>
    Daniel Jacobowitz  <dan@codesourcery.com>

* symfile.c (print_transfer_performance): Avoid integer overflow.
Use larger units.

17 years agobfd:
Joseph Myers [Tue, 3 Jul 2007 15:21:30 +0000 (15:21 +0000)]
bfd:
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Copy type from
input attributes if value has been copied.

ld/testsuite:
* ld-arm/attr-merge-2a.s, ld-arm/attr-merge-2b.s,
ld-arm/attr-merge-2.attr: New.
* ld-arm/arm-elf.exp (armelftests): Add new test.

17 years agoSwitch sources over to use the GPL version 3
Nick Clifton [Tue, 3 Jul 2007 14:26:43 +0000 (14:26 +0000)]
Switch sources over to use the GPL version 3

17 years ago2007-07-03 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 3 Jul 2007 12:21:22 +0000 (12:21 +0000)]
2007-07-03  Markus Deuling  <deuling@de.ibm.com>

* gdb.texinfo: Replace following macros by their appropriate gdbarch
routines:
(TARGET_CHAR_SIGNED, CALL_DUMMY_LOCATION, CANNOT_FETCH_REGISTER)
(CANNOT_STORE_REGISTER, GET_LONGJMP_TARGET, POINTER_TO_ADDRESS)
(ADDRESS_TO_POINTER, INNER_THAN, FRAME_NUM_ARGS)
(HAVE_NONSTEPPABLE_WATCHPOINT, TARGET_SHORT_BIT, TARGET_INT_BIT)
(TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT)
(TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT
(TARGET_ADDR_BIT, SP_REGNUM, PC_REGNUM, PS_REGNUM, FP0_REGNUM)
(STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM)
(SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM, BELIEVE_PCC_PROMOTION)
(CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, EXTRACT_RETURN_VALUE)
(STORE_RETURN_VALUE, SKIP_PROLOGUE, MEMORY_INSERT_BREAKPOINT)
(BREAKPOINT_FROM_PC, MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
(ADDR_BITS_REMOVE, TARGET_PRINT_INSN, SKIP_TRAMPOLINE_CODE)
(IN_SOLIB_RETURN_TRAMPOLINE, NAME_OF_MALLOC, ADDRESS_CLASS_TYPE_FLAGS)
(ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_TYPE_FLAGS_P).
(ADDRESS_CLASS_NAME_to_TYPE_FLAGS, ADJUST_BREAKPOINT_ADDRESS)
(PRINT_FLOAT_INFO, PRINT_VECTOR_INFO, INTEGER_TO_ADDRESS)
(SKIP_PERMANENT_BREAKPOINT, TARGET_VIRTUAL_FRAME_POINTER)
(SOFTWARE_SINGLE_STEP_P)

(push_dummy_call, stabs_argument_has_addr, unwind_sp, unwind_pc)
(print_registers_info, push_dummy_code, unwind_dummy_id): Rework

(REGISTER_CONVERT_TO_TYPE, END_OF_TEXT_DEFAULT, GDB_MULTI_ARCH)
(GDB_TARGET_IS_HPPA, DEPRECATED_GET_SAVED_REGISTER)
(SYMBOLS_CAN_START_WITH_DOLLAR, DEPRECATED_INIT_EXTRA_FRAME_INFO)
(DEPRECATED_INIT_FRAME_PC, DEPRECATED_SIGTRAMP_START)
(IN_SOLIB_CALL_TRAMPOLINE, NO_HIF_SUPPORT, REGISTER_CONVERTIBLE)
(DEPRECATED_REGISTER_RAW_SIZE, PARM_BOUNDARY, DEPRECATED_STACK_ALIGN)
(PROLOGUE_FIRSTLINE_OVERLAP, DEPRECATED_POP_FRAME, STEP_SKIPS_DELAY)
(TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT)
(OS9K_VARIABLES_INSIDE_BLOCK, KERNEL_U_ADDR, KERNEL_U_ADDR_HPUX)
(REGISTER_U_ADDR, U_REGS_OFFSET, DEBUG_PTRACE): Remove description.

(Converting an existing Target Architecture to Multi-arch): Remove
 section.

(gdbarch_unwind_pc, gdbarch_unwind_sp): Renew code example.
(gdbarch_addr_bits_remove): Add code example.

* gdb.texinfo: Replace REGISTER_NAME by gdbarch_register_name.

17 years ago2007-07-03 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 3 Jul 2007 12:14:44 +0000 (12:14 +0000)]
2007-07-03  Markus Deuling  <deuling@de.ibm.com>

* cp-namespace.c (lookup_symbol_file): Add block to
lookup_symbol_global call.
* Makefile.in (solist_h): Add dependency on symtab header.
(symtab.o): Add dependency on solist header.
* solib.c (solib_global_lookup): New function.
* solib-svr4.c (scan_dyntag): Likewise.
(elf_locate_base): Call helper routine scan_dyntag.
(elf_lookup_lib_symbol): New function.
(_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops.
* solist.h (symtab.h): New include.
(struct target_so_ops): New member lookup_lib_global_symbol.
(solib_global_lookup): New prototype.
* symtab.c: New include solist.h.
(lookup_objfile_from_block): New function.
(lookup_global_symbol_from_objfile): New function.
(basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call.
(lookup_symbol_global): Call library-specific lookup procedure.
* symtab.h (lookup_global_symbol_from_objfile): New prototype.

* NEWS: Document framework.

testsuite/

* gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
* gdb.base/solib-symbol-lib.c: Likewise.
* gdb.base/solib-symbol-main.c: Likewise.

17 years ago gas/testsuite/
Nathan Sidwell [Tue, 3 Jul 2007 07:54:19 +0000 (07:54 +0000)]
gas/testsuite/
* gas/m68k/mcf-coproc.d: New.
* gas/m68k/mcf-coproc.s: New.
* gas/m68k/all.exp: Add it.

gas/
* config/tc-m68k.c (m68k_ip): Add j & K operand types.
(install_operand): Add E encoding.
(md_begin): Check and skip initial '.' arg character.
(get_num): Add 0..511 case.

include/
* opcode/m68k.h: Document j K & E.

opcodes/
* m68k-dis.c (fetch_arg): Add E.  Replace length switch with
direct masking.
(print_ins_arg): Add j & K operand types.
(match_insn_m68k): Check and skip initial '.' arg character.
(m68k_scan_mask): Likewise.
* m68k-opc.c (m68k_opcodes): Add coprocessor instructions.

17 years ago * target-descriptions.c (tdesc_create_reg): Do not set reg->type
Daniel Jacobowitz [Tue, 3 Jul 2007 01:23:01 +0000 (01:23 +0000)]
* target-descriptions.c (tdesc_create_reg): Do not set reg->type
to NULL.

* cli/cli-script.c (build_command_line): Update NULL check.

17 years ago2007-07-02 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 3 Jul 2007 01:01:13 +0000 (01:01 +0000)]
2007-07-02  Michael Snyder  <msnyder@access-company.com>

* p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity).

17 years ago*** empty log message ***
gdbadmin [Tue, 3 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 3 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * Makefile.in (XMLFILES): Add library-list.dtd.
Daniel Jacobowitz [Mon, 2 Jul 2007 22:01:09 +0000 (22:01 +0000)]
* Makefile.in (XMLFILES): Add library-list.dtd.
(ALLDEPFILES): Add solib-target.o.
(solib-target.o): New rule.
* remote.c (PACKET_qXfer_libraries): New constant.
(remote_protocol_features): Add qXfer:libraries:read.
(remote_wait): Recognize library stop replies.
(remote_async_wait): Likewise.  Fix typo.
(remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
(init_remote_async_ops): Fix typo.
(_initialize_remote): Register "set remote library-info-packet".
* solib-som.c (som_current_sos): Set addr_low and addr_high.
* solib-target.c: New file.
* solib.c (solib_map_sections): Use addr_low and addr_high instead
of textsection.
(info_sharedlibrary_command): Likewise.
(solib_add_library, solib_remove_library): New.
* solist.h (struct so_list): Replace textsection with addr_low and
addr_high.
* target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES.
* NEWS: Describe new qXfer:libraries:read and shared library
event support.
* features/library-list.dtd: New.

* gdb.texinfo (Remote Configuration): Document library-info-packet.
Add other missing entries.  Adjust the table size to fit.
(Stop Reply Packets): Use @itemize instead of @enumerate.  Document
stop reasons including the new "library" event.
(General Query Packets): Adjust table widths for qSupported.  Mention
qXfer:libraries:read reply to qSupported and document the new packet.
(Library List Format): New section.

17 years ago * infrun.c (inferior_ignoring_startup_exec_events): Delete.
Daniel Jacobowitz [Mon, 2 Jul 2007 21:29:28 +0000 (21:29 +0000)]
* infrun.c (inferior_ignoring_startup_exec_events): Delete.
(start_remote): Use STOP_QUIETLY_REMOTE.
(handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED
support on a SOLIB_ADD definition.  Update breakpoints_inserted.
Update to match shared library event breakpoint support.  Only
resume if appropriate.  Handle STOP_QUIETLY_REMOTE.
(normal_stop): Handle TARGET_WAITKIND_LOADED.
* fork-child.c (startup_inferior): Do not set
inferior_ignoring_startup_exec_events
* inferior.h (inferior_ignoring_startup_exec_events): Delete
declaration.
(enum stop_kind): Improve documentation.  Add STOP_QUIETLY_REMOTE.

* config/gdbserver.exp (gdb_reconnect): New.
* gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
gdb.base/solib-disc.exp: New files.
* lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
remote debugging".
(gdb_compile): Add shlib_load flag.
* lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
port.
(gdbserver_reconnect): New.

17 years ago2007-07-02 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Mon, 2 Jul 2007 18:33:22 +0000 (18:33 +0000)]
2007-07-02  Markus Deuling  <deuling@de.ibm.com>

* gdbtk/generic/gdbtk-stack.c (get_frame_name): Remove dead code
(PC_LOAD_SEGMENT).

17 years ago2007-07-02 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Mon, 2 Jul 2007 18:30:19 +0000 (18:30 +0000)]
2007-07-02  Markus Deuling  <deuling@de.ibm.com>

* breakpoint.c (insert_bp_location): Remove dead code
(DISABLE_UNSETTABLE_BREAK).
(disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib): Likewise (comment).