OSDN Git Service
cgf [Sun, 1 Aug 2010 19:10:52 +0000 (19:10 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Revert to checking for "spinning"
when choosing to defer signal.
(_cygtls::call_signal_handler): Grab func when we have the lock.
* gendef: Update copyright.
(__sigbe): Simplify slightly.
(_sigdelayed): Grab a lock before manipulating stuff.
(_cygtls::pop): Properly return popped value.
(stabilize_sig_stack): Set incyg when we have the lock.
* sigproc.cc: Update copyright.
gdbadmin [Sun, 1 Aug 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 1 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update
ppluzhnikov [Sat, 31 Jul 2010 15:34:40 +0000 (15:34 +0000)]
2010-07-31 Paul Pluzhnikov <ppluzhnikov@google.com>
* linux-thread-db.c (libthread_db_debug): New variable.
(thread_db_find_new_threads_silently): Control verbosity with it.
(try_thread_db_load_1, try_thread_db_load): Likewise.
(find_new_threads_once): Likewise.
(_initialize_thread_db): Set/show it.
doc/ChangeLog
2010-07-31 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.texinfo (Threads): Document 'debug libthread-db'.
palves [Sat, 31 Jul 2010 07:58:48 +0000 (07:58 +0000)]
* Makefile.in (signals_h): New.
(server_h): Depend on it.
(server.o): Don't depend on $(signals_def).
(signals.o): Depend on $(signals_def).
jkratoch [Sat, 31 Jul 2010 04:17:42 +0000 (04:17 +0000)]
gdb/
* common/signals.c (signals): Move the content to signals.def.
Include it. Remove the INDENT comments.
gdb/gdbserver/
* Makefile.in (signals_def): New.
(server_h): Append include/gdb/signals.h and signals_def.
(server.o): Append signals_def.
include/gdb/
* signals.h (enum target_signal): Move the content to signals.def.
Include it.
* signals.def: New file.
amodra [Sat, 31 Jul 2010 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 31 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
tromey [Fri, 30 Jul 2010 20:46:33 +0000 (20:46 +0000)]
gdb
* Makefile.in (install-only): Install gdb-add-index.
* gdb-add-index.sh: New file.
gdb/doc
* gdb.texinfo (Index Files): Mention gdb-add-index.
devans [Fri, 30 Jul 2010 20:12:00 +0000 (20:12 +0000)]
* gdb.cp/temargs.exp: For new tests that require newer gccs,
xfail them when run with older gccs.
devans [Fri, 30 Jul 2010 19:59:42 +0000 (19:59 +0000)]
* lib/gdb.exp (build_executable): Forward "c++" option to
get_compiler_info.
crq [Fri, 30 Jul 2010 19:11:26 +0000 (19:11 +0000)]
gdb/
* MAINTAINERS: Add myself for write after approval privileges.
devans [Fri, 30 Jul 2010 18:46:27 +0000 (18:46 +0000)]
* gdb.python/py-type.exp (test_template): Mark as xfail tests
"python print ttype.template_argument(1)" and
"python print isinstance(ttype.template_argument(1), gdb.Value)"
if using gcc 4.4 or earlier.
cgf [Fri, 30 Jul 2010 18:04:22 +0000 (18:04 +0000)]
* cygthread.h (LPVOID_THREAD_START_ROUTINE): Define.
(cygthread::create): Rename from cygthread::cygthread.
(cygthread::cygthread): Define new constructor which accepts
LPVOID_THREAD_START_ROUTINE as the first argument. Call cygthread::create.
* cygthread.cc (cygthread::create): Rename from cygthread::cygthread. Use
'arglen' rather than 'n' since 'n' is no longer supplied.
* fhandler_tty.cc (process_input): Define as void/noreturn.
(process_output): Ditto.
(process_ioctl): Ditto.
(fhandler_tty_master::init): Don't "zap_h" cygthreads which are noreturn. It's
now implied.
devans [Fri, 30 Jul 2010 17:28:07 +0000 (17:28 +0000)]
* gdb.base/valgrind-db-attach.exp: Use unique test name for
attach-to-debugger handling.
hjl [Fri, 30 Jul 2010 16:29:56 +0000 (16:29 +0000)]
Add ATTRIBUTE_UNUSED to info in compute_bucket_count.
2010-07-30 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info.
jkratoch [Fri, 30 Jul 2010 16:04:28 +0000 (16:04 +0000)]
gdb/
* symfile.c (addr_section_name): New function.
(addrs_section_compar): Use it.
(addr_info_make_relative): Use it. Move variable sect_name into a more
inner block. Make ".dynbss" and ".sdynbss" checks more strict.
gdb/testsuite/
* gdb.base/prelink-lib.c (copyreloc): New initialized variable.
* gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
(main): Use copyreloc.
* gdb.base/prelink.exp (split debug of executable)
(.dynbss vs. .bss address shift): New tests.
tromey [Fri, 30 Jul 2010 15:59:39 +0000 (15:59 +0000)]
* configure: Rebuild.
* configure.ac: Add missing case for Python 2.7.
teawater [Fri, 30 Jul 2010 14:32:02 +0000 (14:32 +0000)]
2010-07-30 Hui Zhu <teawater@gmail.com>
* gdb.texinfo (Inferiors and Programs): Update the introduce of
"detach inferior" and "kill inferior".
green [Fri, 30 Jul 2010 07:40:26 +0000 (07:40 +0000)]
Add moxie-rtems support.
green [Fri, 30 Jul 2010 07:32:16 +0000 (07:32 +0000)]
Add moxie-rtems support
gdbadmin [Fri, 30 Jul 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 30 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
palves [Thu, 29 Jul 2010 23:19:46 +0000 (23:19 +0000)]
* gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
in gdb_test_multiple.
hjl [Thu, 29 Jul 2010 19:23:37 +0000 (19:23 +0000)]
Reformat config/tc-i386-intel.c.
2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386-intel.c: Reformat.
tmsriram [Thu, 29 Jul 2010 18:57:28 +0000 (18:57 +0000)]
* arm.cc (Target_arm<big_endian>::gc_process_relocs): Add template
paramter to the call to gold::gc_process_relocs.
* i386.cc (Target_i386<big_endian>::gc_process_relocs): Add template
paramter to the call to gold::gc_process_relocs.
* x86_64.cc (Target_x86_64<big_endian>::gc_process_relocs): Add template
parameter to the call to gold::gc_process_relocs.
* powerpc.cc (Target_powerpc<big_endian>::gc_process_relocs): Add
template parameter to the call to gold::gc_process_relocs.
* sparc.cc (Target_sparc<big_endian>::gc_process_relocs): Add template
paramter to the call to gold::gc_process_relocs.
* gc.h (get_embedded_addend_size): New function.
(gc_process_relocs): Save the size of the reloc for use by ICF.
* icf.cc (get_section_contents): Get the addend from the text section
for SHT_REL relocation sections.
* icf.h (Icf::Reloc_addend_size_info): New typedef.
(Icf::Reloc_info): Add new member reloc_addend_size_info.
* int_encoding.h (read_from_pointer): New overloaded function.
* testsuite/Makefile.am (icf_sht_rel_addend_test): New test.
* testsuite/icf_sht_rel_addend_test.sh: New file.
* testsuite/icf_sht_rel_addend_test_1.cc: New file.
* testsuite/icf_sht_rel_addend_test_2.cc: New file.
dj [Thu, 29 Jul 2010 18:41:25 +0000 (18:41 +0000)]
[include/opcode]
* rx.h (RX_Operand_Type): Add TwoReg.
(RX_Opcode_ID): Remove ediv and ediv2.
[opcodes]
* rx-decode.opc (SRR): New.
(rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov
r0,r0) and NOP3 (max r0,r0) special cases.
* rx-decode.c: Regenerate.
[sim/rx]
* rx.c (decode_cache_base): New.
(id_names): Remove ediv and edivu.
(optype_names): Add TwoReg.
(maybe_get_mem_page): New.
(rx_get_byte): Call it.
(get_op): Add TwoReg support.
(put_op): Likewise.
(PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
is a pointer now.
(DO_RETURN): New. We use longjmp to return an exception result.
(decode_opcode): Make opcode a pointer to the decode cache. Save
decoded opcode information and re-use. Call DO_RETURN instead of
return throughout. Remove ediv and edivu.
* mem.c (ptdc): New. Adds decode cache.
(rx_mem_ptr): Support it.
(rx_mem_decode_cache): New.
* mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
(rx_mem_decode_cache): Declare.
* gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
* main.c (main): ...and here. Use a fast loop if neither trace
nor disassemble is given.
* cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
valid code for anything.
dj [Thu, 29 Jul 2010 17:35:33 +0000 (17:35 +0000)]
* rx-tdep.c (rx_analyze_prologue): Don't require branches to have
conditions.
palves [Thu, 29 Jul 2010 14:48:57 +0000 (14:48 +0000)]
* PROBLEMS: Remove mention of all problems.
palves [Thu, 29 Jul 2010 14:18:56 +0000 (14:18 +0000)]
* lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
environment.
amodra [Thu, 29 Jul 2010 07:48:43 +0000 (07:48 +0000)]
* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
in large toc code.
amodra [Thu, 29 Jul 2010 07:35:58 +0000 (07:35 +0000)]
* elf64-ppc.c (ppc64_elf_edit_toc): Always adjust local syms in
.toc section, even when none are used in relocs.
gdbadmin [Thu, 29 Jul 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 29 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
palves [Wed, 28 Jul 2010 23:24:57 +0000 (23:24 +0000)]
2010-07-28 Pedro Alves <pedro@codesourcery.com>
PR build/11848
* configure.ac: Check for wresize.
* configure, config.in: Regenerate.
* tui/tui-win.c (make_visible_with_new_height): Wrap wresize call
with HAVE_WRESIZE.
dj [Wed, 28 Jul 2010 22:31:09 +0000 (22:31 +0000)]
Sort *alphabetically* this time
dj [Wed, 28 Jul 2010 21:58:22 +0000 (21:58 +0000)]
[sim/rx]
* README.txt: New.
* config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
* configure.in (--enable-cycle-accurate, --enable-cycle-stats):
New. Default to enabled.
* configure: Regenerate.
* cpu.h (regs_type): Add cycle tracking info.
(reset_pipeline_stats): Declare.
(halt_pipeline_stats): Declare.
(pipeline_stats): Declare.
* main.c (done): Call pipeline_stats().
* mem.h (rx_mem_ptr): Moved to here ...
* mem.c (mem_ptr): ... from here. Rename throughout.
(mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
statistics. Move UART to SCI4.
(mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
* reg.c (init_regs): Set Rt reg to -1 (no reg).
* rx.c: Add cycle counting and statistics throughout.
(rx_get_byte): Optimize for speed.
(decode_opcode): Likewise.
(reset_pipeline_stats): New.
(halt_pipeline_stats): New.
(pipeline_stats): New.
* trace.c (sim_disasm_one): Print cycle count.
[include/opcode]
* rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.
dj [Wed, 28 Jul 2010 21:56:16 +0000 (21:56 +0000)]
* MAINTAINERS: Add self as RX maintainer. Sort list.
hjl [Wed, 28 Jul 2010 21:54:34 +0000 (21:54 +0000)]
Add 0F to VEX opcode enums.
2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c: Add 0F to VEX opcode enums.
rwild [Wed, 28 Jul 2010 21:30:13 +0000 (21:30 +0000)]
gold: running tests in parallel.
gold/:
* configure.ac (AM_INIT_AUTOMAKE): Use parallel-tests option.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
tromey [Wed, 28 Jul 2010 20:50:15 +0000 (20:50 +0000)]
gdb
PR python/11060:
* python/py-type.c (typy_legacy_template_argument): New function,
extracted from typy_template_argument.
(typy_template_argument): Use TYPE_TEMPLATE_ARGUMENT. Return a
value when needed.
gdb/testsuite
PR python/11060:
* gdb.python/py-type.c (Temargs): New template.
(temvar): New variable.
* gdb.python/py-type.exp (test_template): New proc.
tromey [Wed, 28 Jul 2010 20:20:26 +0000 (20:20 +0000)]
2010-07-28 Oleg Nesterov <oleg@redhat.com>
* remote.c (readchar): Call pop_target in case of SERIAL_ERROR.
tromey [Wed, 28 Jul 2010 20:05:00 +0000 (20:05 +0000)]
* dwarf2read.c (dwarf2_const_value_data): Never sign extend.
palves [Wed, 28 Jul 2010 19:04:07 +0000 (19:04 +0000)]
2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
gdb/
* dwarf2read.c (read_subroutine_type): Improve THIS detection,
handling DW_AT_object_pointer, and workaround GCC PR 43053.
gdb/testsuite/
* gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
tromey [Wed, 28 Jul 2010 18:32:32 +0000 (18:32 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove link-warning.h.
brobecke [Wed, 28 Jul 2010 18:04:18 +0000 (18:04 +0000)]
Add missing gettext markup.
gdb/ChangeLog:
* remote.c (remote_download_tracepoint): Add missing gettext markup.
* tracepoint.c (parse_static_tracepoint_marker_definition): Likewise.
brobecke [Wed, 28 Jul 2010 17:57:53 +0000 (17:57 +0000)]
[PATCH] breakpoint_re_set fails while connecting to gdbserver.
This is a problem that I noticed on GNU/Linux, when using both GDB
and GDBserver to debug an Ada program. To reproduce, use any Ada
program, built with debug info ("gnatmake -g ...").
Then start the program with gdbserver:
% gdbserver :4444 simple_main
And then insert a breakpoint using the name of an Ada function,
followed by connecting to the target server:
(gdb) b simple.test_simple
Breakpoint 1 at 0x401f28: file simple.adb, line 16.
(gdb) tar rem :4444
Remote debugging using :4444
Reading symbols from /lib64/ld-linux-x86-64.so.2...
Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
!! -> Error in re-setting breakpoint 1: Can't find member of namespace, class,
!! -> struct, or union named "simple.test_simple"
!! -> Hint: try 'simple.test_simple<TAB> or 'simple.test_simple<ESC-?>
!! -> (Note leading single quote.)
0x00007f4db3cf2af0 in _start () from /lib64/ld-linux-x86-64.so.2
Created trace state variable $trace_timestamp for target's variable 1.
The problem is related to the fact that GDB found debug symbols for
ld.so in /usr/lib/debug. For debugger configured with a prefix that
is different from /usr, one way to force the problem to reproduce is
to use:
(gdb) set debug-file-directory /usr/lib/debug
(assuming that debug info has been installed at that location).
The problem is that the wrong language is used to parse the breakpoint
location because it gets changed from under us as a side effect of
some of the code that we do in prepration for re-parsing. In particular,
breakpoint_re_set_one reads:
set_language (b->language);
input_radix = b->input_radix;
s = b->addr_string;
save_current_space_and_thread ();
switch_to_program_space_and_thread (b->pspace);
marker_spec = b->type == bp_static_tracepoint && is_marker_spec (s);
[if (marker_spec) decode_tracepoint_spec (...) else decode_line_1]
What happens in our case is that debugging information gets found
for ld.so. As a result, the current_frame language is C whereas it
would have been unknown if we did not have debugging info. And
save_current_space_and_thread() implicitly causes the current frame
to be selected, which changes the language automatically if the new
language is not uknown and the the language mode is auto.
The fix, until all parsing routines (including decode_line_1) get upgraded
to take a language, is to select the breakpoint language as late as possible.
In this case, we don't need to do that until we actually try to parse
the breakpoint addr_string.
gdb/ChangeLog:
* breakpoint.c (breakpoint_re_set_one): Move call to set_language
down, just before the block that parse the breakpoint addr_string.
tromey [Wed, 28 Jul 2010 16:23:54 +0000 (16:23 +0000)]
gdb
PR c++/9946:
* symfile.c (reread_symbols): Clear template_symbols.
* symtab.h (struct symbol) <is_cplus_template_function>: New
field.
(SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION): New macro.
(struct template_symbol): New.
* symtab.c (lookup_symbol_aux_local): Use
cp_lookup_symbol_imports_or_template.
* objfiles.h (struct objfile) <template_symbols>: New field.
* objfiles.c (relocate_one_symbol): New function.
(objfile_relocate1): Use it. Relocate isolated symbols.
* gdbtypes.h (struct cplus_struct_type) <n_template_arguments,
template_arguments>: New fields.
(TYPE_N_TEMPLATE_ARGUMENTS): New macro.
(TYPE_TEMPLATE_ARGUMENTS): Likewise.
(TYPE_TEMPLATE_ARGUMENT): Likewise.
(lookup_typename): Update.
* gdbtypes.c (lookup_typename): Constify "block" argument.
* dwarf2read.c: Include vec.h.
(symbolp): New typedef.
(read_func_scope): Read template arguments. Allocate a
template_symbol when needed.
(read_structure_type): Read template arguments.
(new_symbol_full): New function, from new_symbol. Handle
DW_TAG_template_type_param and DW_TAG_template_value_param.
(new_symbol): Rewrite as wrapper.
* cp-support.h (cp_lookup_symbol_imports_or_template): Declare.
* cp-namespace.c: Include language.h.
(search_symbol_list): New function.
(cp_lookup_symbol_imports_or_template): Likewise.
gdb/testsuite
PR c++/9946:
* gdb.cp/temargs.exp: New file.
* gdb.cp/temargs.cc: New file.
hjl [Wed, 28 Jul 2010 16:17:06 +0000 (16:17 +0000)]
Correct date.
hjl [Wed, 28 Jul 2010 15:59:05 +0000 (15:59 +0000)]
Xfail dw2-compress-2 and x86-64-dw2-compress-2.
2010-07-27 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Xfail dw2-compress-2 and
x86-64-dw2-compress-2.
palves [Wed, 28 Jul 2010 12:08:19 +0000 (12:08 +0000)]
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-win.c (make_visible_with_new_height): Resize and move
the command window to the new size and position.
palves [Wed, 28 Jul 2010 12:02:36 +0000 (12:02 +0000)]
tabs vs spaces
palves [Wed, 28 Jul 2010 12:01:21 +0000 (12:01 +0000)]
* tui/tui-win.c (tui_resize_all): Update the locator's origin's
coordinates.
palves [Wed, 28 Jul 2010 11:56:30 +0000 (11:56 +0000)]
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all
after a detecting a resize.
* tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to
call.
palves [Wed, 28 Jul 2010 11:48:20 +0000 (11:48 +0000)]
* configure.ac: Check for resize_term.
* configure, config.in: Regenerate.
amodra [Wed, 28 Jul 2010 09:36:22 +0000 (09:36 +0000)]
PR gas/11841
* symbols.c (symbol_clone): Correct typo in previous patch.
amodra [Wed, 28 Jul 2010 08:43:45 +0000 (08:43 +0000)]
PR gas/11841
* symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
amodra [Wed, 28 Jul 2010 06:43:32 +0000 (06:43 +0000)]
* ldexp.c (exp_print_tree): Print function-like binary nodes as
functions rather than in-fix operators. Use fputs and fputc
where appropriate.
amodra [Wed, 28 Jul 2010 05:21:38 +0000 (05:21 +0000)]
* config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
syntax error message.
brobecke [Wed, 28 Jul 2010 04:09:04 +0000 (04:09 +0000)]
misordered names in Write After Approval list
This patch moves a couple of write-after-approval names up to keep
the list in alphabetical order.
2010-07-27 Joel Brobecker <brobecker@adacore.com>
* MAINTAINERS (Write After Approval): Reorder a couple of entries.
brobecke [Wed, 28 Jul 2010 04:04:17 +0000 (04:04 +0000)]
Minor (space) reformatting.
dj [Wed, 28 Jul 2010 00:36:45 +0000 (00:36 +0000)]
* rx-decode.opc (store_flags): Remove, replace with F_* macros.
(rx_decode_opcode): Likewise.
* rx-decode.c: Regenerate.
gdbadmin [Wed, 28 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 28 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
jkratoch [Tue, 27 Jul 2010 23:18:38 +0000 (23:18 +0000)]
gdb/testsuite/
* gdb.base/help.exp (help disassemble): Update the content.
palves [Tue, 27 Jul 2010 22:26:26 +0000 (22:26 +0000)]
* dwarf2read.c (read_string): Rename to ...
(read_direct_string): ... this.
(skip_one_die, read_attribute_value, dwarf_decode_line_header)
(dwarf_decode_lines, dwarf_decode_macros): Adjust.
jkratoch [Tue, 27 Jul 2010 21:22:07 +0000 (21:22 +0000)]
gdb/
* linux-nat.c (linux_nat_lp_status_is_event): New function.
(count_events_callback, select_event_lwp_callback)
(cancel_breakpoints_callback, linux_nat_wait_1): Use it.
macro [Tue, 27 Jul 2010 21:18:52 +0000 (21:18 +0000)]
* elfxx-mips.h: Include "elf/mips.h".
(gprel16_reloc_p): New static inline function.
* elfxx-mips.c (_bfd_mips_elf_check_relocs)
[R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]:
Use got16_reloc_p.
(_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use
gprel16_reloc_p.
* elf32-mips.c (mips_info_to_howto_rel): Likewise.
* elfn32-mips.c (mips_info_to_howto_rel): Likewise.
macro [Tue, 27 Jul 2010 21:14:45 +0000 (21:14 +0000)]
Fix up last ChangeLog entry in gas/ and bfd/.
macro [Tue, 27 Jul 2010 21:08:32 +0000 (21:08 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rela)
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
[R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela)
[R_MIPS_TLS_DTPMOD32]: Likewise.
[R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
macro [Tue, 27 Jul 2010 21:08:21 +0000 (21:08 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rela)
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
[R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela)
[R_MIPS_TLS_DTPMOD32]: Likewise.
[R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
macro [Tue, 27 Jul 2010 21:04:55 +0000 (21:04 +0000)]
* config/tc-mips.c (mips16_macro_build): Pass "args" by
reference rather than value.
(macro_build): Update accordingly.
macro [Tue, 27 Jul 2010 21:02:26 +0000 (21:02 +0000)]
* config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
a fake label.
jkratoch [Tue, 27 Jul 2010 20:51:37 +0000 (20:51 +0000)]
gdb/
* ia64-linux-nat.c (ia64_linux_status_is_event): New function.
(_initialize_ia64_linux_nat): Install it.
* linux-nat.c (sigtrap_is_event, linux_nat_status_is_event)
(linux_nat_set_status_is_event): New.
(stop_wait_callback, count_events_callback, select_event_lwp_callback)
cancel_breakpoints_callback, linux_nat_filter_event)
(linux_nat_wait_1): Use linux_nat_status_is_event.
* linux-nat.h (linux_nat_set_status_is_event): New prototype.
gdb/testsuite/
* gdb.threads/ia64-sigill.exp: New file.
* gdb.threads/ia64-sigill.c: New file.
tromey [Tue, 27 Jul 2010 20:44:30 +0000 (20:44 +0000)]
* NEWS: Mention labels, .gdb_index.
crq [Tue, 27 Jul 2010 20:33:39 +0000 (20:33 +0000)]
* cli/cli-cmds.c (disassemble_command): Add support of disassemble
"start,+length" form of arguments.
jkratoch [Tue, 27 Jul 2010 19:11:51 +0000 (19:11 +0000)]
gdb/
* top.c (input_from_terminal_p): Return 0 on BATCH_FLAG.
* utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG.
(fputs_maybe_filtered): Do not do filtering also on
! INPUT_FROM_TERMINAL_P.
devans [Tue, 27 Jul 2010 18:13:25 +0000 (18:13 +0000)]
Fix file name mentioned in this entry:
2010-07-27 Ken Werner <ken.werner@de.ibm.com>
* dwarf2read.c (dwarf2_read_index): Initialize the types_list and
types_list_elements variables.
tromey [Tue, 27 Jul 2010 18:08:47 +0000 (18:08 +0000)]
* gdb.opt/inline-cmds.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
(func3): Likewise.
(outer_inline1): Likewise.
(outer_inline2): Likewise.
* gdb.opt/inline-bt.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
* gdb.opt/inline-locals.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
tromey [Tue, 27 Jul 2010 16:58:20 +0000 (16:58 +0000)]
* gdb.stabs/gdb11479.c (hack): New function.
(test): Use it.
(test2): Use it.
* gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
(int32_search_buf, int64_search_buf): No longer static.
(x): Remove.
* gdb.base/relocate.c (hack): New function.
brobecke [Tue, 27 Jul 2010 16:16:32 +0000 (16:16 +0000)]
ARI fix (trailing newline in warning message).
* dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline
in warning message.
pmuldoon [Tue, 27 Jul 2010 12:40:40 +0000 (12:40 +0000)]
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* python/py-value.c (valpy_call): New Function.
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_inferior_function_call): New function.
* gdb.python/py-value.c (func1): New function.
(func2): Likewise.
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Values From Inferior): Add value inferior function
call description.
ian [Tue, 27 Jul 2010 08:22:48 +0000 (08:22 +0000)]
* testsuite/debug_msg.sh: Test mixed weak/strong symbol behavior.
* gold/testsuite/debug_msg.cc: Likewise.
* gold/testsuite/odr_violation1.cc
* gold/testsuite/odr_violation2.cc
kwerner [Tue, 27 Jul 2010 07:57:49 +0000 (07:57 +0000)]
* valops.c (dwarf2_read_index): Initialize the types_list and types_list_elements variables.
gdbadmin [Tue, 27 Jul 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
andyk [Mon, 26 Jul 2010 22:56:24 +0000 (22:56 +0000)]
* setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"
view to "Pending"
tromey [Mon, 26 Jul 2010 20:25:00 +0000 (20:25 +0000)]
* dwarf2loc.c (locexpr_describe_location_piece): Also recognize
TLS with DW_OP_const4u or DW_OP_const8u.
bauermann [Mon, 26 Jul 2010 17:06:24 +0000 (17:06 +0000)]
* ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
VSX registers contents.
corinna [Mon, 26 Jul 2010 12:31:08 +0000 (12:31 +0000)]
* gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
as not to clash with .data section.
guitton [Mon, 26 Jul 2010 09:38:49 +0000 (09:38 +0000)]
gdb/testsuite/
* gdb.base/code_elim.exp: New file.
* gdb.base/code_elim1.c: New file.
* gdb.base/code_elim2.c: New file.
guitton [Mon, 26 Jul 2010 09:29:59 +0000 (09:29 +0000)]
gdb/
* dwarf2read.c (add_partial_symbol): Do not add a global variable if
its adress is null. Add comment to explain why.
(new_symbol): Ditto.
amodra [Mon, 26 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 26 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
keithmarshall [Sun, 25 Jul 2010 20:20:46 +0000 (20:20 +0000)]
Accept that mingwrt headers are not guaranteed to precede GCC's in the system include search path; (issue reported by Mark Brand).
jkratoch [Sun, 25 Jul 2010 10:15:54 +0000 (10:15 +0000)]
gdb/gdbserver/
* server.c (handle_target_event): Use target_signal_to_host for
resume_info.sig initialization.
* target.h (struct thread_resume) <sig>: New comment.
jkratoch [Sun, 25 Jul 2010 09:31:11 +0000 (09:31 +0000)]
gdb/
* linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to
the host signal first.
amodra [Sun, 25 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 25 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ironhead [Sat, 24 Jul 2010 03:01:20 +0000 (03:01 +0000)]
2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/kernel32.def(FatalExit): Correct definiton.
macro [Sat, 24 Jul 2010 01:51:52 +0000 (01:51 +0000)]
gas/
* config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
delay slot in the noreorder mode with the o32 ABI.
gas/testsuite/
* gas/mips/jal-svr4pic-noreorder.d: New test case.
* gas/mips/mips1@jal-svr4pic-noreorder.d: New test
subarchitecture.
* gas/mips/r3000@jal-svr4pic-noreorder.d: Likewise.
* gas/mips/jal-svr4pic-noreorder.s: Source for the new test
case.
* gas/mips/mips.exp: Run the new test case.