OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years agodaily update
Alan Modra [Fri, 28 Mar 2008 23:00:20 +0000 (23:00 +0000)]
daily update

16 years ago/gas:
Eric B. Weddington [Fri, 28 Mar 2008 21:51:38 +0000 (21:51 +0000)]
/gas:
2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Add attiny167.
* doc/c-avr.texi: Likewise.

/include:
2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167.

16 years ago* cp-support.c (first_component_command): Return if no arguments.
Aleksandar Ristovski [Fri, 28 Mar 2008 19:52:23 +0000 (19:52 +0000)]
* cp-support.c (first_component_command): Return if no arguments.

16 years agogdb/
Carlos O'Donell [Fri, 28 Mar 2008 17:30:45 +0000 (17:30 +0000)]
gdb/

2008-03-28  Carlos O'Donell  <carlos@codesourcery.com>

* ser-mingw.c (ser_windows_open): Open requested name.

16 years agogdbtk/
Maciej W. Rozycki [Fri, 28 Mar 2008 16:46:16 +0000 (16:46 +0000)]
gdbtk/
* README: Fix a typo.

testsuite/gdb.gdbtk/
* README: Fix a few typos throughout.

16 years ago2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
Aleksandar Ristovski [Fri, 28 Mar 2008 16:43:14 +0000 (16:43 +0000)]
2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>

* MAINTAINERS: Added myself.

