OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago PR 10450
ian [Thu, 31 Dec 2009 04:29:20 +0000 (04:29 +0000)]
PR 10450
* output.cc (Output_segment::Output_segment): If PT_TLS, set the
flags to PF_R.
(Output_segment::add_output_section): Don't change the flags if
the type is PT_TLS.

14 years ago * breakpoint.c (watchpoint_check): Expand the function description.
brobecke [Thu, 31 Dec 2009 04:16:30 +0000 (04:16 +0000)]
    * breakpoint.c (watchpoint_check): Expand the function description.

14 years agogdb/
bauermann [Thu, 31 Dec 2009 02:33:33 +0000 (02:33 +0000)]
gdb/
* valarith.c (value_equal_contents): New function.
* value.h (value_equal_contents): Declare.
* breakpoint.c (watchpoint_check): Use value_equal_contents
instead of value_equal.

gdb/testsuite/
* gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
(top level): Call test_watchpoint_in_big_blob.
* gdb.base/watchpoint.c (buf): Change size to value too big for hardware
watchpoints.
(func3): Write to buf.

14 years ago Add default-collect variable.
shebs [Thu, 31 Dec 2009 01:11:06 +0000 (01:11 +0000)]
Add default-collect variable.
* tracepoint.c (default_collect): New global.
(encode_actions): Use it.
(download_tracepoint): Test it, for otherwise
action-less tracepoints.
(_initialize_tracepoint): Add set/show.
* NEWS: Mention default-collect.

* gdb.texinfo (Tracepoint Actions): Describe default-collect.

* gdb.trace/actions.exp: Test default-collect.

14 years ago PR 10450
ian [Wed, 30 Dec 2009 17:29:37 +0000 (17:29 +0000)]
PR 10450
* dynobj.cc (Dynobj::create_gnu_hash_table): Add symbols to the
GNU hash table if they need a dynamic value.  Otherwise, don't add
them if they are defined in a dynamic object or are forced local.

14 years ago PR 10450
ian [Wed, 30 Dec 2009 16:45:32 +0000 (16:45 +0000)]
PR 10450
* layout.cc (Layout::create_dynamic_symtab): Only set entsize of
.gnu.hash table for a 32-bit target.

14 years ago PR 10450
ian [Wed, 30 Dec 2009 16:40:01 +0000 (16:40 +0000)]
PR 10450
* symtab.h (Symbol::needs_dynsym_entry): A symbol in both a
regular and a dynamic object only needs a dynamic symbol table
entry if it is externally visible.

14 years ago PR 10450
ian [Wed, 30 Dec 2009 16:22:06 +0000 (16:22 +0000)]
PR 10450
* i386.cc (class Target_i386): Initialize global_offset_table_ in
constructor.  Add global_offset_table_ field.
(Target_i386::got_section): Set global_offset_table_.
(Target_i386::do_finalize_sections): Set global_offset_table_
size.
* x86_64.cc (class Target_x86_64): Initialize global_offset_table_
in constructor.  Add global_offset_table_ field.
(Target_x86_64::got_section): Set global_offset_table_.
(Target_x86_64::do_finalize_sections): Set global_offset_table_
size.

14 years ago * layout.cc (Layout::Layout): Initialize increase_relro_.
ian [Wed, 30 Dec 2009 15:57:17 +0000 (15:57 +0000)]
* layout.cc (Layout::Layout): Initialize increase_relro_.
(Layout::get_output_section): Add is_relro, is_last_relro, and
is_first_non_relro parameters.  Change all callers.
(Layout::choose_output_section): Likewise.
(Layout::add_output_section_data): Likewise.
(Layout::make_output_section): Likewise.
(Layout::set_segment_offsets): Clear increase_relro when using a
linker script.
* layout.h (class Layout): Add increase_relro method.  Add
increase_relro_ field.  Update declarations.
* output.cc (Output_section::Output_section): Initialize
is_last_relro_ and is_first_non_relro_.
(Output_segment::add_output_section): Group relro sections is
do_sort is true.  Handle is_last_relro and is_first_non_relro.
(Output_segment::maximum_alignment): Remove relro handling.
(Output_segment::set_section_addresses): Add increase_relro
parameter.  Change all callers.  Add initial alignment to align
relro sections on separate page.  Remove old relro handling.
(Output_segment::set_section_list_addresses): Remove in_relro
parameter.  Change all callers.
(Output_segment::set_offset): Add increase parameter.  Change all
callers.  Remove old relro handling.
* output.h (class Output_section): Add new methods: is_last_relro,
set_is_last_relro, is_first_non_relro, set_is_first_non_relro.
Add is_last_relro_ and is_first_non_relro_ fields.
* i386.cc (Target_i386::got_section): Don't call set_is_relro.
Create separate .got.plt section.  Call increase_relro.
* x86_64.cc (Target_x86_64::got_section): Likewise.
* testsuite/relro_script_test.t: Add .got.plt.

