binutils-gdb.git
17 years agoWrap long line.
Mark Kettenis [Sun, 28 Jan 2007 14:23:13 +0000 (14:23 +0000)]
Wrap long line.

17 years agoAdd INCLUDED_TARGET_FILE.
H.J. Lu [Sun, 28 Jan 2007 02:16:07 +0000 (02:16 +0000)]
Add INCLUDED_TARGET_FILE.

17 years ago2076-01-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 28 Jan 2007 02:13:58 +0000 (02:13 +0000)]
2076-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.

17 years ago * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
Daniel Jacobowitz [Sun, 28 Jan 2007 01:38:40 +0000 (01:38 +0000)]
* dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
(struct dwarf2_loclist_baton): Likewise.

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

17 years agodaily update
Alan Modra [Sat, 27 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
Dave Anglin [Sat, 27 Jan 2007 22:43:49 +0000 (22:43 +0000)]
* elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
(INCLUDED_TARGET_FILE): Remove.

17 years ago * cli/cli-script.c: Include breakpoint.h.
Eli Zaretskii [Sat, 27 Jan 2007 12:30:46 +0000 (12:30 +0000)]
* cli/cli-script.c: Include breakpoint.h.
(build_command_line): Require arguments only for if and while commands.
(get_command_line, execute_user_command, execute_control_command):
Fix wording of warning messages.
(print_command_lines): Print breakpoint commands.
(execute_control_command): Call commands_from_control_command to
handle the `commands' command inside a body of a flow-control command.
(read_next_line): Recognize the `commands' command and build a
command line structure for it.
(recurse_read_control_structure, read_command_lines): Handle
`commands' similarly to `if' and `while'.

* breakpoint.c (get_number_trailer): Document the special meaning
of NULL as the first argument PP.
(commands_from_control_command): New function.

* breakpoint.h (commands_from_control_command): Add prototype.

* defs.h (commands_control): New enumerated value for enum
command_control_type.

17 years ago * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
Andreas Schwab [Sat, 27 Jan 2007 11:09:35 +0000 (11:09 +0000)]
* gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
.short/.int/.quad in the dwarf sections.
* gdb.dwarf2/dw2-intercu.S: Likewise.
* gdb.dwarf2/dw2-intermix.S: Likewise.

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

17 years agodaily update
Alan Modra [Fri, 26 Jan 2007 23:00:11 +0000 (23:00 +0000)]
daily update

17 years ago * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
Joel Brobecker [Fri, 26 Jan 2007 21:31:06 +0000 (21:31 +0000)]
    * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
        (ada_exception_sal): Update accordingly.

17 years ago * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
Jan Kratochvil [Fri, 26 Jan 2007 20:54:16 +0000 (20:54 +0000)]
* c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
* NEWS: Describe CHAR array vs. string identifcation rules.

17 years ago * gdb.texinfo: Describe CHAR array vs. string identifcation rules.
Jan Kratochvil [Fri, 26 Jan 2007 20:53:52 +0000 (20:53 +0000)]
* gdb.texinfo: Describe CHAR array vs. string identifcation rules.

17 years ago * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
Jan Kratochvil [Fri, 26 Jan 2007 20:53:15 +0000 (20:53 +0000)]
* gdb.base/charsign.exp, gdb.base/charsign.c: New files.
* gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number array.
* gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
* gdb.base/setvar.exp: Likewise.

17 years ago * gdb.base/corefile.exp: Allow non-empty argument list in reinit
Andreas Schwab [Fri, 26 Jan 2007 14:55:27 +0000 (14:55 +0000)]
* gdb.base/corefile.exp: Allow non-empty argument list in reinit
test.

17 years ago * gdb.base/multi-forks.exp ("restart $i"): Also match
Andreas Schwab [Fri, 26 Jan 2007 14:53:10 +0000 (14:53 +0000)]
* gdb.base/multi-forks.exp ("restart $i"): Also match
__kernel_syscall_via_break.

17 years ago*** empty log message ***
Eli Zaretskii [Fri, 26 Jan 2007 08:57:09 +0000 (08:57 +0000)]
*** empty log message ***

17 years ago * gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):
Eli Zaretskii [Fri, 26 Jan 2007 08:54:01 +0000 (08:54 +0000)]
* gdb.texinfo (Compilation, Files, Bootstrapping, Bug Reporting):
Use @value{NGCC} instead of @value{GCC}.

