OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years ago*** empty log message ***
gdbadmin [Sun, 6 Nov 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

12 years agogdb/
jkratoch [Sat, 5 Nov 2011 20:25:18 +0000 (20:25 +0000)]
gdb/
* i386-nat.c (dr_ref_count): Remove unused variable.

12 years ago* pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.
cgf [Sat, 5 Nov 2011 18:47:38 +0000 (18:47 +0000)]
* pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.
(child_info::proc_retry): Ditto.

12 years ago * faq-using.xml (faq.using.fixing-fork-failures): Add new FAQ.
jturney [Sat, 5 Nov 2011 18:42:55 +0000 (18:42 +0000)]
* faq-using.xml (faq.using.fixing-fork-failures): Add new FAQ.
* overview2.sgml (ov-hi-process-problems): Describe some difficulties
in implementing fork()

12 years ago* pinfo.cc (status_exit): Return complete error code. Handle
cgf [Sat, 5 Nov 2011 18:29:50 +0000 (18:29 +0000)]
* pinfo.cc (status_exit): Return complete error code.  Handle
STATUS_ACCESS_VIOLATION correctly.
(pinfo::set_exit_code): Set self->exitcode directly from status_exit.

12 years ago * main.c (captured_main): Set lim_at_start before calling
devans [Sat, 5 Nov 2011 17:08:29 +0000 (17:08 +0000)]
* main.c (captured_main): Set lim_at_start before calling
make_command_stats_cleanup.

12 years agogdb/gdbserver:
qiyao [Sat, 5 Nov 2011 13:16:22 +0000 (13:16 +0000)]
gdb/gdbserver:

2011-11-05  Yao Qi  <yao@codesourcery.com>

* tracepoint.c (gdb_collect): Loop over tracepoints of same
address as TPOINT's.

gdb/testsuite:

2011-11-05  Yao Qi  <yao@codesourcery.com>

* gdb.trace/trace-break.exp: Add test on setting two
fast tracepoints at the same address.

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

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

12 years ago* pinfo.h (pinfo::reattach): Only set destroy to false when proc_subproc
cgf [Fri, 4 Nov 2011 17:07:20 +0000 (17:07 +0000)]
* pinfo.h (pinfo::reattach): Only set destroy to false when proc_subproc
succeeds.  Return true for success.
* sigproc.cc (child_info_spawn::reattach_children): Try harder to clean up on
error by detecting reattach failures too.

12 years ago* sigproc.cc (child_info_spawn::reattach_children): Clean up handle when can't
cgf [Fri, 4 Nov 2011 16:52:42 +0000 (16:52 +0000)]
* sigproc.cc (child_info_spawn::reattach_children): Clean up handle when can't
open parent process or suffer handle leak.

12 years ago * utils.c: #include "timeval-utils.h".
devans [Fri, 4 Nov 2011 16:45:12 +0000 (16:45 +0000)]
* utils.c: #include "timeval-utils.h".
(cmd_stats): Rename start_time to start_cpu_time.
New member start_wall_time.
(report_command_stats): Report wall time.
(make_command_stats_cleanup): Record start wall time.

doc/
* gdb.texinfo (Maintenance Commands): Update docs of "maint time".

12 years ago * cp-namespace.c (cp_lookup_symbol_imports): Reindent.
tromey [Fri, 4 Nov 2011 16:37:13 +0000 (16:37 +0000)]
* cp-namespace.c (cp_lookup_symbol_imports): Reindent.

12 years ago* doc/c-rl78.texi (RL78-Float): Remove unused menu entry.
dj [Fri, 4 Nov 2011 16:04:12 +0000 (16:04 +0000)]
* doc/c-rl78.texi (RL78-Float): Remove unused menu entry.

12 years agomerge from gcc
dj [Fri, 4 Nov 2011 14:32:13 +0000 (14:32 +0000)]
merge from gcc

12 years ago * coff-pe-read.c: Include defs.h before bfd.h.
ro [Fri, 4 Nov 2011 14:04:03 +0000 (14:04 +0000)]
* coff-pe-read.c: Include defs.h before bfd.h.

12 years ago2011-11-04 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 4 Nov 2011 12:07:53 +0000 (12:07 +0000)]
2011-11-04  Phil Muldoon  <pmuldoon@redhat.com>

PR Python/13345

* python/python.c (python_run_simple_file): Expand tilde in path.

12 years ago2011-11-04 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 4 Nov 2011 11:57:02 +0000 (11:57 +0000)]
2011-11-04  Phil Muldoon  <pmuldoon@redhat.com>

PR Python/13363

* python/py-type.c (typy_lookup_type): Do not return a type in
          an exception handler.

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

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

12 years ago* sigproc.cc (child_info::sync): Report on exit code in strace output.
cgf [Thu, 3 Nov 2011 21:44:04 +0000 (21:44 +0000)]
* sigproc.cc (child_info::sync): Report on exit code in strace output.
(child_info::proc_retry): Don't consider STATUS_ACCESS_VIOLATION as a
restartable event.

