OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago * remote.c (append_resumption): New.
palves [Wed, 1 Apr 2009 17:41:55 +0000 (17:41 +0000)]
* remote.c (append_resumption): New.
(remote_vcont_resume): Use it.

15 years ago2009-04-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 1 Apr 2009 17:30:34 +0000 (17:30 +0000)]
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (EM_INTEL178): Removed.
(EM_INTEL179): Likewise.
(EM_ETPU): New.
(EM_SLE9X): Likewise.
(EM_INTEL181): Likewise.
(EM_INTEL182): Likewise.

15 years agobinutils/ChangeLog
davek [Wed, 1 Apr 2009 17:20:18 +0000 (17:20 +0000)]
binutils/ChangeLog

* dlltool.c (set_dll_name_from_def):  Accept new second arg that
indicates if we are building DLL or EXE, and use it to add a
default suffix to the output filename when none is already present.
(def_name):  Indicate we are building an EXE when calling it.
(def_library):  Indicate we are building a DLL when calling it.

ld/testsuite/ChangeLog

* ld-cygwin/exe-export.exp:  Add "-lkernel32" when linking test exe.
* ld-cygwin/testexe.c (testexe_main):  Indicate whether global_a
was set to correct final value using error return status.
(testexe_dummy):  Dummy function calls an import from kernel32.dll
to ensure it is mapped into the process space at runtime.

15 years ago * faq-using.xml (faq.using.symlinkstoppedworking): Rename.
corinna [Wed, 1 Apr 2009 16:56:08 +0000 (16:56 +0000)]
* faq-using.xml (faq.using.symlinkstoppedworking): Rename.
(faq.using.ipv6): New IPv6 FAQ.
* gdb.sgml: Remove incorrect statement about Insight.

15 years ago2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
ramana [Wed, 1 Apr 2009 16:49:28 +0000 (16:49 +0000)]
2009-04-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
(find_real_start): Likewise.
* config/tc-arm.h (TC_VALIDATE_FIX): Likewise

15 years ago * windows-nat.c (+windows_get_ada_task_ptid): New function.
brobecke [Wed, 1 Apr 2009 16:35:40 +0000 (16:35 +0000)]
    * windows-nat.c (+windows_get_ada_task_ptid): New function.
        (init_windows_ops): Set windows_ops.to_get_ada_task_ptid.

15 years ago2009-04-01 Christophe Lyon <christophe.lyon@st.com>
clyon [Wed, 1 Apr 2009 15:45:12 +0000 (15:45 +0000)]
2009-04-01  Christophe Lyon  <christophe.lyon@st.com>

opcodes/
* arm-dis.c (print_insn): Print BE8 opcodes in little endianness.

ld/testsuite/
* ld-arm/arm-elf.exp: BE8 tests expect the same output as the
default ones.
* ld-arm/arm-be8.d: Print opcodes in little endian.
* ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result.
* ld-arm/farcall-arm-arm-be8.d: Likewise.

15 years ago2009-04-01 Christophe Lyon <christophe.lyon@st.com>
clyon [Wed, 1 Apr 2009 15:34:11 +0000 (15:34 +0000)]
2009-04-01  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (group_sections): Rewrite loops for better
readability.

15 years ago PR 9972
nickc [Wed, 1 Apr 2009 14:57:10 +0000 (14:57 +0000)]
    PR 9972
        * doc/binutils.texi (strings): Document the -V alias for the
        --version option.
        * strings.c (usage): Likewise.