17 years ago* elf32-m32c.c (m32c_elf_howto_table): Don't complain about
DJ Delorie [Fri, 26 Jan 2007 00:00:47 +0000 (00:00 +0000)]
* elf32-m32c.c (m32c_elf_howto_table): Don't complain about
R_M32C_16 or R_M32C_24 relocs.

17 years ago*** empty log message ***
gdbadmin [Fri, 26 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 25 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-25 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 25 Jan 2007 20:17:26 +0000 (20:17 +0000)]
2007-01-25  Paul Brook  <paul@codesourcery.com>

gdb/
* arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.

17 years ago * ar.c (print_contents, extract_file): Cast the return value
Kazu Hirata [Thu, 25 Jan 2007 15:40:22 +0000 (15:40 +0000)]
* ar.c (print_contents, extract_file): Cast the return value
of fwrite to size_t.

17 years agoPR binutils/3874
Nick Clifton [Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)]
PR binutils/3874
* elf32-avr.c (avr_link_hash_table): Check to make sure that the hash table was created by elf32_avr_link_hash_table_create before using it.
  (elf32_avr_link_hash_newfunc): New function.  Just pass the call through to _bfd_elf_link_hash_newfunc.
  (elf32_avr_link_hash_table_create): Use elf32_avr_link_hash_newfunc instead of _bfd_elf_link_hash_newfunc.
  (elf32_avr_relocate_section): Check for the hash table pointer being NULL.
  (elf32_avr_relax_section, avr_build_one_stub, elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, elf32_avr_build_stubs): Likewise.

17 years agoAdd a space between date and name.
H.J. Lu [Thu, 25 Jan 2007 03:41:17 +0000 (03:41 +0000)]
Add a space between date and name.

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

17 years agodaily update
Alan Modra [Wed, 24 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-24 Jim Blandy <jimb@codesourcery.com>
Jim Blandy [Wed, 24 Jan 2007 22:04:48 +0000 (22:04 +0000)]
2007-01-24  Jim Blandy  <jimb@codesourcery.com>

* dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
expression is empty, bother to return the 'optimized out' value we
construct.  (Thanks to Carl Burch.)

17 years ago* config/tc-m32c.c (md_pseudo_table): Add .3byte.
DJ Delorie [Wed, 24 Jan 2007 21:53:09 +0000 (21:53 +0000)]
* config/tc-m32c.c (md_pseudo_table): Add .3byte.

17 years ago * varobj.c (c_value_of_root, c_value_of_child)
Vladimir Prus [Wed, 24 Jan 2007 19:54:13 +0000 (19:54 +0000)]
    * varobj.c (c_value_of_root, c_value_of_child)
        (cplus_describe_child): Don't call release_value.

17 years ago2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 24 Jan 2007 16:08:53 +0000 (16:08 +0000)]
2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
(DEFSYMEND): Likewise.
(NAME): Likewise.
(LNAME): Likewise.

17 years ago * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
Thiemo Seufer [Wed, 24 Jan 2007 13:37:07 +0000 (13:37 +0000)]
* mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
initialization.

17 years ago Refactor getting children name, value and type access
Vladimir Prus [Wed, 24 Jan 2007 11:08:47 +0000 (11:08 +0000)]
    Refactor getting children name, value and type access
        for varobjs in C++.
        * varobj.c (get_type_deref): Remove.
        (adjust_value_for_child_access): New.
        (c_number_of_children): Use the above.
        (c_describe_child): Likewise.
        (enum accessibility): New.
        (match_accessibility): New function.
        (cplus_describe_child): New function.
        (cplus_name_of_child, cplus_value_of_child)
        (cplus_type_of_child): Reimplement in terms
        of cplus_describe_child.
        (cplus_number_of_children): Use
        adjust_value_for_child_access.

17 years ago Fix computation of the 'editable' attribute and
Vladimir Prus [Wed, 24 Jan 2007 10:49:31 +0000 (10:49 +0000)]
    Fix computation of the 'editable' attribute and
        value changeability for for references.
        * varobj.c (get_value_type): New function.
        (c_variable_editable): Use get_value_type.
        (varobj_value_is_changeable): Likewise.

17 years ago * source.c (find_and_open_source): Try rewriting the source
Joel Brobecker [Wed, 24 Jan 2007 00:03:15 +0000 (00:03 +0000)]
    * source.c (find_and_open_source): Try rewriting the source
        path inside filename if dirname is NULL.