14 years ago PR 10450
ian [Wed, 30 Dec 2009 13:16:50 +0000 (13:16 +0000)]
PR 10450
* layout.cc (Layout::Layout): Initialize dynamic_symbol_ field.
(Layout::create_initial_dynamic_sections): Set dynamic_symbol_.
(Layout::finalize): Call set_dynamic_symbol_size.
(Layout::set_dynamic_symbol_size): New function.
* layout.h (class Layout): Add dynamic_symbol_ field.  Declare
set_dynamic_symbol_size.

14 years ago PR 10450
ian [Wed, 30 Dec 2009 13:00:21 +0000 (13:00 +0000)]
PR 10450
* output.h (class Output_section): Add is_entsize_zero_ field.
* output.cc (Output_section::Output_section): Initialize
is_entsize_zero_.
(Output_section::set_entsize): If two different entsizes are
requested, force it to zero.
(Output_section::add_input_section): Set flags for .debug_str
before updating section flags.  Set entsize.
(Output_section::update_flags_for_input_section): Set SHF_MERGE
and SHF_STRING if all input sections have those flags.

14 years ago*** empty log message ***
gdbadmin [Wed, 30 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago * language.c (pointer_type): Un-comment out.
shebs [Wed, 30 Dec 2009 08:57:58 +0000 (08:57 +0000)]
* language.c (pointer_type): Un-comment out.
* ax-gdb.c: Include language.h, use pointer_type throughout
instead of testing TYPE_CODE_PTR.
(gen_fetch): Include TYPE_CODE_REF.
(gen_cast): Ditto.

14 years ago2009-12-29 Rafael Espindola <espindola@google.com>
espindola [Wed, 30 Dec 2009 08:45:10 +0000 (08:45 +0000)]
2009-12-29   Rafael Espindola  <espindola@google.com>

* main.cc (main): Fix the sys time reporting.
* workqueue.cc (Workqueue::find_and_run_task): Fix the sys time reporting.

14 years ago * ax-gdb.c (gen_expr): Handle logical and, logical or, and
shebs [Wed, 30 Dec 2009 08:21:37 +0000 (08:21 +0000)]
* ax-gdb.c (gen_expr): Handle logical and, logical or, and
conditional expressions.

14 years ago* options.cc (General_options::parse_version): Allow -v to exit
tmsriram [Wed, 30 Dec 2009 08:12:15 +0000 (08:12 +0000)]
* options.cc (General_options::parse_version): Allow -v to exit
without an error if there is nothing to link.

14 years agodaily update
amodra [Wed, 30 Dec 2009 08:00:25 +0000 (08:00 +0000)]
daily update

14 years ago * configure.ac: Set the MCMODEL_MEDIUM conditional to false if
ian [Wed, 30 Dec 2009 07:49:13 +0000 (07:49 +0000)]
* configure.ac: Set the MCMODEL_MEDIUM conditional to false if
using a version of gcc before 4.1.
* configure: Rebuild.

14 years ago2009-12-28 Chris Demetriou <cgd@google.com>
cgd [Tue, 29 Dec 2009 15:09:03 +0000 (15:09 +0000)]
2009-12-28  Chris Demetriou  <cgd@google.com>

        * attributes.cc (Output_attributes_section_data::do_write): Use
        std::vector::front rather than std::vector::data.

14 years ago * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
brobecke [Tue, 29 Dec 2009 13:12:11 +0000 (13:12 +0000)]
    * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.

14 years ago * symtab.h (class Symbol_table): Add enum Defined.
ian [Tue, 29 Dec 2009 09:31:48 +0000 (09:31 +0000)]
* symtab.h (class Symbol_table): Add enum Defined.
* resolve.cc (Symbol_table::should_override): Add defined
parameter.  Change all callers.  Test whether object is NULL
before calling a method on it.
(Symbol_table::report_resolve_problem): Add defined parameter.
Change all callers.
(Symbol_table::should_override_with_special): Likewise.
* symtab.cc (Symbol_table::define_in_output_data): Add defined
parameter.  Change all callers.
(Symbol_table::do_define_in_output_data): Likewise.
(Symbol_table::define_in_output_segment): Likewise.
(Symbol_table::do_define_in_output_segment): Likewise.
(Symbol_table::define_as_constant): Likewise.
(Symbol_table::do_define_as_constant): Likewise.
* script.h (class Symbol_assignment): Add is_defsym parameter to
constructor; change all callers.
* script.cc (Script_options::add_symbol_assignment): Add is_defsym
parameter.  Change all callers.  Add is_defsym_ field.
(class Parser_closure): Add parsing_defsym parameter to
constructor; change all callers.  Add parsing_defsym accessor
function.  Add parsing_defsym_ field.

14 years ago * object.cc (Relobj::is_section_name_included): Fix formatting.
ian [Tue, 29 Dec 2009 09:24:31 +0000 (09:24 +0000)]
* object.cc (Relobj::is_section_name_included): Fix formatting.

14 years ago * gold.cc (queue_middle_tasks): Fix formatting.
ian [Tue, 29 Dec 2009 09:22:43 +0000 (09:22 +0000)]
* gold.cc (queue_middle_tasks): Fix formatting.

14 years ago*** empty log message ***
gdbadmin [Tue, 29 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago2009-12-28 Stan Shebs <stan@codesourcery.com>
shebs [Tue, 29 Dec 2009 08:39:07 +0000 (08:39 +0000)]
2009-12-28  Stan Shebs  <stan@codesourcery.com>

Add trace state variables.
* ax.h (enum agent_op): Add getv, setv, and tracev.
(ax_tsv): Declare.
* ax-gdb.c: Include tracepoint.h.
(gen_expr): Handle BINOP_ASSIGN, BINOP_ASSIGN_MODIFY, and
OP_INTERNALVAR.
(gen_expr_binop_rest): New function, split from gen_expr.
* ax-general.c (ax_tsv): New function.
(aop_map): Add new bytecodes.
* tracepoint.h (struct trace_state_variable): New struct.
(tsv_s): New typedef.
(find_trace_state_variable): Declare.
* tracepoint.c (tvariables): New global.
(next_tsv_number): New global.
(create_trace_state_variable): New function.
(find_trace_state_variable): New function.
(delete_trace_state_variable): New function.
(trace_variable_command): New function.
(delete_trace_variable_command): New function.
(tvariables_info): New function.
(trace_start_command): Download tsvs with initial values.
(_initialize_tracepoint): Add new commands.
* NEWS: Mention the addition of trace state variables.

==> doc/ChangeLog <==
2009-12-28  Stan Shebs  <stan@codesourcery.com>

* gdb.texinfo (Trace State Variables): New section.
(Tracepoint Packets): Describe trace state variable packets.
* agentexpr.texi (Bytecode Descriptions): Describe trace state
variable bytecodes.

==> testsuite/ChangeLog <==
2009-12-28  Stan Shebs  <stan@codesourcery.com>

* gdb.trace/tsv.exp: New file.
* gdb.base/completion.exp: Update ambiguous info output.

14 years agodaily update
amodra [Tue, 29 Dec 2009 08:00:21 +0000 (08:00 +0000)]
daily update

14 years ago * gdb.base/find.c (main): Reference search buffers.
drow [Tue, 29 Dec 2009 06:45:24 +0000 (06:45 +0000)]
* gdb.base/find.c (main): Reference search buffers.
* gdb.base/included.c (main): Reference integer.
* gdb.base/ptype.c (charfoo): Declare.
(intfoo): Call charfoo.
* gdb.base/scope0.c (useitp): New function.
(usestatics): Use useitp.
(useit): Add a type for val.
* gdb.base/scope1.c (useit1): Take a pointer argument.
(usestatics1): Update calls to useit1.
* gdb.cp/call-c.cc: Declare foo.
(main): Call foo.
* gdb.cp/m-static.cc (main): Reference test4.elsewhere.
* gdb.cp/namespace.cc (ensureOtherRefs): Declare.
(main): Call C::ensureRefs and ensureOtherRefs.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
variables.
(ensureOtherRefs): New function.
* gdb.cp/overload.cc (main): Call all overloadNamespace variants.
* gdb.cp/templates.cc (main): Call t5i.value.

14 years ago * NEWS: Document "info variables" change.
drow [Tue, 29 Dec 2009 06:29:53 +0000 (06:29 +0000)]
* NEWS: Document "info variables" change.
* dwarf2read.c (new_symbol): Add file-scope external unresolved
symbols to global_symbols.
* symtab.c (search_symbols): Skip LOC_UNRESOLVED symbols.

doc/
* gdb.texinfo (Symbols): "info variables" prints definitions, not
declarations.

14 years ago * defs.h (print_address_symbolic, build_address_symbolic): Update
drow [Tue, 29 Dec 2009 06:12:24 +0000 (06:12 +0000)]
* defs.h (print_address_symbolic, build_address_symbolic): Update
prototypes.
* printcmd.c (print_address_symbolic): Take a gdbarch argument.
Pass it to build_address_symbolic.  All callers updated.
(build_address_symbolic): Take a gdbarch argument.  Use
gdbarch_addr_bits_remove for functions.  All callers updated.

14 years ago * linux-low.c: Delete inclusion of ansidecl.h, elf/common.h,
devans [Tue, 29 Dec 2009 04:45:56 +0000 (04:45 +0000)]
* linux-low.c: Delete inclusion of ansidecl.h, elf/common.h,
elf/external.h.  Include <elf.h> instead but only if necessary.

14 years ago bfd/
dgutson [Tue, 29 Dec 2009 03:55:15 +0000 (03:55 +0000)]
    bfd/
        * elf32-arm.c (elf32_arm_final_link_relocate): limits
        fixed.

        ld/testsuite/
        * ld-arm/arm-elf.exp (armelftests): New test case added.
        * ld-arm/reloc-boundaries.s: New file.
        * ld-arm/reloc-boundaries.d: New file.

14 years ago2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
dgutson [Tue, 29 Dec 2009 03:44:54 +0000 (03:44 +0000)]
2009-12-28  Daniel Gutson  <dgutson@codesourcery.com>

        * ld-arm/arm-elf.exp: Run missing test
        from a previous commit (callweak-2).

14 years ago2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
dgutson [Tue, 29 Dec 2009 03:37:30 +0000 (03:37 +0000)]
2009-12-28  Daniel Gutson  <dgutson@codesourcery.com>

        * elf-attrs.c (_bfd_elf_merge_object_attributes): Error
        message rephrased.

14 years ago2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
dgutson [Tue, 29 Dec 2009 03:27:41 +0000 (03:27 +0000)]
2009-12-28  Daniel Gutson  <dgutson@codesourcery.com>

        * doc/c-arm.texi: Document NEON alignment specifiers.

14 years ago * fhandler.h (fhandler_socket::wait_for_events): Drop parameter default
corinna [Tue, 29 Dec 2009 02:24:02 +0000 (02:24 +0000)]
* fhandler.h (fhandler_socket::wait_for_events): Drop parameter default
value.
* fhandler_socket.cc (fhandler_socket::connect): Add false as second
parameter to wait_for_events call.
(fhandler_socket::accept): Ditto.
(fhandler_socket::send_internal): Fix typo in call to wait_for_events.

14 years ago * ax-gdb.c (gen_expr) <OP_THIS>: Lookup `this' in the context of
palves [Tue, 29 Dec 2009 01:49:14 +0000 (01:49 +0000)]
* ax-gdb.c (gen_expr) <OP_THIS>: Lookup `this' in the context of
the tracepoint, not of the selected frame and language.

14 years ago * linux-low.c (linux_remove_process): Remove `detaching'
palves [Tue, 29 Dec 2009 01:09:27 +0000 (01:09 +0000)]
* linux-low.c (linux_remove_process): Remove `detaching'
parameter.  Don't release/detach from thread_db here.
(linux_kill): Release/detach from thread_db here, ...
(linux_detach): ... and here, before actually detaching.
(linux_wait_1): ... and here, when a process exits.
* thread-db.c (any_thread_of): New.
(thread_db_free): Switch the current inferior to a thread of the
passed in process.

14 years ago*** empty log message ***
gdbadmin [Mon, 28 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 28 Dec 2009 08:00:18 +0000 (08:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 27 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 27 Dec 2009 08:00:15 +0000 (08:00 +0000)]
daily update

14 years agoMake pty.h match recent glibc.
ericb [Sat, 26 Dec 2009 15:20:55 +0000 (15:20 +0000)]
Make pty.h match recent glibc.

* include/pty.h (openpty, forkpty): Mark last two arguments const,
to match glibc 2.8.
* libc/bsdlib.cc (openpty, forkpty): Likewise.

14 years ago*** empty log message ***
gdbadmin [Sat, 26 Dec 2009 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sat, 26 Dec 2009 08:00:11 +0000 (08:00 +0000)]
daily update

14 years ago* fhandler_console.cc (handler_console::read): Use the tty's VERASE character
cgf [Sat, 26 Dec 2009 02:38:46 +0000 (02:38 +0000)]
* fhandler_console.cc (handler_console::read): Use the tty's VERASE character
as the backspace keycode.

14 years ago*** empty log message ***
gdbadmin [Fri, 25 Dec 2009 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years agogdb/testsuite/
jkratoch [Fri, 25 Dec 2009 06:57:06 +0000 (06:57 +0000)]
gdb/testsuite/
Fix compatibility with G++-4.5.
* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
(uncaught return): Remove.

14 years ago * path.cc (symlink_info::check): Set fileattr to
corinna [Thu, 24 Dec 2009 21:53:43 +0000 (21:53 +0000)]
* path.cc (symlink_info::check): Set fileattr to
FILE_ATTRIBUTE_DIRECTORY in a certain error condition.  Explain why.

14 years ago * x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
ian [Thu, 24 Dec 2009 16:48:14 +0000 (16:48 +0000)]
* x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
-fsplit-stack prologue when using %r11.

14 years ago2009-12-23 Stan Shebs <stan@codesourcery.com>
shebs [Thu, 24 Dec 2009 10:42:02 +0000 (10:42 +0000)]
2009-12-23  Stan Shebs  <stan@codesourcery.com>

* ax-gdb.c (gen_expr): Handle OP_THIS.

14 years ago2009-12-23 Stan Shebs <stan@codesourcery.com>
shebs [Thu, 24 Dec 2009 09:40:48 +0000 (09:40 +0000)]
2009-12-23  Stan Shebs  <stan@codesourcery.com>

* ax-gdb.h (gen_trace_for_var): Declare.
* ax-gdb.c (gen_trace_for_var): New function.
* dwarf2loc.c (dwarf_expr_frame_base_1): New function, split from...
(dwarf_expr_frame_base): ...here.
(dwarf2_tracepoint_var_ref): Add computed location case.
* tracepoint.c (collect_symbol): Add scope arg and LOC_COMPUTED
case.
(add_local_symbols): Update call to collect_symbol.
(encode_actions): Ditto.

14 years ago*** empty log message ***
gdbadmin [Thu, 24 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago * i386.cc (Target_i386::do_calls_non_split): Recognize
ian [Thu, 24 Dec 2009 08:53:43 +0000 (08:53 +0000)]
* i386.cc (Target_i386::do_calls_non_split): Recognize
-fsplit-stack prologue for a function with a static chain.

14 years ago2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
tromey [Thu, 24 Dec 2009 08:21:29 +0000 (08:21 +0000)]
2009-12-23  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

PR gdb/11110
* tracepoint.h (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Declare extern.
* tracepoint.c (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Define.

14 years agogdb/
jkratoch [Thu, 24 Dec 2009 08:18:08 +0000 (08:18 +0000)]
gdb/
* breakpoint.c (bpstat_stop_status): Iterate using ALL_BREAKPOINTS and
the B->LOC list.  Remove gdb_assert on B.  Change bp_hardware_watchpoint
continue to break.  Remove variable update_locations.  Remove HIT_COUNT
increment protection by an ENABLE_STATE check.  Inline the delayed
update_global_location_list call.

gdb/testsuite/
* gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
(bp_location13, bp_location14, bp_location17, bp_location18)
(marker3_proto, marker4_proto): New variables.
(breakpoint info): Update output.
(run until breakpoint at marker3, run until breakpoint at marker4): New
tests.

14 years agodaily update
amodra [Thu, 24 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years agogdb/
jkratoch [Thu, 24 Dec 2009 07:24:48 +0000 (07:24 +0000)]
gdb/
* breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
(print_breakpoint_location): New comment.  Check LOC->SHLIB_DISABLED.
Check LOC validity before printing it.  Use LOC instead of B->LOC.
Swap the if conditionals order.

gdb/testsuite/
* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
Replace the printf call of Y by provided "y-set-1" label.  New block
for the second shared library.
* gdb.base/unload.exp: Compile also the second library, call
gdb_load_shlibs also for it.  Use now gdb_breakpoint.
(single pending breakpoint info): Rename to ...
(pending breakpoint info before run): ... this extended test.
(libfile2, libname2, libsrcfile2, libsrc2)
(lib_sl2): New variables.
(exec_opts): Set also SHLIB_NAME2.
(pending breakpoint info on first run at shrfunc1)
(pending breakpoint info on second run at shrfunc1)
(pending breakpoint info on second run at shrfunc2)
(print y from libfile, print y from libfile2): New tests.
* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
* gdb.base/unloadshr2.c: New.

14 years ago * Makefile.in (SFILES): Add exceptions.c.
tromey [Thu, 24 Dec 2009 05:28:44 +0000 (05:28 +0000)]
* Makefile.in (SFILES): Add exceptions.c.

14 years ago * pathnames.sgml (mount-table): Add missing slash in pathname.
corinna [Wed, 23 Dec 2009 19:43:45 +0000 (19:43 +0000)]
* pathnames.sgml (mount-table): Add missing slash in pathname.

14 years ago* rx/rx.c (decode_opcode): btst bit address mask fix.
dj [Wed, 23 Dec 2009 12:51:47 +0000 (12:51 +0000)]
* rx/rx.c (decode_opcode): btst bit address mask fix.

14 years ago* select.cc (fhandler_fifo::select_read): Fill in device specific record.
cgf [Wed, 23 Dec 2009 09:35:18 +0000 (09:35 +0000)]
* select.cc (fhandler_fifo::select_read): Fill in device specific record.
(fhandler_fifo::select_write): Ditto.
(fhandler_fifo::select_except): Ditto.

14 years ago*** empty log message ***
gdbadmin [Wed, 23 Dec 2009 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 23 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years agoGDB 7.0.1 released.
gdbadmin [Wed, 23 Dec 2009 03:06:01 +0000 (03:06 +0000)]
GDB 7.0.1 released.

14 years agoFix getsubopt declaration.
ericb [Tue, 22 Dec 2009 22:07:23 +0000 (22:07 +0000)]
Fix getsubopt declaration.

* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.

14 years ago2009-12-22 Hui Zhu <teawater@gmail.com>
teawater [Tue, 22 Dec 2009 12:16:39 +0000 (12:16 +0000)]
2009-12-22  Hui Zhu  <teawater@gmail.com>

* record.c (record_message): Change argument.
(record_message_wrapper): New function.
(do_record_message): Change it name to
"record_message_wrapper_safe".
Let it call "record_message_wrapper".
(record_resume_error): Deleted.
(record_resume): Call "record_message".
(record_wait): Deleted record_resume_error.
Call "record_message_wrapper_safe".
Set status when do_record_message need stop the inferior.

2009-12-22  Hui Zhu  <teawater@gmail.com>

* gdb.reverse/sigall-reverse.exp: Adjust.

14 years ago2009-12-21 Sriraman Tallam <tmsriram@google.com>
tmsriram [Tue, 22 Dec 2009 10:33:43 +0000 (10:33 +0000)]
2009-12-21  Sriraman Tallam  <tmsriram@google.com>

* options.cc (General_options::parse_version): Make -v continue and do
the link like GNU ld does.

14 years ago * linux-x86-low.c: Delete outdated comment about Elf32_Phdr.
devans [Tue, 22 Dec 2009 09:18:13 +0000 (09:18 +0000)]
* linux-x86-low.c: Delete outdated comment about Elf32_Phdr.

14 years ago*** empty log message ***
gdbadmin [Tue, 22 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Tue, 22 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago gdb/
devans [Tue, 22 Dec 2009 06:23:42 +0000 (06:23 +0000)]
gdb/
* linux-nat.c (kill_lwp): Minor cleanup, move definition of
tkill_failed into ifdef HAVE_TKILL_SYSCALL.  Move setting of errno
there too.  Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdbserver/linux-low.c:kill_lwp.

gdbserver/
* linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill.
Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc
warning ifndef __NR_tkill.  Move setting of errno there too.
Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdb/linux-nat.c:kill_lwp.

14 years ago * configure.ac: Check for dladdr.
devans [Tue, 22 Dec 2009 05:52:52 +0000 (05:52 +0000)]
* configure.ac: Check for dladdr.
* config.in: Regenerate.
* configure: Regenerate.
* thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR.
(try_thread_db_load): Update.

14 years ago * linux-low.c (my_waitpid): Delete unnecessary prototype.
devans [Tue, 22 Dec 2009 02:54:03 +0000 (02:54 +0000)]
* linux-low.c (my_waitpid): Delete unnecessary prototype.

14 years ago * path.cc (cygwin_conv_path): Add band-aid including comment to avoid
corinna [Tue, 22 Dec 2009 01:44:37 +0000 (01:44 +0000)]
* path.cc (cygwin_conv_path): Add band-aid including comment to avoid
conversion from POSIX "." to Win32 ".\\".

14 years ago * exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
corinna [Tue, 22 Dec 2009 00:16:27 +0000 (00:16 +0000)]
* exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
a NULL return when executable isn't found in $PATH.  Convert NULL
to "".
(execvpe): Ditto.
* spawn.cc (spawn_guts): Return with EFAULT if prog_arg is NULL.
Return with ENOENT if prog_arg is empty string.  Add a comment.

14 years agoFix typo in filename.
brobecke [Mon, 21 Dec 2009 22:23:25 +0000 (22:23 +0000)]
Fix typo in filename.

14 years agoFix Thumb2 bl range options.
ramana [Mon, 21 Dec 2009 21:56:41 +0000 (21:56 +0000)]
Fix Thumb2 bl range options.

2009-12-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored
        from md_apply_fix.
        (md_apply_fix): Fixup range checks for Thumb2 version
        of unconditional calls. Call encode_thumb2_b_bl_offset for
        unconditional branches / function calls.

14 years ago * MAINTAINERS: Update my email address.
amodra [Mon, 21 Dec 2009 19:27:20 +0000 (19:27 +0000)]
* MAINTAINERS: Update my email address.

14 years ago * MAINTAINERS: Update my email address.
amodra [Mon, 21 Dec 2009 19:21:16 +0000 (19:21 +0000)]
* MAINTAINERS: Update my email address.

14 years ago * elf64-ppc.c: Delete my email address.
amodra [Mon, 21 Dec 2009 19:21:01 +0000 (19:21 +0000)]
* elf64-ppc.c: Delete my email address.

14 years ago * fhandler_console.cc (get_nonascii_key): Generate ESC prefix
corinna [Mon, 21 Dec 2009 19:11:27 +0000 (19:11 +0000)]
* fhandler_console.cc (get_nonascii_key): Generate ESC prefix
for Alt modifier generically for function keys and keypad keys.
Distinguish Normal, Ctrl, Shift, Ctrl-Shift rather
than Normal, Ctrl, Shift, Alt, so that in combination with generic
Alt handling all 8 combinations of these modifiers are distinguished.
(keytable): Add escape sequences for remaining modified
function keys as a compatible extension using rxvt escape codes.
Also distinguish keypad keys modified with Ctrl, Shift, Ctrl-Shift
using xterm-style modifier coding.

14 years ago * mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.
vprus [Mon, 21 Dec 2009 19:02:04 +0000 (19:02 +0000)]
* mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.

14 years ago PR gdb/10884
vprus [Mon, 21 Dec 2009 18:50:26 +0000 (18:50 +0000)]
PR gdb/10884

* value.c (value_primitive_field): Call check_typedef
on the type.

14 years ago Throughout, revert ill-conceived replacement of hMainThread with
corinna [Mon, 21 Dec 2009 18:38:24 +0000 (18:38 +0000)]
Throughout, revert ill-conceived replacement of hMainThread with
GetCurrentThread/NtCurrentThread.
* dcrt0.cc (dll_crt0_0): Duplicate main thread handle to hMainThread
again.

14 years ago * COPYING: Update to GPL version 3.
brobecke [Mon, 21 Dec 2009 16:40:04 +0000 (16:40 +0000)]
    * COPYING: Update to GPL version 3.

14 years ago * gpl.texi: Update to version 3 of the GPL.
brobecke [Mon, 21 Dec 2009 16:30:10 +0000 (16:30 +0000)]
    * gpl.texi: Update to version 3 of the GPL.

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 21 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago2009-12-20 Michael Snyder <msnyder@vmware.com>
msnyder [Mon, 21 Dec 2009 04:09:37 +0000 (04:09 +0000)]
2009-12-20  Michael Snyder  <msnyder@vmware.com>

* amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.

14 years ago * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
brobecke [Sun, 20 Dec 2009 20:55:24 +0000 (20:55 +0000)]
    * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
        gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
        gdb.base/watch_thread_num.c, gdb.java/jprint.java,
        gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
        gdb.modula2/unbounded1.c: Update copyright header.

14 years ago * Makefile.in: Update copyright header.
brobecke [Sun, 20 Dec 2009 20:53:07 +0000 (20:53 +0000)]
    * Makefile.in: Update copyright header.
        * observer.texi: Fix the copyright header of the generated files.

14 years ago * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
brobecke [Sun, 20 Dec 2009 20:51:26 +0000 (20:51 +0000)]
    * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
        regformats/regdat.sh, features/Makefile: Update copyright header.

14 years ago*** empty log message ***
gdbadmin [Sun, 20 Dec 2009 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 20 Dec 2009 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago * gas/xc16x/xc16x.exp (*): Add missing " in timeout cases.
devans [Sun, 20 Dec 2009 04:34:07 +0000 (04:34 +0000)]
* gas/xc16x/xc16x.exp (*): Add missing " in timeout cases.

14 years agoReplace VexNDS, VexNDD and VexLWP with VexVVVV.
hjl [Sun, 20 Dec 2009 03:36:26 +0000 (03:36 +0000)]
Replace VexNDS, VexNDD and VexLWP with VexVVVV.

gas/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check vexvvvv instead
of vexnds and vexndd.
(build_modrm_byte): Check vexvvvv instead of vexnds, vexndd
and vexlwp.

opcodes/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove VexNDS, VexNDD and
VexLWP.  Add VexVVVV.

* i386-opc.h (VexNDS): Removed.
(VexNDD): Likewise.
(VexLWP): Likewise.
(VEXXDS): New.
(VEXNDD): Likewise.
(VEXLWP): Likewise.
(VexVVVV): Likewise.
(i386_opcode_modifier): Remove vexnds, vexndd and vexlwp.
Add vexvvvv.

* i386-opc.tbl: Replace VexNDS with VexVVVV=1, VexNDD with
VexVVVV=2 and VexLWP with VexVVVV=3.
* i386-tbl.h: Regenerated.

14 years ago * fhandler_console.cc (__vt100_conv): Minor formatting change.
corinna [Sun, 20 Dec 2009 00:40:31 +0000 (00:40 +0000)]
* fhandler_console.cc (__vt100_conv): Minor formatting change.

14 years ago * fhandler_console.cc (write_console): Check for VT100
corinna [Sun, 20 Dec 2009 00:37:09 +0000 (00:37 +0000)]
* fhandler_console.cc (write_console): Check for VT100
graphics mode and transform wide characters in ASCII small
letter range to corresponding graphics.
(__vt100_conv): Table to transform small ASCII letters to line
drawing graphics for use in VT100 graphics mode.
(write_normal): Check for SO/SI control characters to
enable/disable VT100 graphics mode.
(base_chars): Enable SO/SI control characters for detection.
(write): Check for ESC ( 0 / ESC ( B escape sequences to
enable/disable VT100 graphics mode. Also detect ">" while
parsing ESC [ sequences to distinguish specific requests.
(char_command): Distinguish Secondary from Primary Device Attribute
request to report more details about cygwin console terminal version.
* fhandler.h (vt100_graphics_mode_active): New flag to indicate mode.
(saw_greater_than_sign): New parse flag for ESC [ > sequences.
(gotparen, gotrparen): New state values to parse ESC ( / ) sequences.

* fhandler_console.cc (read): Allow combined Alt-AltGr modifiers
to also produce an ESC prefix like a plain Alt modifier, e.g. to make
Alt-@ work on a keyboard where @ is AltGr-q.

14 years ago * event-loop.c: Include unistd.h if it exists.
devans [Sat, 19 Dec 2009 10:24:51 +0000 (10:24 +0000)]
* event-loop.c: Include unistd.h if it exists.

14 years ago * linux-low.c (my_waitpid): Move definition away from being in
devans [Sat, 19 Dec 2009 10:16:22 +0000 (10:16 +0000)]
* linux-low.c (my_waitpid): Move definition away from being in
between linux_tracefork_child/linux_test_for_tracefork.