OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years agodaily update
amodra [Fri, 25 Nov 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago2011-11-25  Uros Bizjak  <ubizjak@gmail.com>
uweigand [Fri, 25 Nov 2011 17:05:36 +0000 (17:05 +0000)]
2011-11-25  Uros Bizjak  <ubizjak@gmail.com>

* alpha-tdep.c (br_opcode): New.
(ldl_l_opcode, ldq_l_opcode, stl_c_opcode, stq_c_opcode): Ditto.
(alpha_deal_with_atomic_sequence): New function.
(alpha_gdbarch_init): Handle single stepping of atomic sequences
with alpha_deal_with_atomic_sequence.

12 years ago * mips-dis.c (print_insn_micromips): Rename local variable iprintf
muller [Fri, 25 Nov 2011 15:21:29 +0000 (15:21 +0000)]
* mips-dis.c (print_insn_micromips): Rename local variable iprintf
to infprintf to avoid shadow warning.

12 years ago * gas/config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg when no CPU
mgretton [Fri, 25 Nov 2011 15:17:35 +0000 (15:17 +0000)]
* gas/config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg when no CPU
is specified.
* gas/testsuite/gas/arm/mov-highregs-any.d: New testcase.
* gas/testsuite/gas/arm/mov-highregs-any.s: Likewise.
* gas/testsuite/gas/arm/mov-lowregs-any.d: Likewise.
* gas/testsuite/gas/arm/mov-lowregs-any.s: Likewise.

12 years ago * emultempl/armelf.em: Update copyright to 2010 and 2011.
nickc [Fri, 25 Nov 2011 15:04:08 +0000 (15:04 +0000)]
* emultempl/armelf.em: Update copyright to 2010 and 2011.
(PARSE_AND_LIST_OPTIONS): Fix formatting.

12 years ago * binutils-all/objdump.exp (cpus): Add MicroBlaze.
nickc [Fri, 25 Nov 2011 14:47:47 +0000 (14:47 +0000)]
* binutils-all/objdump.exp (cpus): Add MicroBlaze.
(objdump -WL): Skip this test on MCore, Moxie and OpenRisc
targets.

* binutils-all/objcopy.exp (localize-hidden-1): Expect this test
to fail on MIPS based targets.

12 years ago * po/it.po: Updated Italian translation.
nickc [Fri, 25 Nov 2011 09:19:07 +0000 (09:19 +0000)]
* po/it.po: Updated Italian translation.

12 years ago * po/it.po: New Italian translation.
nickc [Fri, 25 Nov 2011 09:15:25 +0000 (09:15 +0000)]
* po/it.po: New Italian translation.

12 years ago2011-11-24 Stan Shebs <stan@codesourcery.com>
shebs [Fri, 25 Nov 2011 04:41:15 +0000 (04:41 +0000)]
2011-11-24  Stan Shebs  <stan@codesourcery.com>

* tracepoint.c (cmd_qtstatus): Use plongest instead of %llx.

12 years ago*** empty log message ***
gdbadmin [Fri, 25 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Thu, 24 Nov 2011 23:00:06 +0000 (23:00 +0000)]
daily update

12 years ago* strace.cc (attach_process): Use NT_SUCCESS to figure out if
cgf [Thu, 24 Nov 2011 21:54:41 +0000 (21:54 +0000)]
* strace.cc (attach_process): Use NT_SUCCESS to figure out if
NtSetInformationProcess succeeded.
(handle_output_debug_string): Put back DebugActiveProcess since it seems to
still be needed (on my system at least).  Detect new format
_STRACE_INTERFACE_ACTIVATE_ADDR which informs whether this is a forked process
or not.  Use that to decide if forkdebug should be handled.

12 years agomissed this in previous checkin
cgf [Thu, 24 Nov 2011 21:38:17 +0000 (21:38 +0000)]
missed this in previous checkin

12 years ago* cygthread.h (cygthread::name): Default name to "main" if we are early in the
cgf [Thu, 24 Nov 2011 21:36:52 +0000 (21:36 +0000)]
* cygthread.h (cygthread::name): Default name to "main" if we are early in the
process of setting up the DLL and no name is known.
* dcrt0.cc (initial_env): Remove CYGWIN_SLEEP stuff.
(get_cygwin_startup_info): Activate strace here as appropriate.
(dll_crt0_0): Move get_cygwin_startup_info as early as possible to avoid
missing strace output.
* fork.cc (frok::child): Move debugging statement to point where ppid will be
set.
* pinfo.cc (pinfo::thisproc): Remove obsolete call to strace.hello.  Tweak
debug output slightly.
* select.cc (select_stuff::wait): Allow APCS to be triggered while waiting
since we use them now.  Report when that happens.
* sigproc.cc (child_info::child_info): Use strace.active() rather than
strace.attached().
* spawn.cc (child_info_spawn::worker): Only write strace child pid when we know
it's a cygwin process.  Accommodate change to write_child argument list.
* strace.cc (strace::hello): Delete.  Move functionality...
(strace::activate): ...to here.
(mypid): Just use raw GetCurrentProcessId () if myself isn't set.
(strace::write_childpid): Don't wait for subproc_ready.  Remove arg which was
required for it.
* include/sys/strace.h (strace::hello): Delete.
(strace::write_childpid): Delete first argument.

12 years ago2011-11-24 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 24 Nov 2011 16:26:17 +0000 (16:26 +0000)]
2011-11-24  Tristan Gingold  <gingold@adacore.com>