12 years ago* sigproc.cc (child_info_spawn::reattach_children): Avoid issuing an error when
cgf [Thu, 3 Nov 2011 18:48:25 +0000 (18:48 +0000)]
* sigproc.cc (child_info_spawn::reattach_children): Avoid issuing an error when
we can't duplicate from "parent" since it is probably ok if children of the
previous owner of the pid disappear.

12 years agogdb/
jkratoch [Thu, 3 Nov 2011 18:24:44 +0000 (18:24 +0000)]
gdb/
* linux-nat.c (_initialize_linux_nat): Improve help
for `info proc stat', `info proc status', `info proc cwd',
`info proc cmdline' and `info proc exe'.

12 years ago * fhandler.cc (off_current): Define local in fhandler_base::raw_write.
corinna [Thu, 3 Nov 2011 17:47:33 +0000 (17:47 +0000)]
* fhandler.cc (off_current): Define local in fhandler_base::raw_write.
Drop erroneous NO_COPY, add _RDATA to make R/O.
(off_append): Ditto.
* globals.cc (_RDATA): Move definition from here...
* winsup.h: ...to here.

12 years agogdb/testsuite/
jkratoch [Thu, 3 Nov 2011 17:43:51 +0000 (17:43 +0000)]
gdb/testsuite/
* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.

12 years ago2011-02-11 Ben Golding <ben_golding@yahoo.co.uk>
tromey [Thu, 3 Nov 2011 15:48:17 +0000 (15:48 +0000)]
2011-02-11  Ben Golding  <ben_golding@yahoo.co.uk>

* events.c: add #include <stdlib.h> for free(). Fix PR build/13372.

12 years ago * gdb.texinfo (Stopping): Add menu entry.
tromey [Thu, 3 Nov 2011 14:32:49 +0000 (14:32 +0000)]
* gdb.texinfo (Stopping): Add menu entry.
(Continuing and Stepping): Restore @node.  Use @section, not
@subsection.

12 years ago2011-11-03 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 3 Nov 2011 11:53:39 +0000 (11:53 +0000)]
2011-11-03  Tristan Gingold  <gingold@adacore.com>

* scripttempl/aix.sc: Consider header size for .text and .data
alignment.

12 years ago * configure.ac: Add --with-lib-path option. Define LIB_PATH and
ian [Thu, 3 Nov 2011 04:32:00 +0000 (04:32 +0000)]
* configure.ac: Add --with-lib-path option.  Define LIB_PATH and
NATIVE_LINKER.
* Makefile.am (AM_CPPFLAGS): Define TOOLLIBDIR.
* options.cc (General_options::finalize): Use library search path
from configure script if specified.  If not native and no sysroot,
only search TOOLLIBDIR.
* options.h (Search_directory::Search_directory): Change name to
const std::string&.
(General_options::add_to_library_path_with_sysroot): Change arg to
const std::string&.
* configure, Makefile.in, config.in: Rebuild.

12 years ago * arm.cc (Target_arm::may_use_v5t_interworking): Check whether
ian [Thu, 3 Nov 2011 03:38:34 +0000 (03:38 +0000)]
* arm.cc (Target_arm::may_use_v5t_interworking): Check whether
we are working around the ARM1176 Erratum.
* options.h (General_options::fix_arm1176): Add option.
* testsuite/Makefile.am: Add testcases, and keep current ones
working.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_fix_1176.s: New file.
* testsuite/arm_fix_1176.sh: Likewise.

12 years ago * gdb.texinfo (Skipping Over Functions and Files): Remove node
macro [Thu, 3 Nov 2011 00:16:45 +0000 (00:16 +0000)]
* gdb.texinfo (Skipping Over Functions and Files): Remove node
designation.  Fix "Specify Location" cross-reference.

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

12 years ago2011-11-02 Stan Shebs <stan@codesourcery.com>
shebs [Wed, 2 Nov 2011 23:44:18 +0000 (23:44 +0000)]
2011-11-02  Stan Shebs  <stan@codesourcery.com>

String collection for tracepoints.
* NEWS: Mention string collection.
* common/ax.def (tracenz): New bytecode.
* ax-gdb.h (trace_string_kludge): Declare.
* ax-gdb.c: Include valprint.h and c-lang.h.
(trace_string_kludge): New global.
(gen_traced_pop): Add string case.
(agent_command): Add string case.
* tracepoint.h (decode_agent_options): Declare.
* tracepoint.c: Include cli-utils.h.
(decode_agent_options): New function.
(validate_actionline): Call it.
(encode_actions_1): Ditto.
* target.h (struct target_ops): New method to_supports_string_tracing.
(target_supports_string_tracing): New macro.
* target.c (update_current_target): Add to_supports_string_tracing.
* remote.c (struct remote_state): New field string_tracing.
(remote_string_tracing_feature): New function.
(remote_protocol_features): New feature tracenz.
(remote_supports_string_tracing): New function.
(init_remote_ops): Set to_supports_string_tracing.

* tracepoint.c (agent_mem_read_string): New function.
(eval_agent_expr): Call it for tracenz.
* server.c (handle_query): Report support for tracenz.