15 years ago * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
nathan [Wed, 1 Apr 2009 14:02:53 +0000 (14:02 +0000)]
* config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
(arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
whenever possible.

testsuite/
* gas/arm/align.s, gas/arm/align.d: New.
* gas/arm/thumb32.d, gas/arm/arch6zk.d, gas/arm/arch6zk.s,
arm/thumb2_relax.d: Adjust for align changes.

15 years ago * strfuncs.cc (sys_cp_mbstowcs): Check if ASCII SO is followed by at
corinna [Wed, 1 Apr 2009 09:49:25 +0000 (09:49 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Check if ASCII SO is followed by at
least two chars and the next byte is a valid UTF-8 start byte before
trying to convert the followup bytes as UTF-8 sequence.

15 years agogas/
bergner [Wed, 1 Apr 2009 01:41:05 +0000 (01:41 +0000)]
gas/
* config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.

gas/testsuite/
* gas/ppc/power7.d ("ori", ".p2align"): Add tests for group ending nop.
* gas/ppc/power7.s: Likewise.
* gas/ppc/power6.d: Likewise.
* gas/ppc/power6.s: Likewise.

15 years agomerge from gcc
dj [Wed, 1 Apr 2009 01:23:18 +0000 (01:23 +0000)]
merge from gcc

15 years agodaily update
amodra [Wed, 1 Apr 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 1 Apr 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * server.c (main): After the inferior having exited, call
palves [Tue, 31 Mar 2009 22:46:36 +0000 (22:46 +0000)]
* server.c (main): After the inferior having exited, call
remote_close before exiting gdbserver.

15 years ago[obvious] Kill left-over merge marker
ppluzhnikov [Tue, 31 Mar 2009 22:39:27 +0000 (22:39 +0000)]
[obvious] Kill left-over merge marker

15 years ago2009-03-31 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 31 Mar 2009 21:19:02 +0000 (21:19 +0000)]
2009-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (EM_INTEL178): New.
(EM_INTEL179): Likewise.
(EM_INTEL180): Likewise.

15 years agogdb
tromey [Tue, 31 Mar 2009 20:20:58 +0000 (20:20 +0000)]
gdb

2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
    Keith Seitz  <keiths@redhat.com>
    Jan Kratochvil  <jan.kratochvil@redhat.com>

PR gdb/6817
* Makefile.in (dbxread.o): Update.
* dbxread.c (read_dbx_symtab): Use cp_canonicalize_string.
* dwarf2read.c (GDB_FORM_cached_string): New.
(read_partial_die): Use dwarf2_canonicalize_name.
(dwarf2_linkage_name): Use dwarf2_name.
(dwarf2_canonicalize_name): New.
(dwarf2_name): Use dwarf2_canonicalize_name.
(dwarf_form_name, dump_die): Handle GDB_FORM_cached_string.
* stabsread.c (define_symbol, read_type): Use cp_canonicalize_string.
* symtab.c (lookup_symbol_in_language): Canonicalize input before
searching.
* cp-name-parser.y: operator() requires two parameters,
according to libiberty.
* minsyms.c (lookup_minimal_symbol): Canonicalize input
before searching.
* NEWS: Update.

gdb/testsuite

2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
    Jan Kratochvil  <jan.kratochvil@redhat.com>

PR gdb/931
* gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
output.
* gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
for gdb/931.
* dw2-strp.S (DW_AT_language): Change to C++.
(DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.

15 years ago * gdb.texinfo (Ada Tasks): Add documentation about task-specific
brobecke [Tue, 31 Mar 2009 16:51:01 +0000 (16:51 +0000)]
    * gdb.texinfo (Ada Tasks): Add documentation about task-specific
        breakpoints.
        (Set Breaks): Add reference to thread-specific and task-specific
        breakpoints.

15 years ago * gdb.ada/tasks: New testcase.
brobecke [Tue, 31 Mar 2009 16:48:48 +0000 (16:48 +0000)]
    * gdb.ada/tasks: New testcase.

15 years ago Provide support for (Ada) task-specific breakpoints.
brobecke [Tue, 31 Mar 2009 16:44:17 +0000 (16:44 +0000)]
    Provide support for (Ada) task-specific breakpoints.

        * ada-lang.h (ada_get_task_number): Add declaration.
        (breakpoint_ada_task_match): Delete declaration.
        * ada-tasks.c (ada_get_task_number): Make non-static.
        * breakpoint.h (struct breakpoint): Add field "task".
        * breakpoint.c (print_one_breakpoint_location): Add handling of
        task-specific breakpoints.
        (create_breakpoint, create_breakpoints, find_condition_and_thread):
        New parameter "task".
        (break_command_really): Update calls to find_condition_and_thread
        and create_breakpoints.
        (breakpoint_re_set_one): Update call to find_condition_and_thread.
        Set b->task.

15 years ago * gdb.texinfo (Ada Tasks): Remove the documentation about
brobecke [Tue, 31 Mar 2009 16:33:35 +0000 (16:33 +0000)]
    * gdb.texinfo (Ada Tasks): Remove the documentation about
        the "Running" state, as this state has been eliminated.
        Now all runnable tasks are shown as "Runnable".

15 years ago * ada-tasks.c (short_task_info): Eliminate the "Running" task state.
brobecke [Tue, 31 Mar 2009 16:31:23 +0000 (16:31 +0000)]
    * ada-tasks.c (short_task_info): Eliminate the "Running" task state.

15 years ago * remote.c (remote_notice_new_inferior): Use ptid_is_pid. Check
palves [Tue, 31 Mar 2009 15:23:54 +0000 (15:23 +0000)]
* remote.c (remote_notice_new_inferior): Use ptid_is_pid.  Check
if the thread's ptid without a thread id field is in the list
before calling thread_change_ptid.
(extended_remote_attach_1): In non-stop mode, do not rely on
querying the current thread, instead, query the thread list, and
select the first thread of the process.
* gdbthread.h (first_thread_of_process): Declare.
* thread.c (first_thread_of_process): Define.

15 years ago * shm.cc (struct shm_attached_list): Convert access type to ULONG.
corinna [Tue, 31 Mar 2009 14:58:13 +0000 (14:58 +0000)]
* shm.cc (struct shm_attached_list): Convert access type to ULONG.
(fixup_shms_after_fork): Fix comment.  Use NtMapViewOfSection rather
than MapViewOfFileEx to recreate shared memory regions.  Add function
name to api_fatal output.
(shmat): Use NtMapViewOfSection to create shared memory region
top-down.

15 years ago * setup2.sgml (setup-locale-problems): Fix an incomplete sentence.
corinna [Tue, 31 Mar 2009 11:17:08 +0000 (11:17 +0000)]
* setup2.sgml (setup-locale-problems): Fix an incomplete sentence.

15 years ago * faq-using.xml (faq.using.unicode): Modernize.
corinna [Tue, 31 Mar 2009 10:54:28 +0000 (10:54 +0000)]
* faq-using.xml (faq.using.unicode): Modernize.
(faq.api.symlinkstoppedworking): Move here from faq-api.xml.

15 years ago * ctype.cc: Remove implementation of ctype functions in favor of
corinna [Tue, 31 Mar 2009 09:42:57 +0000 (09:42 +0000)]
* ctype.cc: Remove implementation of ctype functions in favor of
pointer-based newlib implementation.
(_ctype_b): Declare.
(__ctype_cp): Move to newlib. Declare.
(__ctype_iso): Ditto.
(__set_ctype): Implement changing __ctype_ptr__.  Only copy character
class data in applications built under older Cygwin.
* cygwin.din (__ctype_ptr__): Export.
* include/ctype.h: Remove in favor of newlib implementation.
* include/cygwin/config.h (__EXPORT): Define alongside __IMPORT.
* include/cygwin/version.h (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE):
Define check for old vs. new ctype implementation.
Bump API minor number.

15 years ago * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
corinna [Tue, 31 Mar 2009 09:31:37 +0000 (09:31 +0000)]
* libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
source files.  Add a dependency rule for ctype_o to note
changes in ctype_iso.h and ctype_cp.h.
* libc/ctype/Makefile.in: Regenerate.
* libc/ctype/_tolower.c: Remove file.
* libc/ctype/_toupper.c: Remove file.
* libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
is always defined on Cygwin.
(_ctype_b): Don't make `static const' on Cygwin.
(ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
(ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
(__ctype_ptr): Drop definition.
(__ctype_ptr__): De-constify.  Mark as __EXPORT symbol.
(_ctype_): Add Cygwin-specifc asm define.
(__set_ctype): New function to set __ctype_ptr__ according to
current charset.
* libc/ctype/ctype_cp.h: New file containing Windows codepage
specific character class tables.
* libc/ctype/ctype_iso.h: New file containing ISO-8859-x
specific character class tables.
* libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
charset if one of the extended charsets is enabled.
* libc/ctype/toupper.c (toupper): Ditto.
* libc/include/ctype.h (_tolower): Define as macro per POSIX.
(_toupper): Ditto.
(__ctype_ptr__): De-constify.
(toupper): Disable macro on systems supporting extended charsets.
(tolower): Ditto.
* libc/include/sys/config.h (__EXPORT): Define empty if not defined.
* libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
(__set_ctype): Declare unconditionally.
(loadlocale): Remove __CYGWIN__ guard around __set_ctype call.

15 years ago PR 9992
nickc [Tue, 31 Mar 2009 08:08:33 +0000 (08:08 +0000)]
    PR 9992
        * configure.in: Import Solaris specific largefile test from
        bfd/configure.in.
        * configure: Regenerate.

15 years ago2009-03-30 Stan Shebs <stan@codesourcery.com>
shebs [Tue, 31 Mar 2009 05:08:25 +0000 (05:08 +0000)]
2009-03-30  Stan Shebs  <stan@codesourcery.com>

Make tracepoints into a type of breakpoint.
* breakpoint.h (enum bptype): Add bp_tracepoint.
(struct breakpoint): Add fields step_count, pass_count, actions.
(get_tracepoint, get_tracepoint_by_number): Declare.
(all_tracepoints): Declare.
* breakpoint.c: Include tracepoint.h, readline.h.
(ALL_TRACEPOINTS): Move here from tracepoint.c.
(tracepoint_count): Ditto.
(should_be_inserted): GDB does not insert tracepoints itself.
(print_it_typical): Add tracepoint case.
(bpstat_what): Ditto.
(print_one_breakpoint_location): Ditto, and add printing for
pass count, step count, and action list.
(user_settable_breakpoint): Add tracepoint case.
(allocate_bp_location): Ditto.
(set_breakpoint_location_function): Ditto.
(disable_breakpoints_in_shlibs): Ditto.
(mention): Ditto.
(break_command_really): Add argument traceflag, use to choose
basic breakpoint type.
(break_command_1): Pass extra argument.
(set_breakpoint, handle_gnu_v3_exceptions): Ditto.
(breakpoint_re_set_one): Add tracepoint case.
(disable_command, enable_command): Ditto.
(set_tracepoint_count): Move here from tracepoint.c.
(trace_command): Move here from tracepoint.c and use
break_command_really.
(tracepoints_info): Move here from tracepoint.c and call
breakpoints_info.
(enable_trace_command): Move here from tracepoint.c and call
enable_command.
(disable_trace_command): Move here from tracepoint.c and call
disable_command.
(delete_trace_command): Move here from tracepoint.c and call
delete_breakpoint.
(trace_pass_command): Move here from tracepoint.c.
(get_tracepoint_by_number): Ditto.
(tracepoint_save_command): Ditto.
(get_tracepoint): New function.
(all_tracepoints): New function.
(_initialize_breakpoint): Move tracepoint init from tracepoint.c,
deprecate "enable trace" and "disable trace" commands.
* tracepoint.h (struct tracepoint): Remove.
(tracepoint_chain): Remove decl.
(deprecated_create_tracepoint_hook): Remove decl.
(deprecated_delete_tracepoint_hook): Remove decl.
(deprecated_modify_tracepoint_hook): Remove decl.
(ALL_TRACEPOINTS, ALL_TRACEPOINTS_SAFE): Remove.
(free_actions): Update signature.
(validate_actionline): Update signature.
(end_actions_pseudocommand): Declare.
(while_stepping_pseudocommand): Declare.
* tracepoint.c: Include breakpoint.h.
(tracepoint_chain, tracepoint_count): Remove.
(free_actions, make_cleanup_free_actions): Update signature.
(trace_command, set_raw_tracepoint): Remove.
(trace_mention): Remove.
(tracepoints_info): Remove.
(tracepoint_operation, map_args_over_tracepoints): Remove.
(get_tracepoint_by_number): Remove.
(enable_trace_command, disable_trace_command): Remove.
(delete_trace_command, trace_pass_command): Remove.
(trace_actions_command, read_actions): Update signature.
(validate_actionline): Update signature, use bp loc.
(encode_actions): Ditto.
(download_tracepoint): New function, body of trace_start_command.
(trace_start_command): Call it, use all_tracepoints.
(tracepoint_save_command): Remove.
(tracepoint_dump_command): Use get_tracepoint.
(end_actions_pseudocommand): Make globally visible.
(while_stepping_pseudocommand): Ditto.
(_initialize_tracepoint): Move command definitions to breakpoint.c.

doc/
* gdb.texinfo (Tracepoints): Describe tracepoints as a
special case of breakpoints.
(Enable and Disable Tracepoints): Mention deprecation.
(Listing Tracepoints): Update description and example.

testsuite/
* gdb.trace/actions.exp: Update to match new info trace format.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.

gdbtk/
* generic/gdbtk-bp.c (gdb_actions_command): Update to handle
tracepoints as breakpoints.
(gdb_get_tracepoint_info): Ditto, plus use get_tracepoint and
breakpoint locations.
(tracepoint_exists): Ditto, plus use all_tracepoints.

15 years ago * doc/internals.texi: Fix trivial syntax errors.
davek [Tue, 31 Mar 2009 04:57:48 +0000 (04:57 +0000)]
* doc/internals.texi:  Fix trivial syntax errors.

15 years ago* elflink.c (elf_link_input_bfd): Don't try to resolve complex
dj [Tue, 31 Mar 2009 01:42:28 +0000 (01:42 +0000)]
* elflink.c (elf_link_input_bfd): Don't try to resolve complex
relocs when doing a relocatable link.

15 years agodaily update
amodra [Tue, 31 Mar 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 31 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * ffsll.c (ffsll): Correct implementation.
ian [Mon, 30 Mar 2009 23:17:11 +0000 (23:17 +0000)]
* ffsll.c (ffsll): Correct implementation.

15 years agobinutils/
rsandifo [Mon, 30 Mar 2009 20:39:42 +0000 (20:39 +0000)]
binutils/
* MAINTAINERS: Add self.

15 years agogdb/
bauermann [Mon, 30 Mar 2009 19:54:19 +0000 (19:54 +0000)]
gdb/
Expose frames to Python.
* Makefile.in (SUBDIR_PYTHON_OBS): Add python-frame.o.
(SUBDIR_PYTHON_SRCS): Add python-frame.c.
(python-frame.o): New target.
* python/python-frame.c: New file.
* python/python-internal.h (gdbpy_frames, gdbpy_newest_frame,
gdbpy_frame_stop_reason_string, gdbpy_selected_frame,
gdbpy_initialize_frames): New prototypes.
* python/python.c (_initialize_python): Call gdbpy_initialize_frames.
(GdbMethods): Add `selected_frame' and `frame_stop_reason_string'
entries.
* stack.c (find_frame_funname): New function, factored out of
print_frame.
(print_frame): Call find_frame_funname.
* stack.h (find_frame_funname): Add prototype.

gdb/doc/
* gdb.texinfo (Frames in Python): New node.
(Python API): Update.

gdb/testsuite/
* gdb.python/python-frame.c: New file.
* gdb.python/python-frame.exp: New file.

15 years agogas/testsuite:
jsm28 [Mon, 30 Mar 2009 14:41:26 +0000 (14:41 +0000)]
gas/testsuite:
* gas/arm/mapsecs.d, gas/arm/mapsecs.s: New.

opcodes:
* arm-dis.c (print_insn): Also check section matches in backwards
search for mapping symbol.

15 years ago * faq-using.xml (faq.using.bloda): Update with new entries.
davek [Mon, 30 Mar 2009 09:23:13 +0000 (09:23 +0000)]
* faq-using.xml (faq.using.bloda):  Update with new entries.

15 years agomerge from gcc
dj [Mon, 30 Mar 2009 03:01:34 +0000 (03:01 +0000)]
merge from gcc

15 years agomerge from gcc
dj [Mon, 30 Mar 2009 00:01:23 +0000 (00:01 +0000)]
merge from gcc

15 years ago*** empty log message ***
gdbadmin [Mon, 30 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 30 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago Remove unused value_object attribute `owned_by_gdb'.
bauermann [Sun, 29 Mar 2009 21:19:40 +0000 (21:19 +0000)]
Remove unused value_object attribute `owned_by_gdb'.
* python/python-value.c (value_object): Remove owned_by_gdb
attribute.
(valpy_dealloc): Remove reference to self->owned_by_gdb.
(valpy_new): Likewise.
(value_to_value_object): Likewise.

15 years agogdb/
bauermann [Sun, 29 Mar 2009 21:11:09 +0000 (21:11 +0000)]
gdb/
Change gdb.Value.address from a method to an attribute.
* python/python-value.c (value_object): Add `address' element.
(valpy_dealloc): Decrement reference to self->address if set.
(valpy_new): Initialize val_obj->address.
(valpy_address): Rename to ...
(valpy_get_address): ... this.  Change signature from method to
attribute.  Update self->address if not set.
(value_to_value_object): Initialize val_obj->address.
(value_object_getset): Add `address' element.
(value_object_methods): Remove `address' element.

gdb/testsuite/
* gdb.python/python-value.exp: Add tests for the address
attribute.

gdb/doc/
* gdb.texinfo (Values From Inferior): Change gdb.Value.address
from a method to an attribute.

15 years ago* gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
schwab [Sun, 29 Mar 2009 14:52:54 +0000 (14:52 +0000)]
* gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.

15 years ago* observer.sh: Set LANG/LC_ALL to C, not c.
schwab [Sun, 29 Mar 2009 13:36:22 +0000 (13:36 +0000)]
* observer.sh: Set LANG/LC_ALL to C, not c.

15 years agomerge from gcc
dj [Sun, 29 Mar 2009 02:15:35 +0000 (02:15 +0000)]
merge from gcc

15 years ago*** empty log message ***
gdbadmin [Sun, 29 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 29 Mar 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not
mmitchel [Sat, 28 Mar 2009 23:19:00 +0000 (23:19 +0000)]
* coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not
"ERROR:", in error messages.
* cpu-arm.c (bfd_arm_merge_machines): Likewise.
* elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise.
* elf32-arm.c (tag_cpu_arch_combine): Likewise.
(elf32_arm_merge_eabi_attributes): Likewise.
(elf32_arm_merge_private_bfd_data): Likewise.

15 years ago * ffsll.c: New file.
ian [Sat, 28 Mar 2009 05:22:30 +0000 (05:22 +0000)]
* ffsll.c: New file.
* configure.ac: Call AC_REPLACE_FUNCS on ffsll.
* gold.h (ffsll): Declare if HAVE_FFSLL is not defined.
* ftruncate.c (ftruncate): Declare before definition.
* mremap.c (mremap): Likewise.
* pread.c (pread): Likewise.
* configure, Makefile.in, config.in: Rebuild.

15 years ago * mn10300-tdep.c (mn10300_gdbarch_init): For mn10300, by default,
kevinb [Sat, 28 Mar 2009 04:56:40 +0000 (04:56 +0000)]
* mn10300-tdep.c (mn10300_gdbarch_init): For mn10300, by default,
`char' is unsigned.

15 years ago* Makefile.in: Perform some minor cleanup. Revamp speclib handling.
cgf [Sat, 28 Mar 2009 04:55:35 +0000 (04:55 +0000)]
* Makefile.in: Perform some minor cleanup.  Revamp speclib handling.
* speclib: Rewrite to create libraries with dlltool rather than attempting
surgery on libcygwin.a.

15 years ago * remote.c (remote_stop_ns): If multi-process extensions are off,
palves [Sat, 28 Mar 2009 01:15:09 +0000 (01:15 +0000)]
* remote.c (remote_stop_ns): If multi-process extensions are off,
and GDB is requesting the whole process to stop, sent "vCont;t",
not "vCont;t:-1"

15 years ago * inf-loop.c (inferior_event_handler): Avoid calling is_running on
palves [Sat, 28 Mar 2009 00:58:29 +0000 (00:58 +0000)]
* inf-loop.c (inferior_event_handler): Avoid calling is_running on
null inferior_ptid.

15 years agodaily update
amodra [Sat, 28 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 28 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * mremap.c: New file.
ian [Fri, 27 Mar 2009 23:21:08 +0000 (23:21 +0000)]
* mremap.c: New file.
* configure.ac: Call AC_REPLACE_FUNCS on mremap.
* gold.h (MREMAP_MAYMOVE): Define if HAVE_MREMAP is not defined.
(mremap): Declare if HAVE_MREMAP is not defined.
* configure, Makefile.in, config.in: Rebuild.

15 years agomerge from gcc
dj [Fri, 27 Mar 2009 23:07:29 +0000 (23:07 +0000)]
merge from gcc

15 years ago * powerpc.cc (Target_powerpc::check_non_pic): Assert that output is
ccoutant [Fri, 27 Mar 2009 18:19:08 +0000 (18:19 +0000)]
* powerpc.cc (Target_powerpc::check_non_pic): Assert that output is
position independent.
* sparc.cc (Target_sparc::check_non_pic): Likewise.
* x86_64.cc (Target_x86_64::check_non_pic): Likewise.

15 years ago * net.cc (inet_ntop6): Convert to lowercase hex digits on the fly.
corinna [Fri, 27 Mar 2009 15:20:26 +0000 (15:20 +0000)]
* net.cc (inet_ntop6): Convert to lowercase hex digits on the fly.

15 years ago * net.cc (cygwin_getaddrinfo): Check hints for non-NULL before
corinna [Fri, 27 Mar 2009 15:10:18 +0000 (15:10 +0000)]
* net.cc (cygwin_getaddrinfo): Check hints for non-NULL before
checking its content.

15 years ago * fhandler.h (class fhandler_fifo): Rename read/write methods to
corinna [Fri, 27 Mar 2009 15:04:41 +0000 (15:04 +0000)]
* fhandler.h (class fhandler_fifo): Rename read/write methods to
raw_read/raw_write.
* fhandler_fifo.cc: Ditto.

15 years ago * dwarf.c (display_debug_ranges): Add the base address to the
nickc [Fri, 27 Mar 2009 14:27:01 +0000 (14:27 +0000)]
    * dwarf.c (display_debug_ranges): Add the base address to the
        displayed values for 'Begin' and 'End'.

15 years agoAdd one more tweak for readline/examples.
eliz [Fri, 27 Mar 2009 13:59:38 +0000 (13:59 +0000)]
Add one more tweak for readline/examples.

15 years ago * config/djgpp/fnchange.lst: Update to fix ARI-reported problems.
eliz [Fri, 27 Mar 2009 13:38:31 +0000 (13:38 +0000)]
* config/djgpp/fnchange.lst: Update to fix ARI-reported problems.

15 years ago * djunpack.bat: Use ".." quoting in Sed command, for the sake of
eliz [Fri, 27 Mar 2009 13:37:09 +0000 (13:37 +0000)]
* djunpack.bat: Use ".." quoting in Sed command, for the sake of
Windows builds of Sed.

15 years ago * section.c (bfd_get_section_contents): Detect and handle the case
nickc [Fri, 27 Mar 2009 11:38:29 +0000 (11:38 +0000)]
    * section.c (bfd_get_section_contents): Detect and handle the case
        where a section has the SEC_IN_MEMORY flag set but no actual
        contents allocated.

15 years ago * syscalls.cc (pathconf): Fix memory leak.
corinna [Fri, 27 Mar 2009 11:29:55 +0000 (11:29 +0000)]
* syscalls.cc (pathconf): Fix memory leak.

15 years ago * README: Remove "How to use" section, as CYGWIN="server" is
corinna [Fri, 27 Mar 2009 10:17:48 +0000 (10:17 +0000)]
* README: Remove "How to use" section, as CYGWIN="server" is
no longer required.

15 years ago * utils.sgml (passwd -R): Remove references to CYGWIN="server".
corinna [Fri, 27 Mar 2009 10:16:13 +0000 (10:16 +0000)]
* utils.sgml (passwd -R): Remove references to CYGWIN="server".

15 years agoRemove merge markers
nickc [Fri, 27 Mar 2009 08:26:18 +0000 (08:26 +0000)]
Remove merge markers

15 years ago * thread.c (do_restore_current_thread_cleanup): Redo test for
devans [Fri, 27 Mar 2009 02:44:50 +0000 (02:44 +0000)]
* thread.c (do_restore_current_thread_cleanup): Redo test for
whether to restore old->inferior_ptid.

* gdb.mi/mi-nonstop-exit.exp: New file.
* gdb.mi/non-stop-exit.c: New file.

15 years ago2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 27 Mar 2009 00:28:32 +0000 (00:28 +0000)]
2009-03-26  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (get_valid_dis386): Abort on unhandled table.

15 years ago*** empty log message ***
gdbadmin [Fri, 27 Mar 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 27 Mar 2009 00:00:10 +0000 (00:00 +0000)]
daily update

15 years agogdb
tromey [Thu, 26 Mar 2009 23:30:05 +0000 (23:30 +0000)]
gdb
* breakpoint.c (resolve_sal_pc): Preserve original line number
when skipping prologue.
gdb/testsuite
Update for change to prologue skipping:
* gdb.mi/mi2-simplerun.exp: Update.
* gdb.mi/mi2-break.exp: Update.
* gdb.mi/mi-simplerun.exp: Update.
* gdb.mi/mi-break.exp: Update.
* gdb.base/ending-run.exp: Update.

15 years ago * thread.c (inferior_thread) Remove "extern" in definition.
devans [Thu, 26 Mar 2009 21:30:24 +0000 (21:30 +0000)]
* thread.c (inferior_thread) Remove "extern" in definition.

15 years agogdb/
bauermann [Thu, 26 Mar 2009 20:58:10 +0000 (20:58 +0000)]
gdb/
Add gdb.Value.is_optimized_out attribute.
* python/python-value.c (valpy_get_is_optimized_out): New
function.
(value_object_getset): New variable.
(value_object_type): Initialize tp_getset element.

gdb/doc/
* gdb.texinfo (Values From Inferior): Document is_optimized_out
attribute.

gdb/testsuite/
* gdb.python/python-value.exp (test_value_in_inferior): Test
gdb.Value.is_optimized_out attribute.

15 years agogdb/
jkratoch [Thu, 26 Mar 2009 14:47:14 +0000 (14:47 +0000)]
gdb/
Recognize missing DW_AT_location as <value optimized out>.
* dwarf2read.c
(new_symbol <DW_TAG_variable> <!DW_AT_location> <!DW_AT_external>):
Call add_symbol_to_list.

gdb/testsuite/
* gdb.dwarf2/dw2-noloc-main.c: New file.
* gdb.dwarf2/dw2-noloc.S: New symbols matrix.
(.text): Remove.
(.data): New.
(DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
(DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
(DW_TAG_subprogram func_cu1, noloc): Remove.
(main): New.
* gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
`dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
(file_symbols): New procedure.

15 years ago2009-03-26 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
ramana [Thu, 26 Mar 2009 13:59:28 +0000 (13:59 +0000)]
2009-03-26  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * gas/arm/wince_inst.d: Convert to unified syntax.

15 years ago * cygwinenv.sgml: Add text to explain new UTF-16 symlinks.
corinna [Thu, 26 Mar 2009 12:25:11 +0000 (12:25 +0000)]
* cygwinenv.sgml: Add text to explain new UTF-16 symlinks.
* faq-api.xml: Add FAQ entry "Why do some of my old symlinks don't
work anymore?"
* new-features.sgml: Fix symlink text.  Add new UTF-16 symlinks.
* overview2.sgml: Add text about new UTF-16 symlinks and potential
problems with old symlinks.
* pathnames.sgml: Fix typo.
* setup2.sgml: Extend text about problems with symlinks.

15 years ago PR 6494
amodra [Thu, 26 Mar 2009 12:23:51 +0000 (12:23 +0000)]
PR 6494
* elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO
p_filesz and p_memsz are equal.  Use p_memsz as the segment size.
(assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO
if we don't find matching PT_LOAD when copying.

15 years ago * path.cc (symlink_worker): Write target filename as UTF-16 string
corinna [Thu, 26 Mar 2009 12:12:11 +0000 (12:12 +0000)]
* path.cc (symlink_worker): Write target filename as UTF-16 string
with leading BOM marker.
(symlink_info::check_shortcut): If check for leading BOM marker
succeeds, read filename as UTF-16 string.
(symlink_info::check_sysfile): Ditto.

15 years ago * include/asm/byteorder.h (__ntohl): Align definition to ISO C99.
corinna [Thu, 26 Mar 2009 10:40:29 +0000 (10:40 +0000)]
* include/asm/byteorder.h (__ntohl): Align definition to ISO C99.
(__ntohs): Ditto.

15 years ago * new-features.sgml: Replace GB2312 with GBK.
corinna [Thu, 26 Mar 2009 10:31:08 +0000 (10:31 +0000)]
* new-features.sgml: Replace GB2312 with GBK.
* setup2.sgml: Ditto.

15 years ago * strfuncs.cc (__set_charset_from_codepage): Revert to translating
corinna [Thu, 26 Mar 2009 10:26:56 +0000 (10:26 +0000)]
* strfuncs.cc (__set_charset_from_codepage): Revert to translating
codepage 936 to "GBK".

15 years ago * libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
corinna [Thu, 26 Mar 2009 10:24:38 +0000 (10:24 +0000)]
* libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
of "GB2312".  Fix documentation accordingly.

15 years ago Revert erroneously checked in files.
corinna [Thu, 26 Mar 2009 10:04:40 +0000 (10:04 +0000)]
Revert erroneously checked in files.

15 years ago * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
corinna [Thu, 26 Mar 2009 09:45:11 +0000 (09:45 +0000)]
* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
* libc/ctype/isblank.c: Replace hardcoded test with test for having _B
marker in ctype array.
* libc/include/ctype.h (isblank): Add macro.

15 years ago PR 10005
amodra [Thu, 26 Mar 2009 02:41:12 +0000 (02:41 +0000)]
PR 10005
* config/tc-i386.c (reloc): Don't abort on lack of required
reloc type.

15 years ago * gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.
tromey [Thu, 26 Mar 2009 01:27:44 +0000 (01:27 +0000)]
* gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.
* stack.c (print_this_frame_argument_p): Use check_typedef.

15 years ago * configure: Rebuild.
tromey [Thu, 26 Mar 2009 01:18:33 +0000 (01:18 +0000)]
* configure: Rebuild.
* acinclude.m4 (AM_ICONV): Set am_cv_use_build_libiconv.
Rearrange flags setting.  Add comments.

15 years ago * config/i386/nm-i386.h: Remove code within
muller [Thu, 26 Mar 2009 00:18:45 +0000 (00:18 +0000)]
* config/i386/nm-i386.h: Remove code within
I386_WATCHPOINTS_IN_TARGET_VECTOR conditional.
* config/i386/nm-cygwin.h: Remove I386_WATCHPOINTS_IN_TARGET_VECTOR
macro.
* config/i386/nm-cygwin64.h: Ditto.
* config/i386/nm-fbsd.h: Ditto.
* config/i386/nm-go32.h: Ditto.
* config/i386/nm-linux.h: Ditto.
* config/i386/nm-linux64.h: Ditto.

15 years agodaily update
amodra [Thu, 26 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 26 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago ARI fix: "xasprintf" rule.
muller [Wed, 25 Mar 2009 23:43:06 +0000 (23:43 +0000)]
ARI fix: "xasprintf" rule.
* generic/gdbtk-bp.c (gdb_set_bp): Replace xasprintf by xstrprintf.
(breakpoint_notify, tracepoint_notify):Ditto.
* generic/gdbtk-cmds.c (gdbtk_load_source, gdbtk_load_asm):Ditto.
* generic/gdbtk-hooks.c (gdbtk_ignorable_warning): Ditto.
(gdbtk_set_hook, gdbtk_load_hash): Ditto.
(gdbtk_selected_frame_changed, gdbtk_annotate_signal): Ditto.
* generic/gdbtk-register.c (get_register_types):Ditto.
* generic/gdbtk-stack.c (gdb_get_blocks): Ditto.
(gdb_selected_block, gdb_selected_frame): Ditto.
* generic/gdbtk.c (gdbtk_init, view_command): Ditto.