* machoread.c (oso_el): Remove num_Sections, symbols, offsets
fields.  Add oso_sym, end_sym and nbr_syms.
(macho_register_oso): Change interface.
(macho_symtab_add_minsym): New function.
(macho_symtab_read): Rewritten.
(get_archive_prefix_len): Remove trailing blanks.
(oso_el_compare_name): Add comment.
(struct macho_sym_hash_entry): New structure.
(macho_relocate_common_syms): Remove.
(macho_sym_hash_newfunc): New function.
(macho_resolve_oso_sym_with_minsym): Likewise.
(macho_add_oso_symfile): Rewritten.
(macho_symfile_read_all_oso): Remove trailing blanks.
Adjust code to free oso vector.
(macho_symfile_read): Likewise.
Move code to initialize minimal symbol

12 years ago * mips-tdep.c (extended_offset): Fix formatting.
macro [Thu, 24 Nov 2011 15:56:22 +0000 (15:56 +0000)]
* mips-tdep.c (extended_offset): Fix formatting.

12 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Reset for previous changes.
cgf [Thu, 24 Nov 2011 02:17:53 +0000 (02:17 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset for previous changes.
* dcrt0.cc (get_cygwin_startup_info): Signal readiness when stracing since
strace::write_child relies on it.  Use strace.activate to notify strace
process, passing in arg indicating whether we're forked.
* sigproc.cc (wait_sig): Accommodate new strace::activate argument.
* spawn.cc (child_info_spawn::worker): Oops.  Previous suspended test was
actually correct.  Revert and document.
* strace.cc (strace::activate): Send additional flag indicating whether this is
an attempt to activate a forked process.
(strace::hello): Report on windows pid.
* include/sys/strace.h (strace::strace): Make a dummy.
(strace::activate): Modify declaration to accept an argument.
(strace::write_childpid): Set regparm.

12 years ago*** empty log message ***
gdbadmin [Thu, 24 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Wed, 23 Nov 2011 23:00:06 +0000 (23:00 +0000)]
daily update

12 years ago* pipe.cc (fhandler_pipe::create): Avoid derefencing a NULL pointer.
cgf [Wed, 23 Nov 2011 21:58:42 +0000 (21:58 +0000)]
* pipe.cc (fhandler_pipe::create): Avoid derefencing a NULL pointer.
* child_info.h (child_info): Reorganize some elements so that the ones which
are initialized in a constructor are all together.
* sigproc.cc (child_info::child_info): Initialize values via the constructor
rather than as C statements and make sure that flags is set to zero initially.
* spawn.cc (child_info_spawn::worker): Use iscygwin() test for determining when
to send strace info since it is more foolproof than checking the suspend state.

12 years ago * lib/mi-support.exp (varobj_tree): New namespace and procs.
kseitz [Wed, 23 Nov 2011 21:02:54 +0000 (21:02 +0000)]
* lib/mi-support.exp (varobj_tree): New namespace and procs.
(mi_varobj_tree_test_children_callback): New proc.
(mi_walk_varobj_tree): New proc.

12 years ago * dwarf2read.c (dw2_lookup_symtab): Add comment.
devans [Wed, 23 Nov 2011 19:55:42 +0000 (19:55 +0000)]
* dwarf2read.c (dw2_lookup_symtab): Add comment.
(dw2_expand_symtabs_with_filename): Ditto.
(dw2_expand_symtabs_matching): Ditto.
(dw2_map_symbol_filenames): Ditto.

12 years agoMinor reformatting in ada-lang.c:assign_aggregate
brobecke [Wed, 23 Nov 2011 19:54:18 +0000 (19:54 +0000)]
Minor reformatting in ada-lang.c:assign_aggregate

No code change.

gdb/ChangeLog:

        From Andrey Smirnov <andrew.smirnov@gmail.com>:
        * ada-lang.c (assign_aggregate): Minor reformatting.

12 years agofix -Wshadow warning inside ada-lang.c:assign_aggregate
brobecke [Wed, 23 Nov 2011 19:54:08 +0000 (19:54 +0000)]
fix -Wshadow warning inside ada-lang.c:assign_aggregate

gdb/ChangeLog:

        From Andrey Smirnov <andrew.smirnov@gmail.com>:
        * ada-lang.c (assign_aggregate): Remove declaration of local
        variable `i' which is shadowing another variable with the same
        name declared in the outer scope.

12 years agoada-lang.c: Rename function base_type into get_base_type
brobecke [Wed, 23 Nov 2011 19:21:11 +0000 (19:21 +0000)]
ada-lang.c: Rename function base_type into get_base_type

This avoids shadowing issues with variables named base_type.

gdb/ChangeLog:

        * ada-lang.c (get_base_type): Renames base_type.  Adjust all
        calls throughout this file.

12 years ago* fhandler.h (fhandler_pipe::create): Rename from the misnamed
cgf [Wed, 23 Nov 2011 18:56:56 +0000 (18:56 +0000)]
* fhandler.h (fhandler_pipe::create): Rename from the misnamed
"create_selectable".  Change return to DWORD.
(fhandler_pty_common::pipesize): New constant.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Reflect create_selectable
name change.
* miscfuncs.cc (CreatePipeOverlapped): Ditto.
* pipe.cc (fhandler_pipe::create): Ditto.
(fhandler_pipe::create): Rename from the misnamed "create_selectable".  Return
DWORD.  Only set pipe size to default when it is passed in as zero.
* fhandler_tty.cc (fhandler_pty_master::setup): Ditto.  Use
fhandler_pty_common::pipesize rather than a raw constant.
* tty.cc (tty::not_allocated): Ditto.
* sigproc.cc (sigproc_init): Use create_selectable to create the signal pipe to
get a more appropriate message based pipe.

12 years agoFix compilation error in gdb-dlfcn.c (on Windows)
brobecke [Wed, 23 Nov 2011 17:24:00 +0000 (17:24 +0000)]
Fix compilation error in gdb-dlfcn.c (on Windows)

gdb/ChangeLog:

        * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to
        FormatMessage.

12 years ago2011-11-23 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 23 Nov 2011 11:32:41 +0000 (11:32 +0000)]
2011-11-23  Tristan Gingold  <gingold@adacore.com>

* config/tc-alpha.c (s_alpha_prologue): Requires empty line.

12 years ago2011-11-23 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 23 Nov 2011 11:27:50 +0000 (11:27 +0000)]
2011-11-23  Tristan Gingold  <gingold@adacore.com>

* config/tc-alpha.c (s_alpha_frame): Emit a warning if bad value
of RA.
(s_alpha_pdesc): Adjust comment.

12 years ago2011-11-23 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 23 Nov 2011 11:22:21 +0000 (11:22 +0000)]
2011-11-23  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (get_idxlen): Add comments.  Fix type in sizeof.
(vms_write_index): Add comments.

12 years ago2011-11-23 Thomas Klein <th.r.klein@web.de>
rearnsha [Wed, 23 Nov 2011 10:50:52 +0000 (10:50 +0000)]
2011-11-23  Thomas Klein  <th.r.klein@web.de>

* config/tc-arm.c (do_t_mov_cmp): Prevent emitting code for MOV
with two low register at arch v4t or v5t when assember using
unified syntax.

12 years ago*** empty log message ***
gdbadmin [Wed, 23 Nov 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Tue, 22 Nov 2011 23:00:04 +0000 (23:00 +0000)]
daily update

12 years agogdb
tromey [Tue, 22 Nov 2011 21:25:17 +0000 (21:25 +0000)]
gdb
PR mi/8444:
* mi/mi-common.h (EXEC_ASYNC_SOLIB_EVENT, EXEC_ASYNC_FORK)
(EXEC_ASYNC_VFORK, EXEC_ASYNC_SYSCALL_ENTRY)
(EXEC_ASYNC_SYSCALL_RETURN, EXEC_ASYNC_EXEC): New constants.
* mi/mi-common.c (async_reason_string_lookup): Add new reasons.
* breakpoint.c (print_it_catch_fork, print_it_catch_vfork)
(print_it_catch_syscall, print_it_catch_exec)
(internal_bkpt_print_it): Use ui_out.  Emit stop reason.
(bpstat_print): Add 'kind' argument.  Handle
TARGET_WAITKIND_LOADED.
* infrun.c (normal_stop): Update for bpstat_print change.  Don't
handle TARGET_WAITKIND_LOADED here.
* breakpoint.h (bpstat_print): Update.
gdb/testsuite
* lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
Add "use_mi_command" argument.
(mi_run_cmd, mi_run_with_cli): New procs.
* gdb.mi/solib-lib.c: New file.
* gdb.mi/solib-main.c: New file.
* gdb.mi/mi-solib.exp: New file.
gdb/doc
* gdb.texinfo (GDB/MI Async Records): Document new *stopped
reasons.

12 years ago * mi/mi-interp.c (mi_on_normal_stop): Call bpstat_print.
tromey [Tue, 22 Nov 2011 21:21:53 +0000 (21:21 +0000)]
* mi/mi-interp.c (mi_on_normal_stop): Call bpstat_print.

12 years ago * mi/mi-common.c (_initialize_gdb_mi_common): Remove.
tromey [Tue, 22 Nov 2011 21:18:36 +0000 (21:18 +0000)]
* mi/mi-common.c (_initialize_gdb_mi_common): Remove.
Use static_assert to check the size of
async_reason_string_lookup.
* common/gdb_assert.h (static_assert): New macro.

12 years ago* elf32-rx.c (rx_elf_object_p): Add more checks for "scanning" to
dj [Tue, 22 Nov 2011 19:50:35 +0000 (19:50 +0000)]
* elf32-rx.c (rx_elf_object_p): Add more checks for "scanning" to
avoid using the special non-swapping target when not explicitly
requested.

12 years ago* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
dj [Tue, 22 Nov 2011 19:46:19 +0000 (19:46 +0000)]
* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.

12 years ago2011-11-22 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 22 Nov 2011 10:47:50 +0000 (10:47 +0000)]
2011-11-22  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_print_symbol): Display COM for common
symbols.  Print section name in brackets.

12 years ago * rs6000-tdep.c (ppc_deal_with_atomic_sequence): Correct branch
amodra [Tue, 22 Nov 2011 08:19:16 +0000 (08:19 +0000)]
* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Correct branch
destination calculation.  Don't expect >> to sign extend.  Don't
add a break if branch lands inside the sequence anywhere.

12 years ago*** empty log message ***
gdbadmin [Tue, 22 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Mon, 21 Nov 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * gdb.mi/mi-var-display.exp: Remove XFAIL for c_variable-7.51,
kseitz [Mon, 21 Nov 2011 21:53:49 +0000 (21:53 +0000)]
* gdb.mi/mi-var-display.exp: Remove XFAIL for c_variable-7.51,
-var-evaluate-expression of an enumeration and fix expected result.
* gdb.mi/mi2-varvdisplay.exp: Likewise.

12 years ago* sigproc.cc (remove_proc): Don't do busy loop when exiting since it doesn't
cgf [Mon, 21 Nov 2011 21:09:31 +0000 (21:09 +0000)]
* sigproc.cc (remove_proc): Don't do busy loop when exiting since it doesn't
matter.

12 years ago* sigproc.cc (remove_proc): Don't do busy loop when execing since thread could
cgf [Mon, 21 Nov 2011 19:13:29 +0000 (19:13 +0000)]
* sigproc.cc (remove_proc): Don't do busy loop when execing since thread could
have been terminated prior to setting flag.
* signal.cc (sigwaitinfo): Zero event before closing to signal other threads
that it is no longer available.

12 years ago * gdb.cp/nextoverthrow.exp: Skip test if debug info for
devans [Mon, 21 Nov 2011 17:34:16 +0000 (17:34 +0000)]
* gdb.cp/nextoverthrow.exp: Skip test if debug info for
_Unwind_DebugHook is missing.

12 years ago* config/rl78-defs.h (rl78_error): Add "const".
dj [Mon, 21 Nov 2011 17:10:31 +0000 (17:10 +0000)]
* config/rl78-defs.h (rl78_error): Add "const".
* config/rl78-parse.y (rl78_error): Likewise.

12 years ago2011-11-21 Kwok Cheung Yeung <kcy@codesourcery.com>
kcy [Mon, 21 Nov 2011 16:54:28 +0000 (16:54 +0000)]
2011-11-21  Kwok Cheung Yeung  <kcy@codesourcery.com>

        * osdata.c (info_osdata_command): Rename nprocs to nrows.  Handle
        the case where osdata->items is empty.  Rename column names to a
        canonical form to avoid problems with unusual column names.

12 years ago * Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
amodra [Mon, 21 Nov 2011 13:22:41 +0000 (13:22 +0000)]
* Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
source.
(eelf64ppc_fbsd.c): Add rules to build this file.
* Makefile.in: Regenerate.
* configure.tgt: Add target definition for powerpc64-*-freebsd*.
Adjust powerpc-*-freebsd*.
* emultempl/ppc64elf.em: Add a mechanism to override the default
value of 0 for plt_static_chain.
* emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default.
* emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise.
(DEFAULT_PLT_STATIC_CHAIN): Define to 1.

12 years ago * config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.
amodra [Mon, 21 Nov 2011 13:19:32 +0000 (13:19 +0000)]
* config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.

12 years ago * config.bfd: Add vectors for powerpc and powerpc64-freebsd.
amodra [Mon, 21 Nov 2011 13:18:06 +0000 (13:18 +0000)]
* config.bfd: Add vectors for powerpc and powerpc64-freebsd.
* configure.in (TDEFINES): Add rules for powerpc*-freebsd.
* configure: Regenerate.
* elf32-ppc.c: Add powerpc-freebsd definitions.
* elf64-ppc.c: Add powerpc64-freebsd definitions.
* targets.c: Add bits for powerpc and powerpc64-freebsd.

12 years ago * gas/mips/micromips@24k-branch-delay-1.d: New test.
macro [Mon, 21 Nov 2011 11:18:28 +0000 (11:18 +0000)]
* gas/mips/micromips@24k-branch-delay-1.d: New test.
* gas/mips/micromips@24k-triple-stores-1.d: New test.
* gas/mips/micromips@24k-triple-stores-2.d: New test.
* gas/mips/micromips@24k-triple-stores-3.d: New test.
* gas/mips/micromips@24k-triple-stores-4.d: New test.
* gas/mips/micromips@24k-triple-stores-5.d: New test.
* gas/mips/micromips@24k-triple-stores-6.d: New test.
* gas/mips/micromips@24k-triple-stores-7.d: New test.
* gas/mips/micromips@24k-triple-stores-8.d: New test.
* gas/mips/micromips@24k-triple-stores-9.d: New test.
* gas/mips/micromips@24k-triple-stores-10.d: New test.
* gas/mips/micromips@24k-triple-stores-11.d: New test.
* gas/mips/24k-triple-stores-1.s: Adjust for microMIPS
disassembly.
* gas/mips/24k-triple-stores-2.s: Likewise.
* gas/mips/24k-triple-stores-3.s: Likewise.
* gas/mips/24k-triple-stores-4.s: Likewise.
* gas/mips/24k-triple-stores-5.s: Likewise.
* gas/mips/24k-triple-stores-6.s: Likewise.
* gas/mips/24k-triple-stores-7.s: Likewise.
* gas/mips/24k-triple-stores-8.s: Likewise.
* gas/mips/24k-triple-stores-9.s: Likewise.
* gas/mips/24k-triple-stores-10.s: Likewise.
* gas/mips/24k-triple-stores-11.s: Likewise.
* gas/mips/mips.exp: Run the new tests.

12 years ago * gas/mips/micromips@loc-swap-2.d: Correct test case.
macro [Mon, 21 Nov 2011 11:12:40 +0000 (11:12 +0000)]
* gas/mips/micromips@loc-swap-2.d: Correct test case.

12 years ago * faq-using.xml (faq.using.weirdchars): Rewrite.
corinna [Mon, 21 Nov 2011 09:16:23 +0000 (09:16 +0000)]
* faq-using.xml (faq.using.weirdchars): Rewrite.

12 years agogdb/
qiyao [Mon, 21 Nov 2011 02:58:39 +0000 (02:58 +0000)]
gdb/
* MAINTAINERS (Write After Approval): Keep list in alphabetical order.

12 years agoFix a 32-bit compile error in the previous checkin
shebs [Mon, 21 Nov 2011 00:43:48 +0000 (00:43 +0000)]
Fix a 32-bit compile error in the previous checkin

12 years ago*** empty log message ***
gdbadmin [Mon, 21 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * NEWS: Mention tracepoint additions.
shebs [Sun, 20 Nov 2011 23:59:46 +0000 (23:59 +0000)]
* NEWS: Mention tracepoint additions.
* breakpoint.h (struct tracepoint): New field traceframe_usage.
* breakpoint.c (print_one_breakpoint_location): Identify
tracepoints as such when reporting hit counts, report
trace buffer usage.
(create_tracepoint_from_upload): Copy status info.
* tracepoint.h (struct trace_status): Rename error_desc to stop_desc,
add fields user_name, notes, start_time, stop_time.
(struct uploaded_tp): Add fields hit_count, traceframe_usage.
* tracepoint.c (trace_user): New global.
(trace_notes): New global.
(trace_stop_notes): New global.
(start_tracing): Add argument and trace note handling.
(stop_tracing): Ditto.
(trace_start_command): Add notes argument.
(trace_stop_command): Ditto.
(trace_status_command): Report additional status info.
(trace_status_mi): Similarly.
(trace_save): Update, record tracepoint status.
(set_disconnected_tracing): Call target method directly.
(send_disconnected_tracing_value): Remove.
(set_trace_user): New function.
(set_trace_notes): New function.
(set_trace_stop_notes): New function.
(parse_trace_status): Handle additional status.
(parse_tracepoint_status): New function.
(parse_tracepoint_definition): Call it.
(tfile_get_tracepoint_status): New function.
(init_tfile_ops): Use it.
(_initialize_tracepoint): Add new setshows.
* target.h (struct target_ops): New methods to_get_tracepoint_status
and to_set_trace_notes.
(target_get_tracepoint_status): New macro.
(target_set_trace_notes): New macro.
* target.c (update_current_target): Add new methods.
* remote.c (remote_get_tracepoint_status): New function.
(remote_set_trace_notes): New function.
(init_remote_ops): Add them.
* mi/mi-main.c (mi_cmd_trace_start): Add argument to call.
(mi_cmd_trace_stop): Ditto.

* tracepoint.c (struct tracepoint): New field traceframe_usage.
(tracing_start_time): New global.
(tracing_stop_time): New global.
(tracing_user_name): New global.
(tracing_notes): New global.
(tracing_stop_note): New global.
(cmd_qtstart): Set traceframe_usage, start_time.
(stop_tracing): Set stop_time.
(cmd_qtstatus): Report additional status.
(cmd_qtp): New function.
(handle_tracepoint_query): Call it.
(cmd_qtnotes): New function.
(handle_tracepoint_general_set): Call it.
(get_timestamp): Rename from tsv_get_timestamp.

* gdb.texinfo (Starting and Stopping Trace Experiments): Document
note-related options and variables.
(Tracepoint Packets): Document packet changes.

* gdb.trace/tstatus.exp: New.
* gdb.trace/actions.c: Include string.h.

12 years agodaily update
amodra [Sun, 20 Nov 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years agogdb/doc/
sanjoyd [Sun, 20 Nov 2011 09:20:59 +0000 (09:20 +0000)]
gdb/doc/
* gdb.texinfo (JIT Interface): Add documentation on writing and
usind JIT debug info readers.
(Custom Debug Info, Using JIT Debug Info Readers, Writing JIT
Debug Info Readers): New nodes.

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 09:18:48 +0000 (09:18 +0000)]
gdb/
* jit.c: Include regcache.h.
(jit_gdbarch_data, jit_frame_unwind): New static variables.
(jit_unwind_reg_set_impl, free_reg_value_impl)
(jit_unwind_reg_get_impl, jit_frame_sniffer)
(jit_frame_unwind_stop_reason, jit_frame_this_id)
(jit_frame_prev_register, jit_dealloc_cache)
(jit_prepend_unwinder, jit_gdbarch_data_init): New functions.
(jit_inferior_init): Prepend (new) pseudo unwinder by calling
jit_prepend_unwinder.
(_initialize_jit): Register new gdbarch data jit_gdbarch_data.

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 09:14:45 +0000 (09:14 +0000)]
gdb/
* jit.c: Include block.h, dictionary.h and frame-unwind.h.
(add_objfile_entry, jit_target_read_impl, jit_object_open_impl)
(jit_symtab_open_impl, compare_block, jit_block_open_impl)
(jit_symtab_line_mapping_add_impl, jit_symtab_close_impl)
(finalize_symtab, jit_object_close_impl)
(jit_reader_try_read_symtab, jit_bfd_try_read_symtab)
(free_objfile_data): New functions.
(_initialize_jit): Register jit_objfile_data with a proper cleanup
function.

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 09:09:56 +0000 (09:09 +0000)]
gdb/
* jit.c: Include gdb-dlfcn.h.
(loaded_jit_reader, reader_init_fn_sym): New static variables.
(jit_reader_load, jit_reader_load_command)
(jit_reader_unload_command): New functions.
(_initialize_jit): Add commands "jit-reader-load" and
"jit-reader-unload".

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 08:59:56 +0000 (08:59 +0000)]
gdb/
* Makefile.in: Add gdb-dlfcn.c and gdb-dlfcn.h to build system.
* config.in: Add new #define HAVE_LIBDL.
* configure.ac: Add check for -ldl.
* configure: Re-generated by autoconf.
* gdb-dlfcn.c: New file.
* gdb-dlfcn.h: New file.

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 08:53:24 +0000 (08:53 +0000)]
gdb/
* config.in: Add new #defines: JIT_READER_DIR and
JIT_READER_DIR_RELOCATABLE.
* configure.ac: New GDB directory entry for jit-reader-dir.
* configure: Re-generated by autoconf.
* jit.c: New static variable: const char *jit_reader_dir.
(_initialize_jit): Relocate jit_reader_dir.

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 08:30:57 +0000 (08:30 +0000)]
gdb/
* Makefile.in: Add jit-reader.h as a header.  Have it installed in
$(includedir)/gdb.
* configure.ac: Generate a correct value for TARGET_PTR for
jit-reader.h.  Tell configure to generate jit-reader.h from
jit-reader.in.
* configure: Re-generated by autoconf.
* jit-reader.in: New file.
* jit.c: Include jit-reader.h.

12 years agogdb/
sanjoyd [Sun, 20 Nov 2011 08:09:49 +0000 (08:09 +0000)]
gdb/
* MAINTAINERS (Write After Approval): Add myself to the list.

12 years ago*** empty log message ***
gdbadmin [Sun, 20 Nov 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sat, 19 Nov 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 19 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 18 Nov 2011 23:00:06 +0000 (23:00 +0000)]
daily update

12 years ago * findvar.c (read_frame_register_value): Respect value_offset
uweigand [Fri, 18 Nov 2011 20:03:39 +0000 (20:03 +0000)]
* findvar.c (read_frame_register_value): Respect value_offset
of the register value.  Remove big-endian special case.

12 years ago * shared.cc (get_shared_parent_dir): Use global shared_parent_dir
corinna [Fri, 18 Nov 2011 17:38:03 +0000 (17:38 +0000)]
* shared.cc (get_shared_parent_dir): Use global shared_parent_dir
instead of local dir variable and create handle not inheritable to
avoid accumulating stray handles in child processes.
(get_session_parent_dir): Ditto with session_parent_dir variable.

12 years ago PR build/7196:
tromey [Fri, 18 Nov 2011 15:38:58 +0000 (15:38 +0000)]
PR build/7196:
* remote.c (putpkt_for_catch_errors): New function.
(remote_kill): Use it.

12 years ago * faq-using.xml (faq.using.converting-paths): Remove reference to
corinna [Fri, 18 Nov 2011 11:39:31 +0000 (11:39 +0000)]
* faq-using.xml (faq.using.converting-paths): Remove reference to
cygwin.bat.
(faq.using.emacs): Drop "CYGWIN=tty" setting.
* pathnames.sgml (pathnames-posixdevices): Align list of device names
with changes in 1.7.10.
* setup2.sgml (setup-env-ov): Drop text which assumes that Cygwin
processes are started in console window.  Align wording to lessened
relevance of $CYGWIN.  Don't use dropped CYGWIN setting in example.
(setup-locale-how): Put using console and Cygwin.bat file into
perspective.
(setup-locale-problems): Ditto.

12 years agogdb/
qiyao [Fri, 18 Nov 2011 01:21:33 +0000 (01:21 +0000)]
gdb/
* breakpoint.c (create_breakpoint): Produce query message according to
breakpoint's type.
Allocate tracepoint per correct type.
Don't check SALs for pending fast tracepoints.
* tracepoint.c (process_tracepoint_on_disconnect): New.
(disconnect_tracing): Call process_tracepoint_on_disconnect.

gdb/doc/
* gdb.texinfo (Create and Delete Tracepoints): Mention pending
tracepoint.

gdb/testsuite/
* gdb.trace/pending.exp: New.
* gdb.trace/pending.c: New.
* gdb.trace/pendshr1.c: New.
* gdb.trace/pendshr2.c: New.
* gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
tracepoint location becomes pending.
(tracepoint_change_loc_2): New.

12 years ago * breakpoint.c (install_breakpoint): Add one more parameter so that
qiyao [Fri, 18 Nov 2011 01:03:50 +0000 (01:03 +0000)]
* breakpoint.c (install_breakpoint):  Add one more parameter so that
update_global_location_list is called conditionally.
(create_fork_vfork_event_catchpoint): Update.
(create_syscall_event_catchpoint): Update.
(create_breakpoint_sal): Update.
(create_breakpoint_sal): Update. Call do_cleanups before
install_breakpoint.
* ada-lang.c (create_ada_exception_catchpoint): Update.
* breakpoint.h (install_breakpoint): Update declaration.

12 years ago*** empty log message ***
gdbadmin [Fri, 18 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Thu, 17 Nov 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * shared.cc (shared_info::create): Open global shared data section
corinna [Thu, 17 Nov 2011 22:08:13 +0000 (22:08 +0000)]
* shared.cc (shared_info::create): Open global shared data section
non-inheritable to avoid accumulating stray handles in child processes.

12 years ago2011-11-17 Sterling Augustine <saugustine@google.com>
sterling [Thu, 17 Nov 2011 17:46:54 +0000 (17:46 +0000)]
2011-11-17  Sterling Augustine  <saugustine@google.com>

* script.cc (script_include_directive): Implement.
(read_script_file): New local variables name and search_path. Update
comment. Call IS_ABSOLUTE_PATH and Dirsearch::find_file_in_dir_list.
* dirsearch.h (Dirsearch::find_file_in_dir_list): Declare new method.
* dirsearch.cc (Dirsearch::find_file_in_dir_list): Implement it.

12 years ago * config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.
davem [Thu, 17 Nov 2011 04:24:56 +0000 (04:24 +0000)]
* config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.

12 years ago * elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that it
amodra [Thu, 17 Nov 2011 00:19:58 +0000 (00:19 +0000)]
* elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that it
needs to be translated only once.

12 years ago*** empty log message ***
gdbadmin [Thu, 17 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Wed, 16 Nov 2011 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago * spu-tdep.c (spu_return_value): Fix handling of
uweigand [Wed, 16 Nov 2011 18:30:09 +0000 (18:30 +0000)]
* spu-tdep.c (spu_return_value): Fix handling of
TYPE_CALLING_CONVENTION annotation.

12 years ago * skip.c (skip_function_command): Work around uninitialized
uweigand [Wed, 16 Nov 2011 18:29:32 +0000 (18:29 +0000)]
* skip.c (skip_function_command): Work around uninitialized
variable warning.

12 years ago * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
davem [Wed, 16 Nov 2011 18:16:27 +0000 (18:16 +0000)]
* lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
target is sparc*-*-linux*

12 years ago * utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' and
davem [Wed, 16 Nov 2011 18:14:52 +0000 (18:14 +0000)]
* utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' and
'tv_usec' to long for printf since these fields have a type which
varies.

12 years ago gas/
macro [Wed, 16 Nov 2011 12:34:33 +0000 (12:34 +0000)]
gas/
* config/tc-mips.c (macro): Fix unsupported opcode message
capitalization.
(mips_ip, mips16_ip): Likewise.

gas/testsuite/
* gas/mips/mips-double-float-flag.l: Adjust according to
unsupported opcode message capitalization fix.
* gas/mips/mips-hard-float-flag.l: Likewise.
* gas/mips/mips-macro-ill-nofp.l: Likewise.
* gas/mips/mips-macro-ill-sfp.l: Likewise.
* gas/mips/mips1-fp.l: Likewise.
* gas/mips/mips16e-64.l: Likewise.
* gas/mips/mips32-sf32.l: Likewise.
* gas/mips/mips32r2-fp32.l: Likewise.
* gas/mips/mips4-branch-likely.l: Likewise.
* gas/mips/mips4-fp.l: Likewise.
* gas/mips/octeon-ill.l: Likewise.

12 years ago * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS
macro [Wed, 16 Nov 2011 12:29:56 +0000 (12:29 +0000)]
* config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS
mode.

12 years ago * config/tc-mips.c (macro_build_jalr): Reverse a negative
macro [Wed, 16 Nov 2011 12:27:06 +0000 (12:27 +0000)]
* config/tc-mips.c (macro_build_jalr): Reverse a negative
conditional.
(mips_ip): Likewise.

12 years ago * micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP
macro [Wed, 16 Nov 2011 12:24:08 +0000 (12:24 +0000)]
* micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP
for "alnv.ps".

12 years ago * config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and
macro [Wed, 16 Nov 2011 12:21:33 +0000 (12:21 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and
"m14kec".
* doc/c-mips.texi (MIPS architecture options): Add "m14ke" and
"m14kec" to the list of -march options.

12 years ago * elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to
macro [Wed, 16 Nov 2011 12:12:20 +0000 (12:12 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to
zero throughout.
(mips16_elf64_howto_table_rela): Likewise.
(micromips_elf64_howto_table_rela): Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela): Likewise.
(elf_mips16_howto_table_rela): Likewise.
(elf_micromips_howto_table_rela): Likewise.

12 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
cgf [Wed, 16 Nov 2011 04:09:30 +0000 (04:09 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(cygheap_exec_info::nchildren): Move from child_info_spawn.
(cygheap_exec_info::cchildren): Ditto.
(cygheap_exec_info::record_children): Declare new function.
(cygheap_exec_info::reattach_children): Ditto.
(cygheap_exec_info::alloc): Ditto.
(child_info_spawn::nchildren): Move to cygheap_exec_info.
(child_info_spawn::cchildren): Ditto.
* sigproc.cc (cygheap_exec_info::alloc): Define new function.
(child_info_spawn::cleanup): Accommodate move of children info to
cygheap_exec_info.
(cygheap_exec_info::record_children): Define new function.
(cygheap_exec_info::reattach_children): Ditto.
(child_info_spawn::record_children): Use cygheap_exec_info function to
accomplish this task.
(child_info_spawn::reattach_children): Ditto.
* spawn.cc (child_info_spawn::worker): Allocate moreinfo using
cygheap_exec_info::alloc.
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Use abort for the error to
avoid a retry.

12 years ago*** empty log message ***
gdbadmin [Wed, 16 Nov 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * buildsym.c (add_symbol_to_list): Delete outdated comment.
devans [Tue, 15 Nov 2011 23:12:29 +0000 (23:12 +0000)]
* buildsym.c (add_symbol_to_list): Delete outdated comment.

12 years agodaily update
amodra [Tue, 15 Nov 2011 23:00:04 +0000 (23:00 +0000)]
daily update

12 years agoObvious: Fix error in name of concerned macro ETIMEDOUT
muller [Tue, 15 Nov 2011 22:04:43 +0000 (22:04 +0000)]
Obvious: Fix error in name of concerned macro ETIMEDOUT