16 years ago * target.c (find_default_run_target): Allow a NULL `do_mesg'
Pedro Alves [Fri, 28 Mar 2008 16:37:08 +0000 (16:37 +0000)]
* target.c (find_default_run_target): Allow a NULL `do_mesg'
parameter.  If it is NULL, don't call error.
(find_default_can_async_p, find_default_is_async_p): Pass NULL as
`do_mesg' parameter to find_default_run_target.  If no target was
found, return 0.

16 years ago2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
Aleksandar Ristovski [Fri, 28 Mar 2008 16:32:11 +0000 (16:32 +0000)]
2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>

Bring mi-support in line with gdb.exp.
* lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
(mi_gdb_start): New function.

16 years ago * mips-linux-tdep.c: Update N32/N64 signal frame comments.
Daniel Jacobowitz [Fri, 28 Mar 2008 14:53:53 +0000 (14:53 +0000)]
* mips-linux-tdep.c: Update N32/N64 signal frame comments.
(N64_SIGCONTEXT_LO, N64_SIGCONTEXT_PC, N64_SIGCONTEXT_FPCSR): Update.
(N64_SIGCONTEXT_FIR, N64_SIGCONTEXT_CAUSE, N64_SIGCONTEXT_BADVADDR):
Delete.
(mips_linux_n32n64_sigframe_init): Do not record cause or badvaddr.

16 years ago* gdb.mi/mi-var-cmd.exp: Fix a typo.
Maciej W. Rozycki [Fri, 28 Mar 2008 14:01:36 +0000 (14:01 +0000)]
* gdb.mi/mi-var-cmd.exp: Fix a typo.

16 years agoAdd support for thin archives.
Nick Clifton [Fri, 28 Mar 2008 06:49:44 +0000 (06:49 +0000)]
Add support for thin archives.
    * bfd/archive.c (_bfd_find_nested_archive): New function.
    (get_extended_arelt_filename): Add origin parameter.
    (_bfd_generic_read_ar_hdr_mag): Deal with extended name
    combined with a file offset.
    (append_relative_path): New function.
    (_bfd_get_elt_at_filepos): Deal with external members and
    nested archives.
    (bfd_generic_openr_next_archived_file): Thin archives.
    (bfd_generic_archive_p): Recognize new magic string.
    (adjust_relative_path): New function.
    (_bfd_construct_extended_name_table): Construct extended
    names for thin archive members.
    (_bfd_write_archive_contents): Emit new magic string, skip
    copying files for thin archives.
    * bfd/bfd-in.h (bfd_is_thin_archive): New macro.
    * bfd/bfd.c (struct bfd): New fields for thin archives.
    * bfd/libbfd-in.h (struct areltdata): New field for thin archives.
    * bfd/opncls.c (bfd_close): Delete BFDs for nested archives.
    * binutils/ar.c (make_thin_archive): New global flag.
    (map_over_members): Deal with full pathnames in thin archives.
    (usage, main): Add 'T' option for building thin archives.
    (replace_members): Pass thin archive flag to ar_emul_append.
    * binutils/arsup.c (ar_open): Initialize new flag.
    * binutils/binemul.c (ar_emul_append): Add new parameter for
    flattening nested archives.
    (do_ar_emul_default_append): New function.
    (ar_emul_default_append): Factored out recursive code.
    * binutils/binemul.h (ar_emul_default_append): Add new parameter.
    (struct bin_emulation_xfer_struct): New parameter for ar_append.
    * binutils/dlltool.c (gen_lib_file): Initialize thin archive flag.
    * binutils/emul_aix.c (ar_emul_aix_internal): Add new flatten
    parameter, currently unimplemented.
    All callers changed.
    * binutils/objcopy.c (copy_archive): Preserve thin archive flag.
    * binutils/doc/binutils.texi: Update ar documentation.
    * binutils/testsuite/binutils-all/ar.exp: Add thin archive tests.
    * include/aout/ar.h (ARMAGT): New magic string for thin archives.

16 years ago*** empty log message ***
gdbadmin [Fri, 28 Mar 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 27 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoGDB 6.8 released.
gdbadmin [Thu, 27 Mar 2008 19:37:04 +0000 (19:37 +0000)]
GDB 6.8 released.

16 years ago2008-03-27 Paolo Bonzini <bonzini@gnu.org> cgen-snapshot-20080401
Paolo Bonzini [Thu, 27 Mar 2008 14:16:55 +0000 (14:16 +0000)]
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove.
* Makefile.in: Regenerate.

config:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

* extensions.m4: New.

2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

* mh-armpic: Remove.
* mh-i370pic: Remove.
* mh-m68kpic: Remove.
* mh-ppcpic: Remove.
* mh-sparcpic: Remove.
* mh-ia64pic: Remove.
* mh-papic: Remove.
* mh-s390pic: Remove.
* mh-x86pic: Remove.

libiberty:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac (frags): Don't set, use frag instead.
(PICFLAG): Set here and substitute.
* Makefile.in (PICFLAG): Substitute from autoconf.
* configure: Regenerate.

16 years agoChangeLog:
Ulrich Weigand [Thu, 27 Mar 2008 13:11:52 +0000 (13:11 +0000)]
ChangeLog:

* features/Makefile (%.dat): Set xmltarget to the base filename
of the XML source, without subdirectory.
* regformats/rs6000/powerpc-32.dat: Regenerate.
* regformats/rs6000/powerpc-64.dat: Regenerate.
* regformats/rs6000/powerpc-e500.dat: Regenerate.

gdbserver/ChangeLog:

* server.c (get_features_xml): Fix inverted condition.
(handle_query): Always support qXfer:feature:read.

16 years ago * xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by
Markus Deuling [Thu, 27 Mar 2008 12:28:48 +0000 (12:28 +0000)]
* xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by
objfile arch.

16 years ago(enum captured_mi_execute_command_actions):
Nick Roberts [Thu, 27 Mar 2008 03:45:22 +0000 (03:45 +0000)]
(enum captured_mi_execute_command_actions):
Spell suppress in EXECUTE_COMMAND_SUPPRESS_PROMPT correctly.

16 years ago*** empty log message ***
Nick Roberts [Thu, 27 Mar 2008 03:45:01 +0000 (03:45 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
gdbadmin [Thu, 27 Mar 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 26 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.texinfo (MIPS Features, PowerPC Features): Add @node.
Daniel Jacobowitz [Wed, 26 Mar 2008 18:37:47 +0000 (18:37 +0000)]
* gdb.texinfo (MIPS Features, PowerPC Features): Add @node.

16 years agogas/testsuite/:
Bernd Schmidt [Wed, 26 Mar 2008 16:48:32 +0000 (16:48 +0000)]
gas/testsuite/:
From Robin Getz  <rgetz@blackfin.uclinux.org>
* gas/bfin/arithmetic.d: Update to reflect spaces/capitalization in
recent changes in opcodes/bfin-dis.c.
gas/bfin/arithmetic.s: Likewise.
gas/bfin/bit.d: Likewise.
gas/bfin/bit2.d: Likewise.
gas/bfin/control_code.d: Likewise.
gas/bfin/control_code2.d: Likewise.
gas/bfin/event.d: Likewise.
gas/bfin/event2.d: Likewise.
gas/bfin/flow.d: Likewise.
gas/bfin/flow2.d: Likewise.
gas/bfin/load.d: Likewise.
gas/bfin/logical.d: Likewise.
gas/bfin/logical2.d: Likewise.
gas/bfin/move.d: Likewise.
gas/bfin/move2.d: Likewise.
gas/bfin/parallel.d: Likewise.
gas/bfin/parallel2.d: Likewise.
gas/bfin/parallel3.d: Likewise.
gas/bfin/parallel4.d: Likewise.
gas/bfin/shift.d: Likewise.
gas/bfin/shift2.d: Likewise.
gas/bfin/stack.d: Likewise.
gas/bfin/stack2.d: Likewise.
gas/bfin/store.d: Likewise.
gas/bfin/vector.d: Likewise.
gas/bfin/vector2.d: Likewise.
gas/bfin/video.d: Likewise.
gas/bfin/video2.d: Likewise.

opcodes/:
* bfin-dis.c: (c_uimm4s4d, c_imm5d, c_imm7d, c_imm16d, c_uimm16s4d,
c_imm32, c_huimm32e): Define.
(constant_formats): Add flags for printing decimal, leading spaces, and
exact symbols.
(comment, parallel): Add global flags in all disassembly.
(fmtconst): Take advantage of new flags, and print default in hex.
(fmtconst_val): Likewise.
(decode_macfunc): Be consistant with spaces, tabs, comments,
capitalization in disassembly, fix minor coding style issues.
(reg_names, amod0, amod1, amod0amod2, aligndir, get_allreg): Likewise.
(decode_ProgCtrl_0, decode_PushPopMultiple_0, decode_CCflag_0,
decode_CC2dreg_0, decode_CC2stat_0, decode_BRCC_0, decode_UJUMP_0,
decode_REGMV_0, decode_ALU2op_0, decode_PTR2op_0, decode_LOGI2op_0,
decode_COMP3op_0, decode_COMPI2opD_0, decode_COMPI2opP_0,
decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0,
decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0, decode_LDSTii_0,
decode_LoopSetup_0, decode_LDIMMhalf_0, decode_CALLa_0,
decode_LDSTidxI_0, decode_linkage_0, decode_dsp32alu_0,
decode_dsp32shift_0, decode_dsp32shiftimm_0, decode_pseudodbg_assert_0,
_print_insn_bfin, print_insn_bfin): Likewise.

16 years agogas/
Bernd Schmidt [Wed, 26 Mar 2008 16:21:10 +0000 (16:21 +0000)]
gas/
* config/bfin-parse.y (check_macfunc_option): Allow (IU)
option for multiply and multiply-accumulate to data register
instruction.
(check_macfuncs): Don't check if accumulator matches the data register
here.
(assign_macfunc): Check if accumulator matches the
data register in each rule that moves to the data
register.

gas/testsuite/
* gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
for IU option.
* gas/bfin/expected_errors.l, gas/bfin/expected_errors.s:
Add check for mismatch of accumulator and data register.

opcodes/
* bfin-dis.c (decode_dsp32mac_0): Decode (IU) option for
multiply and multiply-accumulate to data register instruction.

16 years ago * objfiles.h (struct objfile): New GDBARCH member.
Ulrich Weigand [Wed, 26 Mar 2008 14:53:28 +0000 (14:53 +0000)]
* objfiles.h (struct objfile): New GDBARCH member.
(get_objfile_arch): Add prototype.
* objfiles.c: Include "arch-utils.h".
(allocate_objfile): Look up gdbarch associated with bfd.
(get_objfile_arch): New function.
* Makefile (objfiles.o): Update dependencies.

* dwarf2-frame.c (decode_frame_entry_1): Replace current_gdbarch
by objfile arch.
* dwarf2loc.c (dwarf_expr_read_reg): Replace current_gdbarch
by frame arch.
(locexpr_describe_location): Replace current_gdbarch by
objfile arch.
* dwarf2read.c (die_type): Replace current_gdbarch by objfile arch.
(dwarf2_add_field): Likewise.
(read_tag_pointer_type): Likewise.
(read_base_type): Likewise.
(new_symbol): Likewise.

* coffread.c (decode_type): Add OBJFILE argument.  Update callers.
(decode_base_type, decode_function_type): Likewise.
(coff_read_struct_type, coff_read_enum_type): Likewise.
(coff_symtab_read): Replace current_gdbarch by objfile arch.
(decode_base_type): Likewise.
(coff_read_enum_type): Likewise.
(coff_read_struct_type): Replace current_objfile by OBJFILE argument.
(coff_read_enum_type): Likewise.

* dbxread.c (read_dbx_symtab): Replace current_gdbarch by objfile arch.
(end_psymtab): Likewise.
(process_one_symbol): Likewise.

* mdebugread.c (parse_symbol): Replace current_gdbarch by objfile arch.
(parse_procedure): Likewise.
(parse_partial_symbols): Likewise.

* somread.c (som_symtab_read): Replace current_gdbarch by objfile arch.

* stabsread.c (define_symbol): Replace current_gdbarch by objfile arch.
Replace static pcc_promotion_type and pcc_unsigned_promotion_type by
built-in types.
(read_range_type): Replace current_gdbarch by objfile arch.  Replace
static range_index_type by built-in type.
(read_one_struct_field): Replace current_gdbarch by objfile arch.
(read_enum_type): Likewise.

* xcoffread.c (read_xcoff_symtab): Replace current_gdbarch by
objfile arch.

16 years ago * varobj.h (varobj_floating_p): Declare.
Vladimir Prus [Wed, 26 Mar 2008 14:51:28 +0000 (14:51 +0000)]
* varobj.h (varobj_floating_p): Declare.
* varobj.c (varobj_floating_p): New.
* mi/mi-cmd-var.c (mi_cmd_var_update): When passed
'@' as the name, update all floating varobjs.

16 years agoopcodes:
Bernd Schmidt [Wed, 26 Mar 2008 14:50:52 +0000 (14:50 +0000)]
opcodes:
From  Robin Getz  <robin.getz@analog.com>
* bfin-dis.c (bu32): Typedef.
(enum const_forms_t): Add c_uimm32 and c_huimm32.
(constant_formats[]): Add uimm32 and huimm16.
(fmtconst_val): New.
(uimm32): Define.
(huimm32): Define.
(imm16_val): Define.
(luimm16_val): Define.
(struct saved_state): Define.
(GREG, DPREG, DREG, PREG, SPREG, FPREG, IREG, MREG, BREG, LREG,
A0XREG, A0WREG, A1XREG, A1WREG,CCREG, LC0REG, LT0REG, LB0REG,
LC1REG, LT1REG, LB1REG, RETSREG, PCREG): Define.
(get_allreg): New.
(decode_LDIMMhalf_0): Print out the whole register value.

gas/testsuite:
From Jie Zhang  <jie.zhang@analog.com>
* gas/bfin/load.d: Update.

16 years ago * varobj.c (struct varobj_root): Rename use_selected_frame to
Vladimir Prus [Wed, 26 Mar 2008 14:11:18 +0000 (14:11 +0000)]
* varobj.c (struct varobj_root): Rename use_selected_frame to
floating, and clarify the meaning.
(varobj_create, varobj_update,  new_root_variable): Adjust.
(value_of_root): Don't use type_changed as in variable,
adjust comment.
(c_value_of_root): Adjust.

16 years ago * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
Vladimir Prus [Wed, 26 Mar 2008 13:36:51 +0000 (13:36 +0000)]
* gdb.mi/mi-var-display.exp: Remove obsolete xfail.
* gdb.mi/mi2-var-display.exp: Likewise.

16 years ago * lib/mi-support.exp (mi_create_varobj_checked): New.
Vladimir Prus [Wed, 26 Mar 2008 13:24:22 +0000 (13:24 +0000)]
* lib/mi-support.exp (mi_create_varobj_checked): New.
(mi_list_varobj_children): Allow to check for a
value.
(mi_list_array_varobj_children): New.

* gdb.mi/mi-var-child.exp: Use mi_create_varobj
and mi_list_varobj_children, as opposed to hardcoding
expected strings.
* gdb.mi/gdb701.exp: Likewise.
* gdb.mi/gdb792.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-invalidate.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.

16 years ago * elf32-bfin.c (bfin_final_link_relocate): New function, wrapper around
Bernd Schmidt [Wed, 26 Mar 2008 13:04:23 +0000 (13:04 +0000)]
* elf32-bfin.c (bfin_final_link_relocate): New function, wrapper around
_bfd_final_link_relocate that also handles R_pcrel24 relocs.
(bfinfdpic_relocate_section, bfin_relocate_section): Use it.

16 years ago*** empty log message ***
gdbadmin [Wed, 26 Mar 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 25 Mar 2008 23:00:04 +0000 (23:00 +0000)]
daily update

16 years ago bfd/
Nathan Sidwell [Tue, 25 Mar 2008 18:56:01 +0000 (18:56 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Skip dynamic relocs
in vxworks tls_vars sections.
(allocate_dynrelocs, elf32_arm_size_dynamic_sections): Likewise.
* elf32-i386.c (allocate_dynrelocs,
elf_i386_size_dynamic_sections, elf_i386_relocate_section): Likewise.
* elf32-ppc.c (allocate_dynrelocs, ppc_elf_size_dynamic_sections,
ppc_elf_relocate_section): Likewise.
* elf32-sh.c (allocate_dynrelocs, sh_elf_size_dynamic_sections,
sh_elf_relocate_section): Likewise.
* elfxx-sparc.c (allocate_dynrelocs,
_bfd_sparc_elf_size_dynamic_sections,
_bfd_sparc_elf_relocate_section): Likewise.

ld/testsuite/
* ld-vxworks/tls-3.s: New.
* ld-vxworks/tls-3.d: New.

16 years ago * linux-nat.c (linux_nat_attach): Add the pid we attached to, to
Pedro Alves [Tue, 25 Mar 2008 12:26:21 +0000 (12:26 +0000)]
* linux-nat.c (linux_nat_attach): Add the pid we attached to, to
gdb's thread list.
(linux_nat_wait): Add main lwp to gdb's thread list.
* linux-thread-db.c (find_new_threads_callback): Also attach to
already listed threads which thread_db didn't know about yet.

16 years ago2008-03-25 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Tue, 25 Mar 2008 12:20:10 +0000 (12:20 +0000)]
2008-03-25  Pedro Alves  <pedro@codesourcery.com>

* linux-nat.c (drain_queued_events): Fix comment typo.
(linux_nat_attach): In async mode, don't rely on storing a pending
status.  Instead place the wait status on the pipe.
(linux_nat_resume): Remove unreacheable shortcut code in async
mode.
(stop_wait_callback): In async mode, don't store pending status.
Instead, cancel breakpoints or resend the signal appropriatelly.
(cancel_breakpoint): New, refactored from
cancel_breakpoints_callback.
(cancel_breakpoints_callback): Call cancel_breakpoint.
(pipe_to_local_event_queue): Remove special token processing.
(linux_nat_wait): Issue an internal error if a pending status is
found in async mode.

16 years ago * common.h (NT_GNU_GOLD_VERSION): Define.
Ian Lance Taylor [Tue, 25 Mar 2008 04:58:21 +0000 (04:58 +0000)]
* common.h (NT_GNU_GOLD_VERSION): Define.

16 years agomerge from gcc
DJ Delorie [Tue, 25 Mar 2008 01:02:13 +0000 (01:02 +0000)]
merge from gcc

16 years agoBring patch correction over from gcc repository.
Ian Lance Taylor [Tue, 25 Mar 2008 00:21:18 +0000 (00:21 +0000)]
Bring patch correction over from gcc repository.

16 years ago*** empty log message ***
gdbadmin [Tue, 25 Mar 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * md5.h: Add extern "C" when compiled with C++.
Ian Lance Taylor [Mon, 24 Mar 2008 23:43:26 +0000 (23:43 +0000)]
* md5.h: Add extern "C" when compiled with C++.

16 years agodaily update
Alan Modra [Mon, 24 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoAdd elfcpp, gold directories.
Ben Elliston [Mon, 24 Mar 2008 20:19:41 +0000 (20:19 +0000)]
Add elfcpp, gold directories.

16 years ago * inflow.c (gdb_has_a_terminal): Guard access to our_process_group.
Daniel Jacobowitz [Mon, 24 Mar 2008 18:10:00 +0000 (18:10 +0000)]
* inflow.c (gdb_has_a_terminal): Guard access to our_process_group.

16 years agomerge from gcc
DJ Delorie [Mon, 24 Mar 2008 18:06:37 +0000 (18:06 +0000)]
merge from gcc

16 years ago * varobj.c (struct varobj_root): New component thread_id.
Vladimir Prus [Mon, 24 Mar 2008 17:33:30 +0000 (17:33 +0000)]
    * varobj.c  (struct varobj_root): New component thread_id.
        (varobj_get_thread_id, check_scope): New functions.
        (c_value_of_root): Use check_scope.  Switch to the
proper thread if necessary.

        * varobj.h (varobj_get_thread_id): New extern.

        * mi/mi-cmd-var.c (print_varobj): Add thread-id field.

16 years ago Fix random false FAILs on i386.
Jan Kratochvil [Mon, 24 Mar 2008 15:16:12 +0000 (15:16 +0000)]
Fix random false FAILs on i386.
* gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.

16 years ago PR gdb/544
Daniel Jacobowitz [Mon, 24 Mar 2008 13:27:07 +0000 (13:27 +0000)]
PR gdb/544
* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.

16 years ago PR gdb/544
Jan Kratochvil [Mon, 24 Mar 2008 12:59:51 +0000 (12:59 +0000)]
PR gdb/544
* rltty.c (block_sigint, release_sigint): Rename to...
(_rl_block_sigint, _rl_release_sigint): ...these and make them global.
* rltty.h (_rl_block_sigint, _rl_release_sigint): New prototypes.
* display.c (rl_redisplay): Wrap the function by the calls to
_RL_BLOCK_SIGINT and _RL_RELEASE_SIGINT.

16 years ago*** empty log message ***
gdbadmin [Mon, 24 Mar 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 23 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoRevert 2008-03-21 changes.
Daniel Jacobowitz [Sun, 23 Mar 2008 17:29:34 +0000 (17:29 +0000)]
Revert 2008-03-21 changes.

16 years ago * thread.c (make_cleanup_restore_current_thread): Make it
Vladimir Prus [Sun, 23 Mar 2008 09:53:52 +0000 (09:53 +0000)]
* thread.c (make_cleanup_restore_current_thread): Make it
globally visible.
* gdbthread.h (make_cleanup_restore_current_thread): Declare.
* varobj.c (varobj_update): Don't save/restore frame.
(c_value_of_root): Save/restore thread and frame here,
using make_cleanup_restore_current_thread.
* Makefile.in: Update dependecies.

16 years ago * varobj.c (struct varobj_root): Clarify
Vladimir Prus [Sun, 23 Mar 2008 08:59:19 +0000 (08:59 +0000)]
    * varobj.c (struct varobj_root): Clarify
        comment on the frame field.
        (varobj_create): Don't set frame if we have no
        block.

16 years ago*** empty log message ***
gdbadmin [Sun, 23 Mar 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 22 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 22 Mar 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * filenames.h: Add extern "C" when compiled with C++.
Ian Lance Taylor [Fri, 21 Mar 2008 23:40:18 +0000 (23:40 +0000)]
* filenames.h: Add extern "C" when compiled with C++.

16 years agodaily update
Alan Modra [Fri, 21 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago PR gdb/544
Daniel Jacobowitz [Fri, 21 Mar 2008 21:44:30 +0000 (21:44 +0000)]
PR gdb/544
Suggested by Jan Kratochvil:
* top.c (gdb_rl_operate_and_get_next_completion): Call
rl_redisplay_function.
(gdb_rl_redisplay): New.
(init_main): Set rl_redisplay_function.

* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
fixed PR gdb/544.

16 years ago * aix-thread.c (pdc_read_regs): Fix compiler warning.
Joel Brobecker [Fri, 21 Mar 2008 20:06:58 +0000 (20:06 +0000)]
    * aix-thread.c (pdc_read_regs): Fix compiler warning.
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
        (store_regs_kernel_thread): Likewise.

16 years agogdb/
Pedro Alves [Fri, 21 Mar 2008 17:09:35 +0000 (17:09 +0000)]
gdb/
* target.h (struct target_ops): Delete to_async_mask_value and add
to_async_mask.
(target_is_async_p, target_async): Formatting.
(target_async_mask_value): Delete.
(target_async_mask): Delete function declaration, and add new
target macro with the same name.

* target.c (update_current_target): Replace to_async_mask_value by
to_async_mask.  Default to_async_mask to return_one.
(target_async_mask): Delete.
(find_default_can_async_p, find_default_is_async_p): New.
(init_dummy_target): register find_default_can_async_p and
find_default_is_async_p on the dummy target.

* linux-nat.c: Include inf-loop.h, event-loop.h and event-top.h.
(debug_linux_nat_async): New global.
(show_debug_linux_nat_async): New function.
(linux_nat_async_enabled, linux_nat_async_mask_value)
(linux_nat_event_pipe, linux_nat_num_queued_events)
(linux_nat_async_events_enabled): New globals.
(struct waitpid_result): New struct.
(waitpid_queue): New global.
(queued_waitpid, push_waitpid, drain_queued_events): New.
(my_waitpid): Call queued_waitpid.
(linux_child_follow_fork): Disable async events during the call.
(blocked_mask): Delete.
(sync_sigchld_action, async_sigchld_action): New globals.
(lin_lwp_attach_lwp): In sync mode, don't reblock SIGCHLD.  In
async mode, block events during the call.
(linux_nat_create_inferior): New.
(linux_nat_attach): In sync mode, restore the mask states.  In
async mode, wake the event loop immediatelly.
(detach_callback): Drain all queued events of the lwp we're
detaching from.
(linux_nat_detach): Block async mode, and drain events of the main
process.
(linux_nat_resume): If in async mode, mask async events during the
call.  If short circuiting, force event loop to wake up.  If
resuming, set target_executing, and register target events in the
event loop.
(pipe_to_local_event_queue, local_event_queue_to_pipe): New.
(linux_nat_wait): In async mode, block events during the call.
Only enable/disable passing SIGINT to the inferior in sync mode.
Get events from local waitpid queue.  If no interesting events was
found, return to events loop.  Reregister target events in the
event loop on exit.  In sync mode, no need to reblock SIGCHLD.
(linux_nat_kill): Disable events on entry.
(linux_nat_mourn_inferior): In sync mode, don't restore the masks
here.  Detach async mode from the event loop if there are no more
forks available, otherwise leave it on.
(sigchld_handler): Assure this is called only in sync mode.
(linux_async_permitted, linux_async_permitted_1): New globals.
(set_maintenance_linux_async_permitted)
(show_maintenance_linux_async_permitted): New functions.
(linux_nat_is_async_p, linux_nat_can_async_p)
(linux_nat_async_mask): New.
(linux_nat_event_pipe_pop, linux_nat_event_pipe_push): New.
(get_pending_events, async_sigchld_handler): New.
(linux_nat_async_events): New.
(async_terminal_is_ours): New global.
(linux_nat_terminal_inferior, linux_nat_terminal_ours): New.
(async_client_callback, async_client_context): New.
(linux_nat_async_file_handler, linux_nat_async)
(linux_nat_disable_async, linux_nat_enable_async): New.
(linux_nat_add_target): Register linux_nat_create_inferior,
linux_nat_can_async_p, linux_nat_is_async_p, linux_nat_async,
linux_nat_async_mask, linux_nat_terminal_inferior and
linux_nat_terminal_ours.
(_initialize_linux_nat): Remove local action variable, and update
code that used it to use sync_sigchld_action.  Add new
"lin-lwp-async" debug set/show command.  Put the "lin-lwp" debug
set/show command in the maintenance class.  Add new "linux-async"
maintenance set/show command.  Block SIGCHLD by default.  Setup
async_sichld_action, and sync_sigchld_action.  Install the default
async mode.
(lin_thread_get_thread_signals): Use a local sigset_t for blocking
the cancel signals.

* linux-thread-db.c (re_check_for_thread_db): New.
(clear_lwpid_callback): Handle TARGET_WAITKIND_IGNORE.
(thread_db_can_async_p, thread_db_is_async_p, thread_db_async)
(thread_db_async_mask): New.
(init_thread_db_ops): Register thread_db_can_async_p,
thread_db_is_async_p, thread_db_async and thread_db_async_mask.

* remote.c (remote_async_mask_value): New.
(remote_return_zero): New.
(init_remote_ops): Register remote_return_zero as callbacks of
to_can_async_p and to_is_async_p.
(remote_can_async_p, remote_is_async_p, remote_async): Update to
use remote_async_mask_value.
(remote_async_mask): New.
(init_remote_async_ops): Remove to_async_mask_value setting and
register remote_async_mask as to_async_mask callback in
remote_async_ops.

* Makefile.in (linux-nat.o): Update.

gdb/doc/
* gdb.texinfo (Debugging Output): Document
"set/show debug lin-lwp-async".
(Maintenance Commands): Document "maint set/show linux-async".

16 years ago * elf.c (_bfd_elf_print_private_bfd_data): Use bfd_fprintf_vma to
Adam Nemet [Fri, 21 Mar 2008 16:22:51 +0000 (16:22 +0000)]
* elf.c (_bfd_elf_print_private_bfd_data): Use bfd_fprintf_vma to
print the values from the dynamic section.

16 years ago2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
Daniel Jacobowitz [Fri, 21 Mar 2008 15:44:53 +0000 (15:44 +0000)]
2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>

* gdbthread.h (add_thread_with_info): New.
* linux-thread-db.c: Add some documentation.
(GET_LWP, GET_PID, GET_THREAD, is_lwp, is_thread, BUILD_LWP): Delete.
(struct private_thread_info): Remove th_valid and ti_valid.
Replace ti with tid.
(thread_get_info_callback): Do not add TID to the new ptid.  Do
not cache th or ti.
(thread_db_map_id2thr, lwp_from_thread): Delete functions.
(thread_from_lwp): Assert that the LWP is set.  Do not add TID to the
new PTID.
(attach_thread): Handle an already-existing thread.  Use
add_thread_with_info.  Cache the th and tid.
(detach_thread): Verify that private was set.  Remove verbose
argument and printing.  Update caller.
(thread_db_detach): Do not adjust inferior_ptid.
(clear_lwpid_callback, thread_db_resume, thread_db_kill): Delete.
(check_event, find_new_threads_callback): Do not add TID to the new PTID.
(thread_db_wait): Do not use lwp_from_thread.
(thread_db_pid_to_str): Use the cached TID.
(thread_db_extra_thread_info): Check that private is set.
(same_ptid_callback): Delete.
(thread_db_get_thread_local_address): Do not use it or check
is_thread.  Check that private is set.  Assume that the thread
handle is already cached.
(init_thread_db_ops): Remove to_resume and to_kill.
* thread.c (add_thread_with_info): New.
(add_thread): Use it.
* linux-nat.c (find_thread_from_lwp): Delete.
(exit_lwp): Do not use it.  Check print_thread_events.  Print before
deleting the thread.
(GET_PID, GET_LWP, BUILD_LWP, is_lwp): Move to...
* linux-nat.h (GET_PID, GET_LWP, BUILD_LWP, is_lwp): ...here.
* inf-ttrace.c (inf_ttrace_wait): Use print_thread_events and
printf_unfiltered for thread exits.
* procfs.c (procfs_wait): Likewise.

2008-03-21  Pedro Alves  <pedro@codesourcery.com>

* gdb.threads/fork-child-threads.exp: Test next over fork.

16 years agoCopy this patch over from master gcc repository:
Ian Lance Taylor [Fri, 21 Mar 2008 15:42:41 +0000 (15:42 +0000)]
Copy this patch over from master gcc repository:

* configure.ac: Add support for --enable-gold.
* Makefile.def: Add gold as a directory like ld.
* configure, Makefile.in: Regenerate.

16 years ago2008-03-21 Chris Demetriou <cgd@google.com>
Daniel Jacobowitz [Fri, 21 Mar 2008 15:33:11 +0000 (15:33 +0000)]
2008-03-21  Chris Demetriou  <cgd@google.com>

        * symtab.c (rbreak_command): Quote symbol name before passing
it to break_command.

* gdb.base/break.exp (rbreak junk): New test for rbreak
"Junk at end of arguments" issue.

16 years ago * eval.c (evaluate_subexp_for_address): Clarify error message.
Daniel Jacobowitz [Fri, 21 Mar 2008 15:02:38 +0000 (15:02 +0000)]
* eval.c (evaluate_subexp_for_address): Clarify error message.
Use value_must_coerce_to_target.
* infcall.c (value_arg_coerce): Call value_coerce_to_target.
* valops.c (value_assign): Call value_coerce_to_target when
assigning to anything but internalvars.  Leave GDB-side arrays
as arrays when assigning to internalvars.
(value_must_coerce_to_target, value_coerce_to_target): New.
(value_coerce_array, value_addr): Call value_coerce_to_target.
(value_array): Create the array in GDB's memory instead of
the inferior's.
* value.h (value_must_coerce_to_target, value_coerce_to_target):
Declare.

* gdb.texinfo (Expressions): Update description of malloced arrays.

* gdb.base/printcmds.exp (test_print_array_constants): Do not expect
*& to work on created array elements.
(Top level): Test print $pc with a file.  Test string operations
without a target.
* gdb.base/ptype.exp: Do not expect *& to work on created array
elements.

16 years ago * top.c (quit_confirm): Warn that we will kill the program.
Daniel Jacobowitz [Fri, 21 Mar 2008 14:39:23 +0000 (14:39 +0000)]
* top.c (quit_confirm): Warn that we will kill the program.

* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Update exit query.

16 years ago*** empty log message ***
gdbadmin [Fri, 21 Mar 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 20 Mar 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agobfd/
Richard Sandiford [Thu, 20 Mar 2008 10:52:14 +0000 (10:52 +0000)]
bfd/
* elfxx-mips.c (MIPS_ELF_GNU_GOT1_MASK): New macro.
(_bfd_mips_elf_finish_dynamic_sections): Use it instead of 0x80000000.

ld/testsuite/
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than
bit 31 of the second GOT entry to be set.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.

16 years agobfd/
Alan Modra [Thu, 20 Mar 2008 05:35:10 +0000 (05:35 +0000)]
bfd/
* elf32-spu.c (spu_elf_create_sections): Remove output_bfd parameter.
(spu_elf_find_overlays, spu_elf_size_stubs): Likewise
(process_stubs, discover_functions, build_call_tree): Likewise.
(spu_elf_stack_analysis): Likewise.
(spu_elf_check_vma): Likewise.  Move.
(struct call_info): Make "is_tail" a bitfield.
(insert_callee): Clear fun->start and set fun->is_func if we find
a non-tail call.
* elf32-spu.h (spu_elf_create_sections): Update prototype.
(spu_elf_find_overlays, spu_elf_size_stubs, spu_elf_check_vma): Ditto.
ld/
* emultempl/spuelf.em: Update calls to elf32-spu.c funcs.

16 years ago*** empty log message ***
gdbadmin [Thu, 20 Mar 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 19 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * inflow.c (terminal_ours_1): Guard access to
Pedro Alves [Wed, 19 Mar 2008 14:54:05 +0000 (14:54 +0000)]
* inflow.c (terminal_ours_1): Guard access to
inferior_process_group with #ifdef PROCESS_GROUP_TYPE.

16 years ago2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Wed, 19 Mar 2008 10:29:18 +0000 (10:29 +0000)]
2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z10 added.
(s390_cond_extensions): Reduced extensions to the compare related.
(main): z10 cpu type option added.
(expandConditionalJump): Renamed to ...
(insertExpandedMnemonic): ... this.

* opcodes/s390-opc.c: Re-group the operand format makros.
(INSTR_RIE_RRPU, INSTR_RIE_RRP0, INSTR_RIE_RUPI,
INSTR_RIE_R0PI, INSTR_RIE_RUPU, INSTR_RIE_R0PU, INSTR_RIE_R0IU,
INSTR_RIE_R0I0, INSTR_RIE_R0UU, INSTR_RIE_R0U0,
INSTR_RIE_RRUUU, INSTR_RIS_RURDI, INSTR_RIS_R0RDI, INSTR_RIS_RURDU,
INSTR_RIS_R0RDU, INSTR_RRF_U0RR, INSTR_RRF_00RR, INSTR_RRS_RRRDU,
INSTR_RRS_RRRD0, INSTR_RXY_URRD, INSTR_SIY_IRD, INSTR_SIL_RDI,
INSTR_SIL_RDU): New instruction formats added.
(MASK_RIE_RRPU, MASK_RIE_RRP0, MASK_RIE_RUPI, MASK_RIE_R0PI,
MASK_RIE_RUPU, MASK_RIE_R0PU, MASK_RIE_R0IU, MASK_RIE_R0I0,
MASK_RIE_R0UU, MASK_RIE_R0U0, MASK_RIE_RRUUU, MASK_RIS_RURDI,
MASK_RIS_R0RDI, MASK_RIS_RURDU, MASK_RIS_R0RDU, MASK_RRF_U0RR,
MASK_RRF_00RR, MASK_RRS_RRRDU, MASK_RRS_RRRD0, MASK_RXY_URRD,
MASK_SIY_IRD, MASK_SIL_RDI, MASK_SIL_RDU): New instruction format
masks added.
(s390_opformats): New formats added "ris", "rrs", "sil".
* opcodes/s390-opc.txt: Add the conditional jumps with the
extensions removed from automatic expansion in s390-mkopc.c manually.
(asi - trtre): Add new System z10 EC instructions.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z10 added.

2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/tc-s390.c (md_parse_option): z10 option added.

2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z10.d: New file.
* gas/s390/zarch-z10.s: New file.
* gas/s390/s390.exp: Run the z10 testcases.

16 years ago*** empty log message ***
gdbadmin [Wed, 19 Mar 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 18 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2008-03-18 Ulrich Weigand <uweigand@de.ibm.com>
Ulrich Weigand [Tue, 18 Mar 2008 19:40:47 +0000 (19:40 +0000)]
2008-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
    Jim Blandy  <jimb@codesourcery.com>
    Daniel Jacobowitz  <drow@false.org>

* dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member.
(dwarf2_read_address): Update prototype.

* dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter.
(signed_address_type): Likewise.
(dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE.
(execute_stack_op): Update calls to unsigned_address_type,
signed_address_type and dwarf2_read_address.  Fix implementation
of DW_OP_deref_size.

* dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype.
(dwarf2_per_cu_addr_size): Likewise.
(struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU.
(struct dwarf2_loclist_baton): Likewise.

* dwarf2loc.c (find_location_expression): Update calls to
dwarf2_read_address.  Use dwarf2_per_cu_objfile and
dwarf2_per_cu_addr_size to retrieve PER_CU parameters.
(locexpr_describe_location): Likewise.
(dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter.
Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu).
(dwarf2_loc_desc_needs_frame): Add PER_CU parameter.  Set ctx->addr_size
to dwarf2_per_cu_addr_size (per_cu).
(locexpr_read_variable): Update dwarf2_evaluate_loc_desc call.
(loclist_read_variable): Likewise.
(locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call.

* dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu
instead of baton->objfile.
(dwarf2_per_cu_obfile): New function.
(dwarf2_per_cu_addr_size): Likewise.

* dwarf2-frame.c (struct comp_unit): Move higher.
(struct dwarf2_cie): Add UNIT and ADDR_SIZE members.
(execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size.
(execute_cfa_program): Add FDE parameter.  Replace EH_FRAME_P
parameter by using fde->eh_frame_p.  Use read_encoded_value
to implement DW_CFA_set_loc.
(struct dwarf2_frame_cache): Add ADDR_SIZE member.
(dwarf2_frame_cache): Set cache->addr_size.  Update calls to
execute_stack_op and execute_cfa_program.
(dwarf2_frame_prev_register): Update calls to execute_stack_op.
(size_of_encoded_value): Remove.
(read_encoded_value): Add PTR_LEN and FUNC_BASE parameters.
Remove call to size_of_encoded_value.  Implement DW_EH_PE_funcrel.
(add_cie): Set cie->unit backlink.
(decode_frame_entry_1): Set cie->addr_size.  Update calls to
read_encoded_value.
(dwarf2_build_frame_info): Allocate UNIT on objfile obstack.

16 years ago* generic/gdbtk-interp.c (gdbtk_interpreter_init): New parameter
Maciej W. Rozycki [Tue, 18 Mar 2008 18:43:13 +0000 (18:43 +0000)]
* generic/gdbtk-interp.c (gdbtk_interpreter_init): New parameter
top_level.

16 years agoFix ChangeLog date.
Ralf Wildenhues [Tue, 18 Mar 2008 06:20:40 +0000 (06:20 +0000)]
Fix ChangeLog date.

16 years ago*** empty log message ***
gdbadmin [Tue, 18 Mar 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 17 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * configure.ac: m4_include config/proginstall.m4.
Ralf Wildenhues [Mon, 17 Mar 2008 22:17:33 +0000 (22:17 +0000)]
    * configure.ac: m4_include config/proginstall.m4.
        * configure: Regenerate.
config/
        * proginstall.m4: New file, with fixed AC_PROG_INSTALL.
bfd/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
bfd/doc/
        * Makefile.in: Regenerate.
intl/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
gas/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
        * doc/Makefile.in: Likewise.
ld/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
opcodes/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
binutils/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
        * doc/Makefile.in: Likewise.
gprof/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.

16 years ago * i386-tdep.c (i386_print_insn): Remove unnecessary call to
Markus Deuling [Mon, 17 Mar 2008 19:32:56 +0000 (19:32 +0000)]
* i386-tdep.c (i386_print_insn): Remove unnecessary call to
gdbarch_bfd_arch_info.

16 years ago * aix-thread.c (pdc_read_regs): Minor reformatting.
Joel Brobecker [Mon, 17 Mar 2008 19:00:31 +0000 (19:00 +0000)]
    * aix-thread.c (pdc_read_regs): Minor reformatting.

16 years ago * thread.c (print_thread_info): Don't insist
Vladimir Prus [Mon, 17 Mar 2008 18:41:29 +0000 (18:41 +0000)]
* thread.c (print_thread_info): Don't insist
    on having current thread if there are no
    threads at all.

16 years ago * infcmd.c (attach_command_post_wait)
Pedro Alves [Mon, 17 Mar 2008 17:30:29 +0000 (17:30 +0000)]
* infcmd.c (attach_command_post_wait)
(attach_command_continuation): New.
(attach_command): Support background async execution, and async
execution in synchronous mode.

16 years ago * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
Daniel Jacobowitz [Mon, 17 Mar 2008 15:05:42 +0000 (15:05 +0000)]
* stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
* symmisc.c (dump_symtab_1): Likewise.
* wrapper.c (gdb_value_struct_elt): Likewise.

16 years ago * linux-nat.c (linux_nat_filter_event): Fix comment typo.
Pedro Alves [Mon, 17 Mar 2008 14:54:07 +0000 (14:54 +0000)]
* linux-nat.c (linux_nat_filter_event): Fix comment typo.

16 years ago * linux-nat.c (linux_nat_filter_event): New, refactored from
Pedro Alves [Mon, 17 Mar 2008 14:49:06 +0000 (14:49 +0000)]
* linux-nat.c (linux_nat_filter_event): New, refactored from
linux_nat_wait.
(linux_nat_wait): Call linux_nat_filter_event.

16 years ago * top.c (execute_command): Fix uninitialized variable error.
Ulrich Weigand [Mon, 17 Mar 2008 14:06:11 +0000 (14:06 +0000)]
* top.c (execute_command): Fix uninitialized variable error.

16 years ago*** empty log message ***
gdbadmin [Mon, 17 Mar 2008 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 16 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agobfd/
H.J. Lu [Sun, 16 Mar 2008 22:26:23 +0000 (22:26 +0000)]
bfd/

2008-03-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5789
PR ld/5943
* elf32-i386.c  (elf_i386_relocate_section): Issue an error
for R_386_GOTOFF relocaton against undefined hidden/internal
symbols when building a shared object.

* elf64-x86-64.c (elf64_x86_64_relocate_section): Issue an
error for R_X86_64_PC8/R_X86_64_PC16/R_X86_64_PC32
relocaton against undefined hidden/internal symbols when
building a shared object.
(elf64_x86_64_finish_dynamic_symbol): Return FALSE when symbol
is referenced locally, but isn't defined in a regular file.

ld/testsuite/

2008-03-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5789
PR ld/5943
* ld-i386/hidden1.d: New.
* ld-i386/hidden1.s: Likewise.
* ld-i386/hidden2.d: Likewise.
* ld-i386/hidden2.s: Likewise.
* ld-i386/hidden3.d: Likewise.
* ld-i386/hidden4.s: Likewise.
* ld-i386/protected1.d: Likewise.
* ld-i386/protected1.s: Likewise.
* ld-i386/protected2.d: Likewise.
* ld-i386/protected2.s: Likewise.
* ld-i386/protected3.d: Likewise.
* ld-i386/protected3.s: Likewise.
* ld-x86-64/hidden1.d: Likewise.
* ld-x86-64/hidden1.s: Likewise.
* ld-x86-64/hidden2.d: Likewise.
* ld-x86-64/hidden2.s: Likewise.
* ld-x86-64/hidden3.d: Likewise.
* ld-x86-64/hidden3.s: Likewise.
* ld-x86-64/protected1.d: Likewise.
* ld-x86-64/protected1.s: Likewise.
* ld-x86-64/protected2.d: Likewise.
* ld-x86-64/protected2.s: Likewise.
* ld-x86-64/protected3.d: Likewise.
* ld-x86-64/protected3.s: Likewise.

* ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1,
protected2 and protected3.
* ld-x86-64/x86-64.exp: Likewise.

16 years ago * Makefile.in (amd64nbsd-nat.o): New dependency.
Nick Hudson [Sun, 16 Mar 2008 08:50:43 +0000 (08:50 +0000)]
    * Makefile.in (amd64nbsd-nat.o): New dependency.
        * amd64nbsd-nat.c: Include "nbsd-nat.h".
        (_initialize_amd64nbsd_nat): Update target vector to use
        nbsd_pid_to_exec_file.
        * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.

16 years ago2008-03-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 16 Mar 2008 06:53:48 +0000 (06:53 +0000)]
2008-03-15  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in.h (BFD_NO_FLAGS, HAS_RELOC, EXEC_P, HAS_LINENO,
HAS_DEBUG, HAS_SYMS, HAS_LOCALS, DYNAMIC, WP_TEXT, D_PAGED,
BFD_IS_RELAXABLE, BFD_TRADITIONAL_FORMAT, BFD_IN_MEMORY,
HAS_LOAD_PAGE, BFD_LINKER_CREATED): Moved to ...
* bfd.c: Here.

* bfd.c (bfd): Change cacheable, target_defaulted, opened_once,
mtime_set, no_export, output_has_begun and has_armap to bit
field.

* bfd-in2.h: Regenerated.

16 years ago2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues [Sun, 16 Mar 2008 06:49:28 +0000 (06:49 +0000)]
2008-03-16  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

Backport from upstream Libtool:

2007-10-12  Eric Blake  <ebb9@byu.net>

Deal with Autoconf 2.62's semantic change in m4_append.
* ltsugar.m4 (lt_append): Replace broken versions of
m4_append.
(lt_if_append_uniq): Don't require separator to be overquoted,
and avoid broken m4_append.
(lt_dict_add): Fix typo.
* libtool.m4 (_LT_DECL): Don't overquote separator.

16 years ago*** empty log message ***
gdbadmin [Sun, 16 Mar 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 15 Mar 2008 23:00:05 +0000 (23:00 +0000)]
daily update