* gdb.texinfo (Tracepoint Action Lists): Document collect/s.
(General Query Packets): Describe tracenz feature.
* agentexpr.texi (Bytecode Descriptions): Describe tracenz.

* gdb.trace/collection.c: Add code using strings.
* gdb.trace/collection.exp: Add tests of string collection.

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

12 years agomerge from gcc
dj [Wed, 2 Nov 2011 22:02:55 +0000 (22:02 +0000)]
merge from gcc

12 years ago[bfd]
dj [Wed, 2 Nov 2011 20:40:19 +0000 (20:40 +0000)]
[bfd]
* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Delete unused
variable.

[gas]
* config/tc-rl78.c (tc_gen_reloc): Remove unused variable.

12 years ago * generic/gdbtk-interp.c (struct gdbtk_interp_data)
kseitz [Wed, 2 Nov 2011 19:44:37 +0000 (19:44 +0000)]
* generic/gdbtk-interp.c (struct gdbtk_interp_data)
<uiout>: New member.
(gdbtk_data): Remove global.
(gdbtk_interpreter_init): Update with GDB API changes.
Allocate private intepreter data.
(gdbtk_interpreter_ui_out): New function.
(_initialize_gdbtk_interp): Add gdbtk_interpreter_ui_out to
PROCS.
Remove gdbtk_data and related allocation/initialization.

12 years ago * arm.cc (Target_arm::Target_arm): Remove initialisation of
ian [Wed, 2 Nov 2011 19:11:47 +0000 (19:11 +0000)]
* arm.cc (Target_arm::Target_arm): Remove initialisation of
may_use_blx_.
(Target_arm::may_use_blx): Remove method.
(Target_arm::set_may_use_blx): Likewise.
(Target_arm::may_use_v4t_interworking): New method.
(Target_arm::may_use_v5t_interworking): Likewise.
(Target_arm::may_use_blx_): Remove member variable.
(Arm_relocate_functions::arm_branch_common): Check for v5T
interworking.
(Arm_relocate_functions::thumb_branch_common): Likewise.
(Reloc_stub::stub_type_for_reloc): Likewise.
(Target_arm::do_finalize_sections): Correct interworking checks.
* testsuite/Makefile.am: Add new tests.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_farcall_arm_arm.s: New test.
* testsuite/arm_farcall_arm_arm.sh: Likewise.
* testsuite/arm_farcall_arm_thumb.s: Likewise.
* testsuite/arm_farcall_arm_thumb.sh: Likewise.
* testsuite/arm_farcall_thumb_arm.s: Likewise.
* testsuite/arm_farcall_thumb_arm.sh: Likewise.
* testsuite/arm_farcall_thumb_thumb.s: Likewise.
* testsuite/arm_farcall_thumb_thumb.sh: Likewise.