17 years ago*** empty log message ***
gdbadmin [Wed, 24 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * dwarf2read.c (add_partial_symbol): Create an extra partial
Joel Brobecker [Tue, 23 Jan 2007 23:57:47 +0000 (23:57 +0000)]
    * dwarf2read.c (add_partial_symbol): Create an extra partial
        symbol in the VAR_DOMAIN for Ada structures, unions or enums.
        (new_symbol): Likewise for symbols.

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

17 years ago(mi_cmd_execute): Call free_all_values.
Nick Roberts [Tue, 23 Jan 2007 20:27:58 +0000 (20:27 +0000)]
(mi_cmd_execute): Call free_all_values.

17 years ago*** empty log message ***
Nick Roberts [Tue, 23 Jan 2007 20:27:26 +0000 (20:27 +0000)]
*** empty log message ***

17 years ago * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
Daniel Jacobowitz [Tue, 23 Jan 2007 17:11:55 +0000 (17:11 +0000)]
* Makefile.in (ALL_SUBDIRS): Add gdb.xml.
* configure: Regenerated.
* configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
* gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
* lib/gdb.exp (gdb_skip_xml_test): New function.

17 years ago * ld-elf/header.d: Reduce page size, restrict to linux & vxworks
Nathan Sidwell [Tue, 23 Jan 2007 16:42:43 +0000 (16:42 +0000)]
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
* ld-elf/header.s: Adjust.
* ld-elf/header.t: Reduce initial offset.

17 years ago * lib/ld-lib.exp (run_dump_test): Don't prematurely remove
Andreas Schwab [Tue, 23 Jan 2007 13:30:47 +0000 (13:30 +0000)]
* lib/ld-lib.exp (run_dump_test): Don't prematurely remove
assembler output.

17 years ago * value.c (value_primitive_field): Copy the full 'location'
Vladimir Prus [Tue, 23 Jan 2007 13:13:03 +0000 (13:13 +0000)]
    * value.c (value_primitive_field): Copy the full 'location'
        contents, instead of assuming that copying ADDRESS will
        bring over everything in the union.  Remove obsolete comment.

17 years ago * m32c-tdep.c (make_regs, m32c_analyze_prologue)
Daniel Jacobowitz [Tue, 23 Jan 2007 13:06:32 +0000 (13:06 +0000)]
* m32c-tdep.c (make_regs, m32c_analyze_prologue)
(m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
(m32c_m16c_pointer_to_address): Separate code from declarations.

17 years agoFrom Nick Hudson:
Daniel Jacobowitz [Tue, 23 Jan 2007 13:03:20 +0000 (13:03 +0000)]
From Nick Hudson:
* target.c (update_current_target): Correct typo.

* gdb.base/sigrepeat.exp: Correct error message.

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

17 years agodaily update
Alan Modra [Mon, 22 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years agoCorrent PR # for PR 3830.
H.J. Lu [Mon, 22 Jan 2007 19:27:04 +0000 (19:27 +0000)]
Corrent PR # for PR 3830.

17 years agoMention bug #.
H.J. Lu [Mon, 22 Jan 2007 19:19:24 +0000 (19:19 +0000)]
Mention bug #.

17 years ago * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
Corinna Vinschen [Mon, 22 Jan 2007 10:08:33 +0000 (10:08 +0000)]
* xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
declaration.

17 years ago* tc-score.c: Remove unnecessary uses of _().
Nick Clifton [Mon, 22 Jan 2007 08:55:34 +0000 (08:55 +0000)]
* tc-score.c: Remove unnecessary uses of _().
  Make the err_msg[] a file level local array in order to save storage space.
  Remove unnecessary sprintf()s.

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

17 years agodaily update
Alan Modra [Sun, 21 Jan 2007 23:00:37 +0000 (23:00 +0000)]
daily update

17 years ago * dwarf2-frame.c (execute_cfa_program): New support of
Jan Kratochvil [Sun, 21 Jan 2007 22:42:09 +0000 (22:42 +0000)]
* dwarf2-frame.c (execute_cfa_program): New support of
`DW_CFA_GNU_negative_offset_extended'.

17 years ago * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
Jan Kratochvil [Sun, 21 Jan 2007 22:41:41 +0000 (22:41 +0000)]
* gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
gdb.arch/i386-gnu-cfi-asm.S: New files.

17 years ago * lib/gdb.exp: Abort on missing `site.exp'.
Jan Kratochvil [Sun, 21 Jan 2007 22:25:34 +0000 (22:25 +0000)]
* lib/gdb.exp: Abort on missing `site.exp'.

17 years ago * NEWS: Mention flash support for "load" and new remote packets.
Daniel Jacobowitz [Sun, 21 Jan 2007 17:48:53 +0000 (17:48 +0000)]
* NEWS: Mention flash support for "load" and new remote packets.

17 years ago2007-01-21 Markus Deuling <deuling@de.ibm.com>
Daniel Jacobowitz [Sun, 21 Jan 2007 17:43:12 +0000 (17:43 +0000)]
2007-01-21  Markus Deuling  <deuling@de.ibm.com>

* breakpoint.c (delete_command): Skip redundant loop iterations.

17 years ago * gdbarch.sh (register_type): Update comment.
Daniel Jacobowitz [Sun, 21 Jan 2007 17:37:51 +0000 (17:37 +0000)]
* gdbarch.sh (register_type): Update comment.
* gdbarch.h: Regenerated.
* arch-utils.c (generic_register_size): Call register_type.
* ia64-tdep.c (ia64_extract_return_value): Likewise.
* m32c-tdep.c (check_for_saved): Likewise.
* mips-tdep.c (mips_print_register, print_gp_register_row)
(mips_print_registers_info): Likewise.
* sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
Likewise.
* sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
(sh64_do_register, sh64_print_register)
(sh64_media_print_registers_info): Likewise.
* tui/tui-regs.c (tui_register_format): Likewise.

17 years ago * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
Daniel Jacobowitz [Sun, 21 Jan 2007 16:55:49 +0000 (16:55 +0000)]
* objfiles.h (ALL_PRIMARY_SYMTABS): Define.

* ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
(ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
* cp-support.c (make_symbol_overload_list_qualified): Likewise.
* symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
(basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
(make_symbol_completion_list): Likewise.

17 years ago2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz [Sun, 21 Jan 2007 16:49:40 +0000 (16:49 +0000)]
2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* buildsym.c (end_symtab): Use preallocated symtab if available.
Fill in SYMBOL_SYMTAB.
* buildsym.h (struct subfile): Add symtab member.
* dwarf2read.c (struct dwarf2_cu): Add line_header.
(struct file_entry): Add symtab.
(free_cu_line_header): New function.
(read_file_scope): Use it.  Save line_header in the cu.  Process
lines before DIEs.
(add_file_name): Initialize new symtab member.
(dwarf_decode_lines): Create symtabs for included files.
(new_symbol): Set SYMBOL_SYMTAB.
* symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
(search_symbols): Likewise.
* symtab.h (struct symbol): Add symtab member.
(SYMBOL_SYMTAB): Define.

* gdb.base/included.c, gdb.base/included.exp,
gdb.base/included.h: New files.

17 years ago * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
Daniel Jacobowitz [Sun, 21 Jan 2007 01:02:03 +0000 (01:02 +0000)]
* symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.

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

17 years agodaily update
Alan Modra [Sat, 20 Jan 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.base/bigcore.c (RLIMIT_CAP): Define.
Daniel Jacobowitz [Sat, 20 Jan 2007 18:33:27 +0000 (18:33 +0000)]
* gdb.base/bigcore.c (RLIMIT_CAP): Define.
(maximize_rlimit): Reduce limits on 64-bit systems.

17 years ago * arch-utils.c (show_endian): Correct reversed condition.
Daniel Jacobowitz [Sat, 20 Jan 2007 18:31:29 +0000 (18:31 +0000)]
* arch-utils.c (show_endian): Correct reversed condition.

17 years agoCorrect date on last entry.
Daniel Jacobowitz [Sat, 20 Jan 2007 17:42:43 +0000 (17:42 +0000)]
Correct date on last entry.

17 years ago * agentexpr.texi: Fix typos.
Eli Zaretskii [Sat, 20 Jan 2007 16:51:56 +0000 (16:51 +0000)]
* agentexpr.texi: Fix typos.
* annotate.texinfo: Likewise.
* gdb.texinfo: Likewise.
* gdbint.texinfo: Likewise.
* observer.texi: Likewise.
* stabs.texinfo: Likewise.

17 years ago * gdbint.texinfo (Support Libraries): Remove mmalloc
Eli Zaretskii [Sat, 20 Jan 2007 16:35:45 +0000 (16:35 +0000)]
* gdbint.texinfo (Support Libraries): Remove mmalloc
entry.  Describe readline library.

17 years ago*** empty log message ***
gdbadmin [Sat, 20 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 19 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * MAINTAINERS (Write After Approval): Add myself.
Jan Kratochvil [Fri, 19 Jan 2007 18:55:02 +0000 (18:55 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years ago* pe-dll.c: (make_one) Conditionally include jump stubs.
Nick Clifton [Fri, 19 Jan 2007 15:40:55 +0000 (15:40 +0000)]
* pe-dll.c: (make_one) Conditionally include jump stubs.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
  redundant jump stubs from import libraries and exclude them from link.

17 years agold/
H.J. Lu [Fri, 19 Jan 2007 15:13:29 +0000 (15:13 +0000)]
ld/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* ld.h (args_type): Add new symbolic and dynamic_list fields.

* ld.texinfo: Update -Bsymbolic-functions.

* ldmain.c (main): Initialize command_line.symbolic to
symbolic_unset and command_line.dynamic_list to
dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
--dynamic-list* before setting link_info.symbolic,
link_info.dynamic and link_info.dynamic_data.

* lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
(ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
-Bsymbolic-functions.
(parse_args): Handle -Bsymbolic-functions.  Don't set
link_info.dynamic, link_info.dynamic_data and link_info.symbolic
here.  Set command_line.symbolic for -Bsymbolic.  Set
command_line.dynamic_list and command_line.symbolic for
--dynamic-list-data, --dynamic-list-cpp-new,
--dynamic-list-cpp-typeinfo and --dynamic-list.

ld/testsuite/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl6.c: New file.
* ld-elf/dl6a.out: Likewise.
* ld-elf/dl6amain.c: Likewise.
* ld-elf/dl6b.out: Likewise.
* ld-elf/dl6bmain.c: Likewise.
* ld-elf/dl6cmain.c: Likewise.
* ld-elf/dl6dmain.c: Likewise.

* ld-elf/shared.exp: Add new tests for -Bsymbolic,
-Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.

17 years agold/
H.J. Lu [Fri, 19 Jan 2007 15:06:27 +0000 (15:06 +0000)]
ld/

2007-01-19  Jakub Jelinek  <jakub@redhat.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (handle_option): Make sure -z max-page-size
or -z common-page-size argument is a power of 2.  Call
bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.

2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>

* ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
bfd_emul_set_commonpagesize.

ld/testsuite/

2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/maxpage3.t: New file.
* ld-elf/maxpage3a.d: Likewise.
* ld-elf/maxpage3b.d: Likewise.
* ld-elf/maxpage3c.d: Likewise.

17 years agold/
H.J. Lu [Fri, 19 Jan 2007 14:51:27 +0000 (14:51 +0000)]
ld/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention --default-script/-dT.

* ld.h (args_type): Add a default_script field.

* ld.texinfo: Document --default-script/-dT.

* ldmain.c (main): Handle command_line.default_script.

* lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
(ld_options): Add entries for --default-script and -dT.
(parse_args): Handle --default-script/-dT.

ld/testsuite/

2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/default-script.exp: New file.
* ld-scripts/default-script.s: Likewise.
* ld-scripts/default-script.t: Likewise.
* ld-scripts/default-script1.d: Likewise.
* ld-scripts/default-script2.d: Likewise.
* ld-scripts/default-script3.d: Likewise.
* ld-scripts/default-script4.d: Likewise.

17 years ago From Marcus Deuling <deuling@de.ibm.com>:
Mark Kettenis [Fri, 19 Jan 2007 11:14:52 +0000 (11:14 +0000)]
    From Marcus Deuling <deuling@de.ibm.com>:
        * gdb.arch/altivec-regs.exp: Initialise variable endianness in
        every case.

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

17 years agodaily update
Alan Modra [Thu, 18 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 18 Jan 2007 19:21:15 +0000 (19:21 +0000)]
2007-01-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1283
* lib/ld-lib.exp (run_dump_test): Remove output file first.

17 years ago2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
Mei Ligang [Thu, 18 Jan 2007 10:33:49 +0000 (10:33 +0000)]
2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>

* config/tc-score.c : Using _() for const string.
Do not assign inst.error with a local string pointer.
(md_section_align): Pad section.

17 years ago*** empty log message ***
gdbadmin [Thu, 18 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 17 Jan 2007 23:00:12 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 17 Jan 2007 19:17:15 +0000 (19:17 +0000)]
2007-01-17  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/header.d: Adjust for .text section with 16byte
alignment.

17 years ago*** empty log message ***
gdbadmin [Wed, 17 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 16 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 16 Jan 2007 18:55:06 +0000 (18:55 +0000)]
2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl1main.c (main): Fix a typo.

17 years agobfd/
H.J. Lu [Tue, 16 Jan 2007 14:56:32 +0000 (14:56 +0000)]
bfd/

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

PR ld/3831
* elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
argument, Elf_Internal_Sym *.

* elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
symbol dynamic if info->dynamic_data is TRUE.
(bfd_elf_record_link_assignment): Updated call to
bfd_elf_record_link_assignment.
(_bfd_elf_merge_symbol): Likewise.  Always call
bfd_elf_link_mark_dynamic_symbol.

include/

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

PR ld/3831
* bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
Add dynamic and dynamic_data.

ld/

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

PR ld/3831
* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.

* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
and --dynamic-list-cpp-new.

* ldlang.c (lang_append_dynamic_list_cpp_new): New.
(lang_process): Change link_info.dynamic to
link_info.dynamic_list.
(lang_append_dynamic_list): Likewise.
* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
link_info.dynamic_data to FALSE.

* ldlang.h (lang_append_dynamic_list_cpp_new): New.

* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
OPTION_DYNAMIC_LIST_CPP_NEW.
(ld_options): Add entries for -Bsymbolic-functions,
--dynamic-list-data and --dynamic-list-cpp-new.  Make
-Bsymbolic-functions an alias of --dynamic-list-data.
(parse_args): Change link_info.dynamic to link_info.dynamic_list.
Set link_info.dynamic to TRUE for --dynamic-list and
--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
--dynamic-list-cpp-new.

ld/testsuite/

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

PR ld/3831
* ld-elf/del.cc: New.
* ld-elf/dl5.cc: Likewise.
* ld-elf/dl5.out: Likewise.
* ld-elf/new.cc: Likewise.

* ld-elf/shared.exp: Add tests for --dynamic-list-data and
 --dynamic-list-cpp-new.

17 years agoFix 'selected frame' varobjs.
Vladimir Prus [Tue, 16 Jan 2007 02:12:49 +0000 (02:12 +0000)]
Fix 'selected frame' varobjs.
        * varobj.c (struct varobj): Remove the error field.
        (varobj_set_value): Don't check var->error.
        (install_new_value): Don't set var->error.
        (varobj_update): Always pass the new value
        of the root via install_new_value.
        (create_child): Don't set error field.
        (new_variable): Likewise.
        (c_value_of_root): Always reevaluate the value
        of selected frame varobjs in the selected frame.
        Don't call reinit_frame_cache.

17 years ago*** empty log message ***
gdbadmin [Tue, 16 Jan 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * corefile.c (parse_error): New function.
Ben Elliston [Mon, 15 Jan 2007 23:26:08 +0000 (23:26 +0000)]
* corefile.c (parse_error): New function.
(read_function_mappings): Check calls to fscanf and report any
errors in parsing the mapping file.

17 years agodaily update
Alan Modra [Mon, 15 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * source.c (_initialize_source): Improve the help text of
Joel Brobecker [Mon, 15 Jan 2007 03:57:39 +0000 (03:57 +0000)]
    * source.c (_initialize_source): Improve the help text of
        the substitute-path commands.

17 years ago*** empty log message ***
gdbadmin [Mon, 15 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 14 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 14 Jan 2007 15:39:41 +0000 (15:39 +0000)]
2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-symbolic.m4: New.

17 years ago * frv-tdep.c (frv_gdbarch_init, frv_register_name)
Mark Kettenis [Sun, 14 Jan 2007 14:35:52 +0000 (14:35 +0000)]
* frv-tdep.c (frv_gdbarch_init, frv_register_name)
(frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
(frv_skip_prologue): Remove prototypes.
(frv_adjust_breakpoint_address): Renamed from
frv_gdbarch_adjust_breakpoint_address.
(frv_gdbarch_init): Adjust.

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