12 years agogdb/
jkratoch [Wed, 2 Nov 2011 18:47:15 +0000 (18:47 +0000)]
gdb/
* linux-nat.c: Include cli/cli-utils.h.
(enum info_proc_what): New.
(linux_nat_info_proc_cmd): Rename to ...
(linux_nat_info_proc_cmd_1): ... here.  Remove variables argv and all.
New parameter what.  Initialize cmdline_f, cwd_f, exe_f, mappings_f,
status_f and stat_f from WHAT.  Throw error on extra parameters.
(linux_nat_info_proc_cmd, linux_nat_info_proc_cmd_mappings)
(linux_nat_info_proc_cmd_stat, linux_nat_info_proc_cmd_status)
(linux_nat_info_proc_cmd_cwd, linux_nat_info_proc_cmd_cmdline)
(linux_nat_info_proc_cmd_exe, linux_nat_info_proc_cmd_all): New.
(_initialize_linux_nat): New variable info_proc_cmdlist.  Install `info
proc mappings', `info proc stat`, `info proc status', `info proc cwd',
`info proc cmdline', `info proc exe' and `info proc all' as real
subcommands of `info proc'.

12 years ago2011-11-02 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 2 Nov 2011 16:28:30 +0000 (16:28 +0000)]
2011-11-02  Tristan Gingold  <gingold@adacore.com>

* emultempl/aix.em (read_file_list): New function.
(_handle_option): Handle '-f'.
* NEWS: Mention this feature.

12 years ago ld:
ro [Wed, 2 Nov 2011 15:28:17 +0000 (15:28 +0000)]
ld:
* configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
targ_extra_libpath.

12 years ago toplevel:
ro [Wed, 2 Nov 2011 15:23:36 +0000 (15:23 +0000)]
toplevel:
* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
LIBGCC2_DEBUG_CFLAGS, LIBGCC2_INCLUDES.
* Makefile.in: Regenerate.

config:
* mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.

12 years agoBuilding EFI binaries, particularly larger ones (like e.g. Xen does), on Linux
jbeulich [Wed, 2 Nov 2011 14:53:01 +0000 (14:53 +0000)]
Building EFI binaries, particularly larger ones (like e.g. Xen does), on Linux
(where relocatable objects are in ELF format) so far led to all local (aka
static) symbols to be discarded, making debugging quite a bit more difficult
(like Linux, Xen builds an internal symbol lookup table from nm output
generated on the binary produced by an earlier linking pass). Therefore, this
patch arranges to insert all (relevant) local symbols from non-COFF objects
into the final executable's symbol table between those coming from COFF input
files and the global ones.

bfd/
2011-11-02  Jan Beulich  <jbeulich@suse.com>

* coffgen.c (coff_write_alien_symbol): Make public. Add 'struct
internal_syment *' parameter. Extend 'dummy' to an array with two
elements. Set n_numaux early. Handle BSF_FILE.
(coff_write_symbols): Pass NULL as new third argument to
coff_write_alien_symbol().
* cofflink.c (_bfd_coff_final_link): Don't use COFF-specific
obj_raw_syment_count() on non-COFF input BFD. Insert local symbols
from non-COFF input BFDs.
* libcoff-in.h (coff_write_alien_symbol): Declare.
* libcoff.h (coff_write_alien_symbol): Re-generate.

12 years ago * po/it.po: New Italian translation.
nickc [Wed, 2 Nov 2011 12:02:21 +0000 (12:02 +0000)]
* po/it.po: New Italian translation.
* configure.in (ALL_LINGUAS): Add it.
* configure: Regenerate.
* po/opcodes.pot: Regenerate.

12 years ago * config/tc-arm.c (md_begin): Remove ARM_PLT32 reloc associated
nickc [Wed, 2 Nov 2011 11:13:57 +0000 (11:13 +0000)]
* config/tc-arm.c (md_begin): Remove ARM_PLT32 reloc associated
with the (PLT) instruction suffix when operating in eabi mode.
* doc/c-arm.texi (ARM_Relocations): Extend description of (PLT)
suffix.

* gas/arm/pic.d: Update expected output.

12 years agogdb/testsuite/
jkratoch [Wed, 2 Nov 2011 08:43:39 +0000 (08:43 +0000)]
gdb/testsuite/
* gdb.base/skip-solib.exp (executable_main): New variable.
(binfile_main): Base it on that.
Use $executable_main in clean_restart calls.  Drop gdb_exit and
gdb_start calls.

12 years agogdb/gdbserver/
qiyao [Wed, 2 Nov 2011 04:34:22 +0000 (04:34 +0000)]
gdb/gdbserver/

* tracepoint.c (cmd_qtstart): Remove unused local variables.

12 years agogdb/gdbserver/
qiyao [Wed, 2 Nov 2011 04:20:47 +0000 (04:20 +0000)]
gdb/gdbserver/
* target.h: Fix a typo in comment.

12 years agoFix date in changelog entry.
qiyao [Wed, 2 Nov 2011 04:12:50 +0000 (04:12 +0000)]
Fix date in changelog entry.

12 years ago[.]
dj [Wed, 2 Nov 2011 03:08:51 +0000 (03:08 +0000)]
[.]
* configure.ac (rl78-*-*) New case.
* configure: Regenerate.

[bfd]
* Makefile.am (ALL_MACHINES): Add cpu-rl78.lo.
(ALL_MACHINES_CFILES): Add cpu-rl78.c.
(BFD32_BACKENDS): Add elf32-rl78.lo.
(BFD32_BACKENDS_CFILES): Add elf32-rl78.c.
(Makefile.in): Regenerate.
* archures.c (bfd_architecture): Define bfd_arch_rl78.
(bfd_archures_list): Add bfd_rl78_arch.
* config.bfd: Add rl78-*-elf.
* configure.in: Add bfd_elf32_rl78_vec.
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_RL78_* relocations.
* targets.c (bfd_target_vector): Add bfd_elf32_rl78_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.
* cpu-rl78.c: New file.
* elf32-rl78.c: New file.

[binutils]
* readelf.c: Include elf/rl78.h
(guess_is_rela): Handle EM_RL78.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
(is_32bit_abs_reloc): Likewise.
* NEWS: Mention addition of RL78 support.
* MAINTAINERS: Add myself as RL78 port maintainer.

[gas]
* Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c.
(TARGET_CPU_HFILES): Add rc-rl78.h.
(EXTRA_DIST): Add rl78-parse.c and rl78-parse.y.
(rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules.
* Makefile.in: Regenerate.
* configure.in: Add rl78 case.
* configure: Regenerate.
* configure.tgt: Add rl78 case.
* config/rl78-defs.h: New file.
* config/rl78-parse.y: New file.
* config/tc-rl78.c: New file.
* config/tc-rl78.h: New file.
* NEWS: Add Renesas RL78.

* doc/Makefile.am (c-rl78.texi): New.
* doc/Makefile.in: Likewise.
* doc/all.texi: Enable it.
* doc/as.texi: Add it.

[include]
* dis-asm.h (print_insn_rl78): Declare.

[include/elf]
* common.h (EM_RL78, EM_78K0R): New.
* rl78.h: New.

[include/opcode]
* rl78.h: New file.

[ld]
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c.
(+eelf32rl78.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt: Add rl78-*-* case.
* emulparams/elf32rl78.sh: New file.
* NEWS: Mention addition of Renesas RL78 support.

[opcodes]
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add rl78-decode.c and
rl78-dis.c.
(MAINTAINERCLEANFILES): Add rl78-decode.c.
(rl78-decode.c): New rule, built from rl78-decode.opc and opc2c.
* Makefile.in: Regenerate.
* configure.in: Add bfd_rl78_arch case.
* configure: Regenerate.
* disassemble.c: Define ARCH_rl78.
(disassembler): Add ARCH_rl78 case.
* rl78-decode.c: New file.
* rl78-decode.opc: New file.
* rl78-dis.c: New file.

12 years ago* config.sub: Update to version 2011-10-29 (added rl78)
dj [Wed, 2 Nov 2011 00:56:53 +0000 (00:56 +0000)]
* config.sub: Update to version 2011-10-29 (added rl78)

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

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

12 years agogdb/testsuite/
jkratoch [Tue, 1 Nov 2011 20:00:00 +0000 (20:00 +0000)]
gdb/testsuite/
Fix racy FAILs.
* lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
breakpoint_re globals import by async.  Set string_regex to .* for
async.  Remove the optional thread_selected_re and breakpoint_re
globals expectations.

12 years ago * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
jsm28 [Tue, 1 Nov 2011 16:21:54 +0000 (16:21 +0000)]
* gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
well as Cygwin.

12 years ago2011-10-06 Justin Lebar <justin.lebar@gmail.com>
jlebar [Tue, 1 Nov 2011 14:51:15 +0000 (14:51 +0000)]
2011-10-06  Justin Lebar  <justin.lebar@gmail.com>

* Makefile.in: (SFILES): Add skip.c.
(HFILES_NO_SRCDIR): Add skip.h.
(COMMON_OBS): Add skip.o.
* skip.h, skip.c: New.
* breakpoint.h (set_default_breakpoint): Remove.
(get_sal_arch): Declare.
* breakpoint.c: Remove default_breakpoint_valid,
default_breakpoint_address, default_breakpoint_symtab,
default_breakpoint_line, default_breakpoint_pspace variables.
(get_sal_arch): Make public.
(set_default_breakpoint): Remove.
(parse_breakpoint_sals, create_breakpoint, clear_command,
decode_line_spec_1): Remove uses of default_breakpoint variables;
replaced with function calls into stack.c.
* cli/cli-cmds.h: Add cmd_list_element *skiplist.
* cli/cli-cmds.c: Add skiplist.
(init_cmd_lists): Initialize skiplist.
(init_cli_cmds): Fix comment (classes of commands appear in
alphabetical order).
* infrun.c (handle_inferior_event): Add check that we don't step into
a function whose pc is marked for skip.
* stack.c: Declare last_displayed_sal_valid, last_displayed_pspace,
last_displayed_addr, last_displayed_symtab, last_displayed_line
variables.
(set_last_displayed_sal): New static function.
(print_frame_info): Switch call to set_default_breakpoint to call to
set_last_displayed_sal.
(clear_last_displayed_sal, last_displayed_sal_is_valid,
get_last_displayed_pspace, get_last_displayed_addr,
get_last_displayed_symtab, get_last_displayed_line,
get_last_displayed_sal): New public functions.
* stack.h (clear_last_displayed_sal, last_displayed_sal_is_valid,
get_last_displayed_pspace, get_last_displayed_addr,
get_last_displayed_symtab, get_last_displayed_line,
get_last_displayed_sal): Declare.

2011-10-06  Justin Lebar <justin.lebar@gmail.com>

Add tests for skip command.
* testsuite/gdb.base/skip-solib-lib.c: New
* testsuite/gdb.base/skip-solib-main.c: New
* testsuite/gdb.base/skip-solib.exp: New
* testsuite/gdb.base/skip.c: New
* testsuite/gdb.base/skip.exp: New
* testsuite/gdb.base/skip1.c: New
* testsuite/gdb.base/Makefile.in: Adding new files.

12 years ago2011-11-01 Justin Lebar <justin.lebar@gmail.com>
jlebar [Tue, 1 Nov 2011 13:40:38 +0000 (13:40 +0000)]
2011-11-01  Justin Lebar <justin.lebar@gmail.com>

* MAINTAINERS (Write After Approval): Add myself to the list.

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

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

12 years ago PR gold/13023
ccoutant [Mon, 31 Oct 2011 22:51:03 +0000 (22:51 +0000)]
PR gold/13023
* expression.cc (Expression::eval_with_dot): Add
is_section_dot_assignment parameter.
(Expression::eval_maybe_dot): Likewise.  Adjust value when rhs is
absolute and assigning to dot within a section.
* script-sections.cc
(Output_section_element_assignment::set_section_addresses): Pass
dot_section to set_if_absolute.
(Output_section_element_dot_assignment::finalize_symbols): Pass TRUE
as is_section_dot_assignment flag to eval_with_dot.
(Output_section_element_dot_assignment::set_section_addresses):
Likewise.
* script.cc (Symbol_assignment::set_if_absolute): Add dot_section
parameter.  Also set value if relative to dot_section; set the
symbol's output_section.
* script.h (Expression::eval_with_dot): Add is_section_dot_assignment
parameter.  Adjust all callers.
(Expression::eval_maybe_dot): Likewise.
(Symbol_assignment::set_if_absolute): Add dot_section parameter.
Adjust all callers.
* testsuite/script_test_2.t: Test assignment of an absolute value
to dot within an output section element.

12 years ago * options.h (class General_options): Add --[no-]gnu-unique options.
ccoutant [Mon, 31 Oct 2011 22:43:48 +0000 (22:43 +0000)]
* options.h (class General_options): Add --[no-]gnu-unique options.
* symtab.cc (Symbol_table::sized_write_globals): Convert
STB_GNU_UNIQUE to STB_GLOBAL if --no-gnu-unique.

12 years ago PR gold/13359
ccoutant [Mon, 31 Oct 2011 22:33:04 +0000 (22:33 +0000)]
PR gold/13359
* i386.cc (Target_i386::Relocate::relocate_tls): Remove
unnecessary assertion.
* x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.

12 years ago2011-10-31 Sriraman Tallam <tmsriram@google.com>
tmsriram [Mon, 31 Oct 2011 21:36:54 +0000 (21:36 +0000)]
2011-10-31 Sriraman Tallam  <tmsriram@google.com>

* symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
gc_mark_symbol.
* symtab.cc (Symbol_table::gc_mark_symbol_for_shlib): Rename to
gc_mark_symbol.
Change to just keep the section associated with symbol.
(Symbol_table::add_from_relobj): Mark symbols as not garbage when
they are externally visible and --export-dynamic is turned on.
(Symbol_table::gc_mark_dyn_syms): Call gc_mark_symbol.

12 years ago2011-10-31 Pedro Alves <pedro@codesourcery.com>
palves [Mon, 31 Oct 2011 12:55:25 +0000 (12:55 +0000)]
2011-10-31  Pedro Alves  <pedro@codesourcery.com>

gdb/gdbserver/
* mem-break.c (check_mem_write): Add `myaddr' parameter.  Don't
clobber the breakpoints' shadows with fast tracepoint jumps.
* mem-break.h (check_mem_write): Add `myaddr' parameter.
* target.c (write_inferior_memory): Also pass MYADDR down to
check_mem_write.

gdb/testsuite/
        * gdb.trace/trace-break.c: New.
        * gdb.trace/trace-break.exp: New.

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

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

12 years agoRemove erroneous entry.
cgf [Sun, 30 Oct 2011 05:21:07 +0000 (05:21 +0000)]
Remove erroneous entry.

12 years ago* fhandler.h (fhandler_pipe::create_selectable): Remove optional argument, take
cgf [Sun, 30 Oct 2011 04:50:33 +0000 (04:50 +0000)]
* fhandler.h (fhandler_pipe::create_selectable): Remove optional argument, take
an options argument for CreateNamedPipe/CreateFile.  Change handle arguments to
expect pointers.
(fhandler_fifo::fifo_state): Delete.
(fhandler_fifo::dummy_client): Ditto.
(fhandler_fifo::open_nonserver): Ditto.
(fhandler_fifo::wait_state): Ditto.
(fhandler_fifo::raw_write): Ditto.
(fhandler_fifo::read_ready): New field.
(fhandler_fifo::write_ready): Ditto.
(fhandler_fifo::wait): Modify argument.
(fhandler_fifo::fifo_name): Add a new argument.
(fhandler_fifo::fixup_after_fork): New function.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Remove initialization of
expunged elements.  Initialize new handles to NULL.
(fhandler_fifo::open_nonserver): Delete.
(fnevent): New macro for creating a named event.
(fnpipe): New macro for creating a unique named pipe name.
(create_pipe): New macro for simplification of named pipe creation.
(fhandler_fifo::fifo_name): Use new argument when creating a shared name.
(fhandler_fifo::open): Rewrite.  Use events to synchronize.
(pure_debug_printf): New macro, active only when DEBUGGING.
(fhandler_fifo::wait): Rewrite to wait for new fifo events which are supplied
as a parameter.
(fhandler_fifo::raw_read): Rewrite to use handle mechanism to detect
client-side disconnect.
(fhandler_fifo::raw_write): Delete.
(fhandler_fifo::close): Remove accommodations for expunged fields.  Close event
handles.
(fhandler_fifo::dup): Remove accommodations for expunged fields.  Duplicate
event handles.
(fhandler_fifo::fixup_after_fork): New function.  Perform fixups on event
handles.
(fhandler_fifo::set_close_on_exec): Remove accommodations for expunged fields.
Set inheritance for new handle fields.
* miscfuncs.cc (CreatePipeOverlapped): Accommodate changes in
fhandler_pipe::create_selectable.
* tty.cc (tty::not_allocated): Ditto.
* pipe.cc (fhandler_pipe::create): Ditto.
(fhandler_pipe::create_selectable): Accept an extra open_mode argument.  Pass
arguments by reference and allow opening one end of the pipe at a time.
* sys/strace.h (debug_only_printf): Define new macro which calls debug_printf
only when DEBUGGING is defined.

12 years ago*** empty log message ***
gdbadmin [Sun, 30 Oct 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

12 years agogdb/
qiyao [Sat, 29 Oct 2011 12:36:08 +0000 (12:36 +0000)]
gdb/
* infcmd.c (disconnect_command): Call disconnect_tracing.

12 years agogdb/
jkratoch [Sat, 29 Oct 2011 07:26:07 +0000 (07:26 +0000)]
gdb/
Code cleanup.
* symtab.c (skip_prologue_sal): Code reformatting.

12 years agomerge from gcc
dj [Sat, 29 Oct 2011 01:06:33 +0000 (01:06 +0000)]
merge from gcc

12 years ago*** empty log message ***
gdbadmin [Sat, 29 Oct 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 28 Oct 2011 23:00:07 +0000 (23:00 +0000)]
daily update

12 years agogdb/
jkratoch [Fri, 28 Oct 2011 22:40:55 +0000 (22:40 +0000)]
gdb/
PR symtab/13208
* jit.c (jit_register_code): Remove unused variable my_cleanups.  Check
for NULL from bfd_open_from_target_memory.  Fix ownership of NBFD and
SAI.

12 years agogdb/testsuite/
jkratoch [Fri, 28 Oct 2011 19:24:45 +0000 (19:24 +0000)]
gdb/testsuite/
* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
break-here-2.

12 years ago2011-10-28 Pedro Alves <pedro@codesourcery.com>
palves [Fri, 28 Oct 2011 18:29:57 +0000 (18:29 +0000)]
2011-10-28  Pedro Alves  <pedro@codesourcery.com>

gdb/
* linux-nat.c (linux_nat_filter_event): Remove `options'
parameter, and dead code that used it.  If we're handling a
PTRACE_EVENT_EXEC event, and the thread group leader is no longer
in our lwp list, re-add it.
(check_zombie_leaders): New.
(linux_nat_wait_1): Remove `options' and `pid' locals.  Always
wait for children with WNOHANG, and always wait for all children.
Don't check for no resumed children upfront.  Simplify wait loop.
Check for zombie thread group leaders after handling all wait
statuses.  Return TARGET_WAITKIND_NO_RESUMED if there no
unwaited-for children left.
* infrun.c (fetch_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED.
(handle_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED.
(normal_stop): Handle TARGET_WAITKIND_NO_RESUMED.
* target.h (enum target_waitkind) <TARGET_WAITKIND_NO_RESUMED>: New.

gdb/testsuite/
* gdb.threads/no-unwaited-for-left.c: New.
* gdb.threads/no-unwaited-for-left.exp: New.
* gdb.threads/non-ldr-exc-1.c: New.
* gdb.threads/non-ldr-exc-1.exp: New.
* gdb.threads/non-ldr-exc-2.c: New.
* gdb.threads/non-ldr-exc-2.exp: New.
* gdb.threads/non-ldr-exc-3.c: New.
* gdb.threads/non-ldr-exc-3.exp: New.
* gdb.threads/non-ldr-exc-4.c: New.
* gdb.threads/non-ldr-exc-4.exp: New.

12 years ago * dwarf.c (display_debug_frames): If do_debug_frames_interp,
ian [Fri, 28 Oct 2011 18:27:46 +0000 (18:27 +0000)]
* dwarf.c (display_debug_frames): If do_debug_frames_interp,
DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.

12 years ago* exceptions.cc (sigpacket::process): Avoid a potential deadlock when exiting
cgf [Fri, 28 Oct 2011 17:32:37 +0000 (17:32 +0000)]
* exceptions.cc (sigpacket::process): Avoid a potential deadlock when exiting
due to a signal.

12 years agogdb/testsuite/
jkratoch [Fri, 28 Oct 2011 17:32:28 +0000 (17:32 +0000)]
gdb/testsuite/
* gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
* gdb.base/attach-pie-misread.exp: Likewise.
* gdb.base/break-interp.exp: Likewise.
* gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
testcases for use_gdb_stub.
* gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
(continue): New testcase.
* gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
* gdb.threads/attach-into-signal.exp: Likewise.
* gdb.threads/attach-stopped.exp: Likewise.
* gdb.threads/attachstop-mt.exp: Likewise.

12 years ago11-10-28 Sterling Augustine <saugustine@google.com>
sterling [Fri, 28 Oct 2011 17:29:33 +0000 (17:29 +0000)]
11-10-28  Sterling Augustine  <saugustine@google.com>

* psymtab.c (map_symbol_filenames_psymtab): Call QUIT.
* symtab.c (free_completion_list): New function.
(do_free_completion_list): Likewise.
(default_make_symbol_completion_list_break_on): New variable
back_to. Call make_cleanup and discard_cleanups.
(make_source_files_completion_list): Likewise.

12 years ago* gdb.python/lib-types.exp (deep_items): Rename from deepitems.
pkoning [Fri, 28 Oct 2011 14:49:18 +0000 (14:49 +0000)]
* gdb.python/lib-types.exp (deep_items): Rename from deepitems.

12 years ago* gdb.texinfo (gdb.types): Rename deepitems to deep_items.
pkoning [Fri, 28 Oct 2011 14:48:59 +0000 (14:48 +0000)]
* gdb.texinfo (gdb.types): Rename deepitems to deep_items.

12 years ago* python/lib/gdb/types.py (deep_items): Rename from deepitems.
pkoning [Fri, 28 Oct 2011 14:48:36 +0000 (14:48 +0000)]
* python/lib/gdb/types.py (deep_items): Rename from deepitems.
* NEWS: Mention deep_items.

12 years agoFixes the TILE-Gx/TILEPro port of gas to deal with relocations of
walt [Fri, 28 Oct 2011 14:43:53 +0000 (14:43 +0000)]
Fixes the TILE-Gx/TILEPro port of gas to deal with relocations of
aliases.

12 years agoAdd myself as TILEPro and TILE-Gx port maintainer.
walt [Fri, 28 Oct 2011 14:41:13 +0000 (14:41 +0000)]
Add myself as TILEPro and TILE-Gx port maintainer.

12 years agoMention Tilera support in binutils/NEWS, and fix the TILEPro
walt [Fri, 28 Oct 2011 14:37:27 +0000 (14:37 +0000)]
Mention Tilera support in binutils/NEWS, and fix the TILEPro
capitalization in gas/NEWs and ld/NEWS.

12 years ago2011-10-28 Alen Skondro <askondro@gmail.com>
palves [Fri, 28 Oct 2011 13:32:03 +0000 (13:32 +0000)]
2011-10-28  Alen Skondro  <askondro@gmail.com>

* ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
defined.

12 years ago * po/ja.po: New Japanese translation.
nickc [Fri, 28 Oct 2011 13:02:13 +0000 (13:02 +0000)]
* po/ja.po: New Japanese translation.
* configure.in (ALL_LINGUAS): Add ja.
* configure: Regenerate.

12 years ago * new-features.sgml (ov-new1.7.10): Document getgrouplist.
corinna [Fri, 28 Oct 2011 09:27:18 +0000 (09:27 +0000)]
* new-features.sgml (ov-new1.7.10): Document getgrouplist.

12 years ago * cygwin.din (getgrouplist): Export.
corinna [Fri, 28 Oct 2011 09:26:42 +0000 (09:26 +0000)]
* cygwin.din (getgrouplist): Export.
* grp.cc (get_groups): New static function to run the core functionality
of initgroups and getgrouplist.
(initgroups32): Call get_groups and just create supplementary group
list in cygheap.  Rename name of first argument to "user".  Add an
assertion to test for a NULL user name.
(initgroups): Rename name of first argument to "user".
(getgrouplist): New function.
* posix.sgml (std-bsd): Add getgrouplist.
* include/cygwin/grp.h (getgrouplist): Declare.
* include/cygwin/version.h: Bump API minor number.

12 years agogdb/testsuite/
jkratoch [Fri, 28 Oct 2011 08:32:32 +0000 (08:32 +0000)]
gdb/testsuite/
* lib/mi-support.exp (breakpoint_re): Suppress match reporting.
(mi_gdb_test): Import globals thread_selected_re
and breakpoint_re.  Expect them optionally at the regex start.

12 years ago2011-10-27 Meador Inge <meadori@codesourcery.com>
meadori [Fri, 28 Oct 2011 03:38:00 +0000 (03:38 +0000)]
2011-10-27  Meador Inge  <meadori@codesourcery.com>

* MAINTAINERS (Write After Approval): Add myself to the list.

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

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

12 years agohandle variables stored in muliple consecutive registers
brobecke [Thu, 27 Oct 2011 17:05:37 +0000 (17:05 +0000)]
handle variables stored in muliple consecutive registers

gdb/ChangeLog:

        * value.h (read_frame_register_value): Add declaration.
        * findvar.c (read_frame_register_value): New function.
        (value_from_register): Use read_frame_register_value
        instead of get_frame_register_value + value_contents_copy
        to get value contents.

12 years ago * cli/cli-cmds.c (source_script_with_search): Pass full path to
devans [Thu, 27 Oct 2011 15:46:07 +0000 (15:46 +0000)]
* cli/cli-cmds.c (source_script_with_search): Pass full path to
source_script_from_stream if it may have been found on the search path.
* python/py-auto-load.c (source_section_scripts): Pass full path to
source_python_script_for_objfile.
* python/python.c (source_python_script): Delete stream parameter.
All callers updated.
(source_python_script_for_objfile): Ditto.
* python/python-internal.h (source_python_script_for_objfile): Update.
* python/python.h (source_python_script): Update.

testsuite/
* gdb.python/python.exp: Test source -s.

12 years agoopcodes/
bergner [Thu, 27 Oct 2011 15:44:01 +0000 (15:44 +0000)]
opcodes/
        * ppc-opc.c (powerpc_opcodes) <drrndq, drrndq., dtstexq, dctqpq,
dctqpq., dctfixq, dctfixq., dxexq, dxexq., dtstsfq, dcffixq, dcffixq.,
diexq, diexq.>: Use FRT, FRA, FRB and FRBp repsectively on DFP quad
instructions.