OSDN Git Service

pf3gnuchains/sourceware.git
14 years ago PR exp/11349.
muller [Tue, 4 May 2010 15:48:25 +0000 (15:48 +0000)]
PR exp/11349.
* printcmd.c (x_command): Only dereference once implicitly for
TYPE_CODE_REF.

testsuite dir:
PR exp/11349.
* testsuite/gdb.cp/ref-types.exp: Add test to examine
use a reference local variable.

14 years agodaily update
amodra [Tue, 4 May 2010 10:45:00 +0000 (10:45 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 4 May 2010 09:00:32 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago * event-loop.c (gdb_timer): Delete unused global.
devans [Tue, 4 May 2010 05:58:20 +0000 (05:58 +0000)]
* event-loop.c (gdb_timer): Delete unused global.
(create_timer): Update.

14 years ago * event-loop.c (struct callback_event): New struct.
devans [Tue, 4 May 2010 05:53:21 +0000 (05:53 +0000)]
* event-loop.c (struct callback_event): New struct.
(callback_list): New global.
(append_callback_event, delete_callback_event): New functions.
(process_callback): New function.
(start_event_loop): Call it.
* remote-utils.c (NOT_SCHEDULED): Define.
(readchar_buf, readchar_bufcnt, readchar_bufp): New static globals,
moved out of readchar.
(readchar): Rewrite.  Call reschedule before returning.
(reset_readchar): New function.
(remote_close): Call it.
(process_remaining, reschedule): New functions.
* server.h (callback_handler_func): New typedef.
(append_callback_event, delete_callback_event): Declare.

14 years agogdb/
jkratoch [Tue, 4 May 2010 05:10:22 +0000 (05:10 +0000)]
gdb/
* cp-namespace.c (cp_lookup_symbol_imports): Support ALIAS for the
CURRENT->DECLARATION case.
* cp-support.h (struct using_direct): Provide extended comment.

14 years ago* hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Renamed from
kettenis [Tue, 4 May 2010 04:59:12 +0000 (04:59 +0000)]
* hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Renamed from
HPPABSD_SIZEOF_GREGS.
(HPPAOBSD_SIZEOF_FPREGS): New define.
(hppaobsd_supply_gregset): Renamed from hppabsd_supply_gregset.
(hppaobsd_supply_fpregset): New function.
(hppaobsd_gregset): Renamed from hppabsd_gregset.
(hppaobsd_fpregset): New variable.
(hppaobsd_regset_from_core_section): Handle floating-point registers.
(_initialize_hppabsd_tdep): Remove spurious blank line.

14 years ago gdb/gdbserver/
palves [Tue, 4 May 2010 03:13:36 +0000 (03:13 +0000)]
gdb/gdbserver/
* proc-service.c (ps_pglobal_lookup): Use
thread_db_look_up_one_symbol.
* remote-utils.c (look_up_one_symbol): Add new `may_ask_gdb'
parameter.  Use it instead of all_symbols_looked_up.
* server.h (struct process_info) <all_symbols_looked_up>: Delete
field.
(all_symbols_looked_up): Don't declare.
(look_up_one_symbol): Add new `may_ask_gdb' parameter.
* thread-db.c (struct thread_db) <all_symbols_looked_up>: New
field.
(thread_db_look_up_symbols): Adjust call to look_up_one_symbol.
Set all_symbols_looked_up here.
(thread_db_look_up_one_symbol): New.
(thread_db_get_tls_address): Adjust.
(thread_db_load_search, try_thread_db_load_1): Always allocate the
thread_db object on the heap, and tentatively set it in the
process structure.
(thread_db_init): Don't set all_symbols_looked_up here.
* linux-low.h (thread_db_look_up_one_symbol): Declare.

14 years ago* dll_init.cc (dll_list::alloc): Add debugging assertion.
cgf [Tue, 4 May 2010 01:40:31 +0000 (01:40 +0000)]
* dll_init.cc (dll_list::alloc): Add debugging assertion.

14 years agobfd/
gingold [Tue, 4 May 2010 01:04:29 +0000 (01:04 +0000)]
bfd/
2010-05-03  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (vms_lib_bopen): Fix the size threshold to read
selective_search flag.
Add comments.
* vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section
before output_has_begun is set.

14 years ago * rs6000/Makefile.in: Remove xil-exit.o.
corinna [Tue, 4 May 2010 00:15:52 +0000 (00:15 +0000)]
* rs6000/Makefile.in: Remove xil-exit.o.

14 years ago PR pascal/11349.
muller [Mon, 3 May 2010 22:38:26 +0000 (22:38 +0000)]
PR pascal/11349.
* p-valprint.c (pascal_value_print): Always dereference a value with
type code TYPE_CODE_REF.

14 years agobfd/
gingold [Mon, 3 May 2010 21:16:44 +0000 (21:16 +0000)]
bfd/
2010-05-03  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c: Add comments.
(struct vms_private_data_struct): Remove image_autoextend field.
(dst_check_allocation): Removed.
(image_write): Remove call to dst_check_allocation.
(vms_slurp_debug): Do not set image_autoextend.  Adjust section
size.
(_bfd_vms_slurp_object_records): Remove useless new_type variable.
(alpha_vms_write_exec): Use dst_section to get the dst section.
Write the dmt section.
(evax_bfd_print_image): Also print the dst size in hexa.  Fix typo.
(alpha_vms_read_sections_content): Do not set image_autoextend.

include/vms/
2010-05-03  Tristan Gingold  <gingold@adacore.com>

* dmt.h: Improve comments.

14 years agobfd/
gingold [Mon, 3 May 2010 19:23:31 +0000 (19:23 +0000)]
bfd/
2010-05-03  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty
next array.
(vms_lib_dcx): Adjust for the above change.

14 years ago * libc/locale/lctype.c: Include <string.h> and "setlocale.h".
corinna [Mon, 3 May 2010 18:25:32 +0000 (18:25 +0000)]
* libc/locale/lctype.c: Include <string.h> and "setlocale.h".
(_C_ctype_locale): Add braces to initializer.
(__ctype_load_locale): Fix compiler warnings in non-Cygwin case.
* libc/locale/nl_langinfo.c (nl_langinfo): Expose _NL_CTYPE_MB_CUR_MAX
case only if __HAVE_LOCALE_INFO__ is defined.

14 years ago * linux-low.c (linux_kill, linux_detach): Adjust.
palves [Mon, 3 May 2010 13:02:20 +0000 (13:02 +0000)]
* linux-low.c (linux_kill, linux_detach): Adjust.
(status_pending_p_callback): Remove redundant statement.  Check
for !TARGET_WAITIKIND_IGNORE, instead of
TARGET_WAITKIND_STOPPED.
(handle_tracepoints): Make sure LWP is locked.  Adjust.
(linux_wait_for_event_1): Adjust.
(linux_cancel_breakpoints): New.
(unsuspend_one_lwp): New.
(unsuspend_all_lwps): New.
(linux_wait_1): If finishing a step-over, unsuspend all lwps.
(send_sigstop_callback): Change return type to int, add new
`except' parameter and handle it.
(suspend_and_send_sigstop_callback): New.
(stop_all_lwps): Add new `suspend' and `expect' parameters, and
pass them down.  If SUSPEND, also increment the lwp's suspend
count.
(linux_resume_one_lwp): Add notice about resuming a suspended LWP.
(need_step_over_p): Don't consider suspended LWPs.
(start_step_over): Adjust.
(proceed_one_lwp): Change return type to int, add new `except'
parameter and handle it.
(unsuspend_and_proceed_one_lwp): New.
(proceed_all_lwps): Use find_inferior instead of
for_each_inferior.
(unstop_all_lwps): Add `unsuspend' parameter.  If UNSUSPEND, them
also decrement the suspend count of LWPs.  Pass `except' down,
instead of hacking its suspend count.
(linux_pause_all): Add `freeze' parameter.  Adjust.
(linux_unpause_all): New.
(linux_target_ops): Install linux_unpause_all.
* server.c (handle_status): Adjust.
* target.h (struct target_ops): New fields `unpause_all' and
`cancel_breakpoints'.  Add new parameter to `pause_all'.
(pause_all): Add new `freeze' parameter.
(unpause_all): New.
(cancel_breakpoints): New.
* tracepoint.c (clear_installed_tracepoints): Pause threads, and
cancel breakpoints.
(cmd_qtstart): Pause threads.
(stop_tracing): Pause threads, and cancel breakpoints.
* win32-low.c (win32_target_ops): Adjust.

14 years ago * linux-low.c (linux_wait_for_event_1): Move passing the signal to
palves [Mon, 3 May 2010 12:04:30 +0000 (12:04 +0000)]
* linux-low.c (linux_wait_for_event_1): Move passing the signal to
the inferior right away from here...
(linux_wait_1): ... to here, and adjust to check the thread's
last_resume_kind instead of the lwp's step or stop_expected flags.

14 years ago * remote.c (remote_notice_signals): New.
palves [Mon, 3 May 2010 11:12:56 +0000 (11:12 +0000)]
* remote.c (remote_notice_signals): New.
(remote_start_remote): In non-stop mode, update the remote end on
which signals it can silently pass.
(init_remote_ops): Install remote_notice_signals.

14 years agodaily update
amodra [Mon, 3 May 2010 09:00:07 +0000 (09:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 3 May 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years agogdb/
jkratoch [Mon, 3 May 2010 08:52:12 +0000 (08:52 +0000)]
gdb/
* cli/cli-cmds.h (error_no_arg): Remove.  Move the comment ...
* command.h (error_no_arg): ... here.  Remove NORETURN, change
ATTR_NORETURN to ATTRIBUTE_NORETURN.
* defs.h (NORETURN, ATTR_NORETURN): Remove.
(perror_with_name, verror, error, error_stream, vfatal, fatal)
(internal_verror, internal_error, nomem): Remove NORETURN, change
ATTR_NORETURN to ATTRIBUTE_NORETURN.
* exceptions.c (throw_exception, deprecated_throw_reason, throw_verror)
(throw_vfatal, throw_error): Remove NORETURN.
(throw_it): Remove NORETURN, change ATTR_NORETURN to ATTRIBUTE_NORETURN.
* exceptions.h (throw_exception, throw_verror, throw_vfatal)
(throw_error, deprecated_throw_reason): Remove NORETURN, change
ATTR_NORETURN to ATTRIBUTE_NORETURN.
* linespec.c (cplusplus_error): Remove NORETURN, change ATTR_NORETURN
to ATTRIBUTE_NORETURN for prototype, for the definition only remove
NORETURN.
* remote-mips.c (mips_error): Change NORETURN to ATTRIBUTE_NORETURN.
* remote-sim.c (gdb_os_error): Change ATTR_NORETURN to
ATTRIBUTE_NORETURN.
* target.c (tcomplain): Likewise.
* target.h (noprocess): Remove NORETURN, change ATTR_NORETURN to
ATTRIBUTE_NORETURN.
* utils.c (verror, error, vfatal, fatal, error_stream, internal_verror)
(internal_error, perror_with_name, nomem): Remove NORETURN.
* xml-support.h (gdb_xml_error): Change ATTR_NORETURN to
ATTRIBUTE_NORETURN.

gdb/doc/
* gdbint.texinfo (Host Definition): Remove items NORETURN and
ATTR_NORETURN.

14 years agogdb/
jkratoch [Mon, 3 May 2010 06:14:54 +0000 (06:14 +0000)]
gdb/
* ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* amd64-tdep.c (amd64_insn_length_fprintf): Likewise.
* cli-out.c (cli_field_fmt): New ATTRIBUTE_PRINTF.
(cli_message, out_field_fmt): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* complaints.c (find_complaint): New ATTRIBUTE_PRINTF.
(vcomplaint): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* complaints.h (complaint, internal_complaint): Likewise.
* defs.h: Change ATTR_FORMAT to ATTRIBUTE_PRINTF in the top comment.
(ATTR_FORMAT): Remove.
(query, nquery, yquery, vprintf_filtered, vfprintf_filtered)
(fprintf_filtered, fprintfi_filtered, printf_filtered, printfi_filtered)
(vprintf_unfiltered, vfprintf_unfiltered, fprintf_unfiltered)
(printf_unfiltered, xasprintf, xvasprintf, xstrprintf, xstrvprintf)
(xsnprintf, verror, error, vfatal, fatal, internal_verror)
(internal_error, internal_vwarning, internal_warning, warning)
(vwarning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* disasm.c (fprintf_disasm): Likewise.
* exceptions.c (throw_it): Likewise.
* exceptions.h (exception_fprintf, throw_verror, throw_vfatal)
(throw_error): Likewise.
* language.h (type_error, range_error): Likewise.
* linespec.c (cplusplus_error): Likewise.
* mi/mi-interp.c (mi_interp_query_hook): Likewise.
* mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
* monitor.c (monitor_debug): Likewise.
* parser-defs.h (parser_fprintf): Likewise.
* serial.h (serial_printf): Likewise.
* tui/tui-hooks.c (tui_query_hook): Likewise.
* ui-out.c (default_field_fmt, default_message, uo_field_fmt)
(uo_message): Likewise.
* ui-out.h (ui_out_field_fmt, ui_out_message): Likewise.
* utils.c (vfprintf_maybe_filtered, internal_vproblem, defaulted_query):
Likewise.
* xml-support.h (gdb_xml_debug, gdb_xml_error): Likewise.

14 years ago * cli-out.c (cli_table_begin, cli_table_body, cli_table_end)
palves [Mon, 3 May 2010 01:49:56 +0000 (01:49 +0000)]
* cli-out.c (cli_table_begin, cli_table_body, cli_table_end)
(cli_table_header, cli_begin, cli_end, cli_field_int)
(cli_field_skip, cli_field_string, cli_field_fmt, cli_spaces)
(cli_text, cli_message, cli_wrap_hint, cli_flush, cli_redirect):
Delete forward declarations.
(cli_ui_out_impl): Move below the callbacks.
(_initialize_cli_out): Delete.

14 years ago gdb/
palves [Mon, 3 May 2010 01:10:00 +0000 (01:10 +0000)]
gdb/
* README: Use consistent `GDB' and `GDBserver' spellings.

gdb/gdbserver/
* README: Use consistent `GDB' and `GDBserver' spellings.

14 years ago * libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check. Rename
corinna [Sun, 2 May 2010 20:55:01 +0000 (20:55 +0000)]
* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check.  Rename
pwc to pmb and convert to array to avoid buffer overflow.  Rename c to
wc.  Check wc for WEOF instead of for EOF.  Return first byte of pmb if
__wctomb conversion returned exactly one byte, EOF otherwise.

14 years agogdb/
jkratoch [Sun, 2 May 2010 18:13:34 +0000 (18:13 +0000)]
gdb/
* cli/cli-dump.h (parse_and_eval_with_error): Remove the declaration.

14 years agogdb/testsuite/
jkratoch [Sun, 2 May 2010 18:08:58 +0000 (18:08 +0000)]
gdb/testsuite/
* gdb.base/break-interp.exp: Remove $exec.debug safety removal.
* gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
variable different_dir. Move debugfile into a full directory pathname
under DIFFERENT_DIR.
* lib/gdb.exp (separate_debug_filename): Remove.
(gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
variable debug_dir and mkdir of it.  Update function comments.

14 years ago * linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
palves [Sun, 2 May 2010 09:47:34 +0000 (09:47 +0000)]
* linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
(linux_kill): Stop all lwps here.  Don't delete the main lwp here.
(linux_detach_one_lwp): Assume the lwp is stopped.
(any_thread_of): Delete.
(linux_detach): Stop all lwps here.  Don't blindly delete all
breakpoints.
(delete_lwp_callback): New.
(linux_mourn): Delete all lwps of the process that is gone.
(linux_wait_1): Don't delete the last lwp of the process here.
* mem-break.h (mark_breakpoints_out): Declare.
* mem-break.c (mark_breakpoints_out): New.
(free_all_breakpoints): Use it.
* server.c (handle_target_event): If the process is gone, mark
breakpoints out.
* thread-db.c (struct thread_db) <create_bp>: New field.
(thread_db_enable_reporting): Fix prototype.  Store a thread event
breakpoint reference in the thread_db struct.
(thread_db_load_search): Clear the thread_db object.
(try_thread_db_load_1): Ditto.
(switch_to_process): New.
(disable_thread_event_reporting): Use it.
(remove_thread_event_breakpoints): New.
(thread_db_detach, thread_db_mourn): Use it.

14 years ago*** empty log message ***
gdbadmin [Sun, 2 May 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 2 May 2010 09:00:05 +0000 (09:00 +0000)]
daily update

14 years ago * infrun.c (prepare_for_detach): In non-stop, context switch to
palves [Sun, 2 May 2010 00:56:51 +0000 (00:56 +0000)]
* infrun.c (prepare_for_detach): In non-stop, context switch to
the thread that got the event before handling the event.

14 years ago * linux-low.c (linux_enable_event_reporting): New.
palves [Sun, 2 May 2010 00:46:26 +0000 (00:46 +0000)]
* linux-low.c (linux_enable_event_reporting): New.
(linux_wait_for_event_1, handle_extended_wait): Use it.

14 years agodaily update
amodra [Sat, 1 May 2010 09:00:05 +0000 (09:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 1 May 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago * linux-low.c (linux_kill_one_lwp, linux_kill)
palves [Sat, 1 May 2010 06:36:44 +0000 (06:36 +0000)]
* linux-low.c (linux_kill_one_lwp, linux_kill)
(linux_detach_one_lwp): Adjust to send_sigstop interface change.
(send_sigstop): Take an lwp_info as parameter instead.  Queue a
SIGSTOP even if the LWP is stopped.
(send_sigstop_callback): New.
(stop_all_lwps): Use send_sigstop_callback instead.
(linux_resume_one_thread): Adjust.
(proceed_one_lwp): Still proceed an LWP that the client has
requested to stop, if we haven't reported it as stopped yet.  Make
sure that LWPs the client want stopped, have a pending SIGSTOP.

14 years agoAdd a missing `"'.
hjl [Sat, 1 May 2010 04:30:53 +0000 (04:30 +0000)]
Add a missing `"'.

2010-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/dlltool.exp: Add a missing `"'.

14 years agoRemove relocation against discarded sections for relocatable link.
hjl [Sat, 1 May 2010 03:27:25 +0000 (03:27 +0000)]
Remove relocation against discarded sections for relocatable link.

bfd/

2010-04-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11542
* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New.

* elf32-i386.c (elf_i386_relocate_section): Use it.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

ld/testsuite/

2010-04-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11542
* ld-elf/discard.ld: New.
* ld-elf/discard1.d: Likewise.
* ld-elf/discard1.s: Likewise.
* ld-elf/discard2.d: Likewise.
* ld-elf/discard2.s: Likewise.
* ld-elf/discard3.d: Likewise.

14 years ago * symtab.c (symbol_set_names): Fix typo.
tromey [Sat, 1 May 2010 02:43:55 +0000 (02:43 +0000)]
* symtab.c (symbol_set_names): Fix typo.

14 years ago * python/py-param.c (parm_constants): Avoid ARI warning
muller [Sat, 1 May 2010 01:22:41 +0000 (01:22 +0000)]
* python/py-param.c (parm_constants): Avoid ARI warning
by adding ARI comment.
(parmpy_init): Likewise.

14 years ago * windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
muller [Sat, 1 May 2010 00:38:40 +0000 (00:38 +0000)]
* windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
and created type for re-use.

14 years ago * libc/include/langinfo.h: Fix #endif positioning.
corinna [Fri, 30 Apr 2010 23:58:25 +0000 (23:58 +0000)]
* libc/include/langinfo.h: Fix #endif positioning.

14 years agobfd/
gingold [Fri, 30 Apr 2010 21:44:31 +0000 (21:44 +0000)]
bfd/
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (vms_read_block): New function.
(vms_traverse_index): Use vms_read_block.  Handle long key names.

include/vms/
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* lbr.h (struct vms_kbn): New structure.

14 years agobfd/
gingold [Fri, 30 Apr 2010 18:40:41 +0000 (18:40 +0000)]
bfd/
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms
and syms removed.
(struct carsym_mem): New structure.
(vms_add_index): New function.
(vms_add_indexes_from_list): New function.
(vms_traverse_index): Parameter carsym changed to carsym_mem.
Code adjusted to handle elfidx.
(vms_lib_read_index): Adjusted for vms_traverse_index changes.
Parameter NBREL is now a pointer.
(_bfd_vms_lib_archive_p): Adjust for above change.  Handle ia64
archives.
(_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata.
(_bfd_vms_lib_find_symbol): Ditto.
(vms_lib_bopen): Fix two typos: return FALSE in case of error,
check MHD id.
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for
changes of _bfd_vms_lib_find_symbol.

include/vms
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* lbr.h (LBR__C_TYP_ISHSTB): Added.
(LHD_SANEID4): Renamed to ...
(LHD_SANEID6): ...  this.
(LBR_MAJORID, LBR_ELFMAJORID): New macros.
(struct vms_rfa): New structure.
(struct vms_idxdef): Renamed to ...
(struct vms_idx): ... this.
(struct vms_idxdef2): Renamed to ...
(struct vms_elfidx): ... this.
(ELFIDX__WEAK, ELFIDX__GROUP, ELFIDX__LISTRFA, ELFIDX__SYMESC): New
macros.
(struct vms_lhs, struct vms_lns): New structures.
(struct vms_mhd): Add missing fields.
(MHD__C_MHDLEN): New macro.

14 years ago * NEWS: Mention gdbserver support for x86_64 Windows 64-bit.
muller [Fri, 30 Apr 2010 16:04:46 +0000 (16:04 +0000)]
* NEWS: Mention gdbserver support for x86_64 Windows 64-bit.

14 years ago*** empty log message ***
gdbadmin [Fri, 30 Apr 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Fri, 30 Apr 2010 09:00:04 +0000 (09:00 +0000)]
daily update

14 years ago * ser-base.h (reschedule): Delete prototype.
devans [Fri, 30 Apr 2010 07:51:00 +0000 (07:51 +0000)]
* ser-base.h (reschedule): Delete prototype.
* ser-base.c (reschedule): Make static.

14 years ago insight/347
kseitz [Fri, 30 Apr 2010 06:00:51 +0000 (06:00 +0000)]
  insight/347
  * generic/gdbtk-varobj.c (variable_value): Use TRY_CATCH
  when calling varobj_set_value.
  * library/vartree.itb (changeValue): Make note of new
  assumption that input is decimal (unless prefixed to change
  the input radix).

14 years ago*** empty log message ***
mgretton [Fri, 30 Apr 2010 01:34:25 +0000 (01:34 +0000)]
*** empty log message ***

14 years ago PR gdb/11557
palves [Fri, 30 Apr 2010 01:33:15 +0000 (01:33 +0000)]
PR gdb/11557

gdb/
* regcache.c (registers_changed): Rename to ...
(registers_changed_ptid): ... this, and only delete register cache
entries matching the ptid filter argument.
(registers_changed): Reimplement on top of registers_changed_ptid.
* regcache.h (registers_changed_ptid): Declare.
* target.c (target_resume): Flush register caches.

gdb/testsuite/
* gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
files.

14 years agoFix typo in ChangeLog name (non-UTF8 character).
brobecke [Fri, 30 Apr 2010 01:03:32 +0000 (01:03 +0000)]
Fix typo in ChangeLog name (non-UTF8 character).

Seems to have been inserted accidently.

14 years ago2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 30 Apr 2010 00:45:55 +0000 (00:45 +0000)]
2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
            Tom Tromey  <tromey@redhat.com>
            Thiago Jung Bauermann  <bauerman@br.ibm.com>

        * Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter.
        (SUBDIR_PYTHON_SRCS): Likewise.
        (py-parameter.o): New rule.
        * python/py-parameter.c: New file.
        * python/python-internal.h (gdbpy_initialize_parameter)
        (gdbpy_parameter, gdbpy_parameter_value)
        (gdbpy_parse_command_name): Declare.
        * python/py-cmd.c (parse_command_name): Rename to
        gdbpy_parse_command_name.
        (gdbpy_parse_command_name): Accept a starting list parameter and
        use over cmdlist.
        (cmdpy_init): Use gdbpy_parse_command_name.
        * python/python.c (parameter_to_python): Rename to
        gdbpy_parameter_to_python.  Accept enum var_types and value.
        (gdbpy_parameter): Use gdbpy_parameter_value.
        (_initialize_python): Call gdbpy_initialize_parameters.

2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>

        * gdb.python/py-param.exp: New File.

2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
            Tom Tromey  <tromey@redhat.com>
            Thiago Jung Bauermann  <bauerman@br.ibm.com>

        * gdb.texinfo (Parameters In Python): New Node.

14 years ago * gdb/MAINTAINERS: Add myself for write after approval privileges.
mgretton [Thu, 29 Apr 2010 23:55:36 +0000 (23:55 +0000)]
* gdb/MAINTAINERS: Add myself for write after approval privileges.

14 years agoD language support.
brobecke [Thu, 29 Apr 2010 23:45:37 +0000 (23:45 +0000)]
D language support.

gdb/ChangeLog:

        D language support.
        * Makefile.in (SFILES): Add d-lang.c d-valprint.c.
        (COMMON_OBS): Add d-lang.o d-valprint.o.
        (HFILES_NO_SRCDIR): Add d-lang.h.
        * NEWS: Mention D language support.
        * c-lang.c (c_emit_char, exp_descriptor_c): Make public.
        * c-lang.h (c_emit_char, exp_descriptor_c): Add declaration.
        * d-lang.c: New file.
        * d-lang.h: New file.
        * d-valprint.c: New file.
        * defs.h (enum language): Add language_d.
        * dwarf2read.c (set_cu_language): Add DW_LANG_D.
        * language.c (binop_result_type, integral_type, character_type)
        (string_type, boolean_type, structured_type): Add language_d.
        * symfile.c (init_filename_language_table): Add language_d.
        * symtab.c: Include d-lang.h.
        (symbol_init_language_specific, symbol_find_demangled_name)
        (symbol_natural_name, lookup_symbol_in_language)
        (symbol_demangled_name, symbol_matches_domain): Add language_d.

gdb/doc/ChangeLog:

        * gdb.texinfo: (Summary) Add mention about D language support.
        (Filenames): Add D suffixes.
        (D): New node.

gdb/testsuite/ChangeLog:

        * gdb.base/default.exp: Fix "set language" test.

14 years ago * write.c (fixup_segment): Do not assume we know the section a
nickc [Thu, 29 Apr 2010 23:44:13 +0000 (23:44 +0000)]
    * write.c (fixup_segment): Do not assume we know the section a
        defined weak symbol is in.
        * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
        weak symbols as not known to be in the same section, even if they
        are defined.

        * gas/arm/weakdef-1.s: New.
        * gas/arm/weakdef-1.d: New.
        * gas/arm/weakdef-2.s: New.
        * gas/arm/weakdef-2.d: New.
        * gas/arm/weakdef-2.l: New.

14 years ago * dlfcn.cc (get_full_path_of_dll): Handle non-existent file.
corinna [Thu, 29 Apr 2010 22:03:30 +0000 (22:03 +0000)]
* dlfcn.cc (get_full_path_of_dll): Handle non-existent file.

14 years ago * new-features.sgml (ov-new1.7.6): Add new "dos" and "inode" mount
corinna [Thu, 29 Apr 2010 19:58:17 +0000 (19:58 +0000)]
* new-features.sgml (ov-new1.7.6): Add new "dos" and "inode" mount
options.
* pathnames.sgml (mount-table): Ditto.
(pathnames-specialchars): Change description order.  Add paragraph
to explain new behaviour in terms of leading spaces and trailing dots
and spaces in pathnames.

14 years ago * utils.sgml (mount): Add description for "dos" and "ihash" mount
corinna [Thu, 29 Apr 2010 19:53:31 +0000 (19:53 +0000)]
* utils.sgml (mount): Add description for "dos" and "ihash" mount
options.

14 years ago * path.cc: Include sys/cygwin.h if built for mount(1).
corinna [Thu, 29 Apr 2010 19:39:35 +0000 (19:39 +0000)]
* path.cc: Include sys/cygwin.h if built for mount(1).
(struct opt): Add "dos" and "ihash" options.
(from_fstab_line): Call cygwin_internal rather than read_flags if
built for mount(1).

14 years ago * mount.cc (struct opt): Add "dos" and "ihash" options.
corinna [Thu, 29 Apr 2010 19:38:03 +0000 (19:38 +0000)]
* mount.cc (struct opt): Add "dos" and "ihash" options.
(fillout_mntent): Ditto.
* path.cc (path_conv::get_nt_native_path): Use path_conv's
has_dos_filenames_only method.
(path_conv::check): Add PATH_IHASH flag if FS has unreliable inode
numbers.
(symlink_info::check_shortcut): Or symlink flags to pflags.
(symlink_info::check_sysfile): Ditto.  Change test accordingly.
(symlink_info::check_reparse_point): Ditto.
(symlink_info::check_nfs_symlink): Ditto.
(symlink_info::check): Check PATH_DOS flag in call to get_nt_native_path
to utilize mount flag.  Ditto in test for potential restarting.  Set
PATH_DOS if FS only allows DOS filename rules.
* path.h (enum path_types): Add PATH_DOS and PATH_IHASH.
(path_conv::hasgood_inode): Check PATH_IHASH instead of
fs.hasgood_inode.
(path_conv::has_dos_filenames_only): New method.
* include/sys/mount.h (MOUNT_DOS): New mount flag.
(MOUNT_IHASH): Ditto.

14 years ago * mount.cc (oopts): Remove entirely.
corinna [Thu, 29 Apr 2010 17:50:22 +0000 (17:50 +0000)]
* mount.cc (oopts): Remove entirely.
(usage): Call cygwin_internal (CW_LST_MNT_OPTS) to create list of
mount options.
(print_version): Fix copyright date.
(main): Replace option processing loop with single call to
cygwin_internal (CW_CVT_MNT_OPTS).

14 years ago * external.cc (cygwin_internal): Add CW_CVT_MNT_OPTS to allow mount
corinna [Thu, 29 Apr 2010 17:47:40 +0000 (17:47 +0000)]
* external.cc (cygwin_internal): Add CW_CVT_MNT_OPTS to allow mount
flag parsing.  Add CW_LST_MNT_OPTS case to allow mount flag listing.
* mount.cc (fstab_read_flags): Rename from read_flags.  Make externally
available.  Change input string to char ** to allow returning faulty
option.  Add flag for avoiding debug output.
(fstab_list_flags): New function to create list of options.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CVT_MNT_OPTS and
CW_LST_MNT_OPTS.

14 years ago*** empty log message ***
gdbadmin [Thu, 29 Apr 2010 09:00:09 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 29 Apr 2010 09:00:08 +0000 (09:00 +0000)]
daily update

14 years ago * mount.cc (compare_flags): New function.
corinna [Thu, 29 Apr 2010 00:35:52 +0000 (00:35 +0000)]
* mount.cc (compare_flags): New function.
(read_flags): Replace loop with bsearch.  Simplify error check.

14 years ago2010-04-27 Kai Tietz <kai.tietz@onevision.com>
ktietz [Thu, 29 Apr 2010 00:24:22 +0000 (00:24 +0000)]
2010-04-27  Kai Tietz  <kai.tietz@onevision.com>

        * pe-dll.c (_nm_-symbols): Use always underscored variant
        for symbols.
        (__imp_-symbols): Likewise.
        (___imp_-symbols): Likewise.
        * NEWS: Mention ABI change for x64 PE-COFF.

PS: Sorry, missed this part of approved patch.

14 years ago * include/cygwin/version.h: Bump API minor version.
corinna [Wed, 28 Apr 2010 19:20:33 +0000 (19:20 +0000)]
* include/cygwin/version.h: Bump API minor version.

14 years ago * new-features.sgml (ov-new1.7.6): Add locale wide-char changes.
corinna [Wed, 28 Apr 2010 19:19:25 +0000 (19:19 +0000)]
* new-features.sgml (ov-new1.7.6): Add locale wide-char changes.

14 years ago * locale.cc (print_lc_xxx_charset): Remove.
corinna [Wed, 28 Apr 2010 19:00:40 +0000 (19:00 +0000)]
* locale.cc (print_lc_xxx_charset): Remove.
(enum type_t): Change according to the fact that nl_langinfo now returns
all locale category values.
(lc_ctype_names): Add new category members.  Redefine for exclusive
nl_langinfo usage.
(lc_numeric_names): Ditto.
(lc_time_names): Ditto.
(lc_collate_names): Ditto.
(lc_monetary_names): Ditto.
(lc_messages_names): Ditto.
(print_lc): Change switch according to new type_t values.

14 years ago * cygwin.din (__locale_mb_cur_max): Export.
corinna [Wed, 28 Apr 2010 19:00:24 +0000 (19:00 +0000)]
* cygwin.din (__locale_mb_cur_max): Export.
* nlsfuncs.cc (__getlocaleinfo): Drop conversion to multibyte.
(__charfromwchar): New function to convert to multibyte.
(__eval_datetimefmt): Convert to return wchar_t pointer.  Work on
wide char string.
(__set_lc_time_from_win): Take additional pointer to "C" category info
to accommodate C.foo locales.  Rework to fill wide char members in
category info.
(__set_lc_ctype_from_win): New function.
(__set_lc_numeric_from_win): Take additional pointer to "C" category
info to accommodate C.foo locales.  Rework to fill wide char members
in category info.
(__set_lc_monetary_from_win): Ditto.
(__set_lc_messages_from_win): Ditto.
(__get_current_collate_codeset): New function, called from nl_langinfo.
* include/cygwin/config.h (__HAVE_LOCALE_INFO_EXTENDED__): Define.

14 years ago Extend locale support to maintain wide char values of native strings
corinna [Wed, 28 Apr 2010 18:59:34 +0000 (18:59 +0000)]
Extend locale support to maintain wide char values of native strings
if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/include/langinfo.h (enum __nl_item): New type.  Define all
native values accessible through nl_langinfo.  Define previously
existing POSIX-compatible values as macros as well.
* libc/include/stdlib.h (__mb_cur_max): Drop declaration.
(__locale_mb_cur_max): Declare.
(MB_CUR_MAX): Re-define calling __locale_mb_cur_max.
* libc/locale/Makefile.am (ELIX_SOURCES): Add lctype.c.
* libc/locale/Makefile.in: Regenerate.
* libc/locale/lctype.c: New file to define and load LC_CTYPE category.
* libc/locale/lctype.h: New file, matching header.
* libc/locale/lmessages.c (_C_messages_locale): Add default values for
wide char members.
(__messages_load_locale): Add _C_messages_locale in call to
__set_lc_messages_from_win.
* libc/locale/lmessages.h (struct lc_messages_T): Add wide char members.
* libc/locale/lmonetary.c (_C_monetary_locale):  Add default values for
wide char members.
(__monetary_load_locale): Add _C_monetary_locale in call to
__set_lc_monetary_from_win.
* libc/locale/lmonetary.h (struct lc_monetary_T): Add wide char members.
Add numerical values for international currency formatting per
POSIX-1.2008, if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/locale/lnumeric.c (_C_numeric_locale): Add default values for
wide char members.
(__numeric_load_locale): Add _C_numeric_locale in call to
__set_lc_numeric_from_win.
* libc/locale/lnumeric.h (struct lc_numeric_T): Add wide char members.
* libc/locale/locale.c (loadlocale): Return doing nothing if category
locale didn't change.  Convert category if chain to switch statement.
Call __ctype_load_locale in LC_CTYPE case.
(__locale_charset): Add (but disable for now) returning codeset from
__get_current_ctype_locale.
(__locale_mb_cur_max): Add (but disable for now) returning mb_cur_max
from __get_current_ctype_locale.
(__locale_msgcharset): Add returning codeset from
__get_current_messages_locale.
(_localeconv_r): Accommodate int_XXX values.
* libc/locale/nl_langinfo.c (nl_ext): New array to define what is to
be returned for non-POSIX values.
(nl_Langinfo): Return correct codeset for each locale category.  Return
extended values if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/locale/timelocal.c (_C_time_locale): Add default values for
wide char members.
(__time_load_locale): Add _C_time_locale in call to
__set_lc_time_from_win.
* libc/locale/timelocal.h (struct lc_time_T): Add wide char members.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use wide char decimal point
and thousands_sep if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/time/strftime.c: Rework to accommodate availability of wide char
strings in LC_TIME category if __HAVE_LOCALE_INFO_EXTENDED__ is defined.

14 years ago2010-04-28 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 28 Apr 2010 16:59:47 +0000 (16:59 +0000)]
2010-04-28  Kai Tietz  <kai.tietz@onevision.com>

        * config.bfd: Correct accidential reverted patch
        about vax*-*-*vms*.

14 years ago*** empty log message ***
gdbadmin [Wed, 28 Apr 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 28 Apr 2010 09:00:05 +0000 (09:00 +0000)]
daily update

14 years agogas:
jsm28 [Wed, 28 Apr 2010 08:43:24 +0000 (08:43 +0000)]
gas:
* config/tc-tic6x.h (tic6x_label_list): New.
(tic6x_segment_info_type): Keep a list of labels and a current
frag instead of a boolean for whether labels seen and a count of
instructions.
(tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
md_do_align, tic6x_do_align, md_end, tic6x_end): New.
* config/tc-tic6x.c (tic6x_frob_label): Put label on list.
(tic6x_cleanup): Correct comment.
(tic6x_free_label_list): New.
(tic6x_cons_align): Free label list and update for
tic6x_segment_info_type changes.
(tic6x_do_align): New.
(md_assemble): Handle list of labels and saved frag for execute
packet.  Create machine-dependent frag for new execute packet and
adjust labels accordingly.
(tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
(md_convert_frag, md_estimate_size_before_relax): Update comments.

gas/testsuite:
* gas/tic6x/align-1-be.d, gas/tic6x/align-1.d,
gas/tic6x/align-1.s, gas/tic6x/align-2.d, gas/tic6x/align-2.s:
New.

14 years ago* spawn.cc (find_exec): Use the first detected errno when lookup fails.
cgf [Wed, 28 Apr 2010 08:06:48 +0000 (08:06 +0000)]
* spawn.cc (find_exec): Use the first detected errno when lookup fails.

14 years agoFix author list for one of the patches.
brobecke [Wed, 28 Apr 2010 06:06:28 +0000 (06:06 +0000)]
Fix author list for one of the patches.

I was the committer, not the author.

14 years agoExpand description of solib-svr4.c:solib_svr4_r_map
brobecke [Wed, 28 Apr 2010 06:02:10 +0000 (06:02 +0000)]
Expand description of solib-svr4.c:solib_svr4_r_map

2010-04-27  Joel Brobecker  <brobecker@adacore.com>

        * solib-svr4.c (solib_svr4_r_map): Expand function description.

14 years agoAssociate .dg files to Ada
brobecke [Wed, 28 Apr 2010 06:01:57 +0000 (06:01 +0000)]
Associate .dg files to Ada

The .dg files are files containing the user's code, after the GNAT
expander was applied.  The expansion replaces some of the complex
features by simpler pseudo-Ada code and the user can ask to see and
debug that code using the -gnatDG option...

For instance, given the following code where Circle is a tagged type
(aka as a class type in C++):

    procedure Foo is
       My_Shape : Circle := (X => 1, Y => 2, R => 3);
       X : Integer;
    begin
       X := Position_X (My_Shape);
    end Foo;

The expansion results in:

    procedure foo is
       my_shape : pck__circle := (
          _parent => (
             _tag => pck__circleP,
             x => 1,
             y => 2),
          r => 3);
       x : integer;
    begin
       x := pck__position_x (my_shape);
       return;
    end foo;

2010-04-27  Joel Brobecker  <brobecker@adacore.com>

        * symfile.c (init_filename_language_table): Register .dg files
        with language_ada.

14 years agoDocument special use of target_type field in Ada structs.
brobecke [Wed, 28 Apr 2010 06:01:44 +0000 (06:01 +0000)]
Document special use of target_type field in Ada structs.

This is a comment that I wrote not too long ago, I believe, as part
of a submission process, and somehow did not get to commit.  It explains
how the TYPE_TARGET_TYPE is used by Ada in the case of dynamic records/
unions.

2010-04-24  Joel Brobecker  <brobecker@adacore.com>

        * gdbtypes.h (struct main_type): Expand comment about target_type
        field.

14 years agoCheck library name rather than member name when rereading symbols.
brobecke [Wed, 28 Apr 2010 06:01:30 +0000 (06:01 +0000)]
Check library name rather than member name when rereading symbols.

On Darwin, we have lots of complaints being emitted when restarting
a program:

    (gdb) start
    `a-except.o' has disappeared; keeping its symbols.
    `unwind-dw2.o' has disappeared; keeping its symbols.
    `s-except.o' has disappeared; keeping its symbols.
    `s-traceb.o' has disappeared; keeping its symbols.

These object files are part of the GNAT runtime, and were never available.
The warning comes from the fact that we're checking whether the .o files
in the GNAT shared runtime have changed whereas we should be checking
whether the GNAT shared library itself has changed.

This patch implements this.  Although it is really only useful on a platform
such as Darwin (debug info stored in .o files), we believe that this is
the right thing to do in general.  This change should be a noop for all
the other platforms in any case.

gdb/ChangeLog (from Tristan Gingold & Pedro Alves):

        * symfile.c (reread_symbols): Also search for file in libraries.
        Update comment.

Tested on x86_64-darwin and x86_64-linux.

14 years agoAdd support for x86-lynxos cross debugger (as bareboard x86).
brobecke [Wed, 28 Apr 2010 06:01:13 +0000 (06:01 +0000)]
Add support for x86-lynxos cross debugger (as bareboard x86).

This is a fairly simple patch that we have had for a while.  LynxOS has
relatively few features, from a GDB perspective, and we've been using
a bareboard x86 debugger as our LynxOS cross-debugger.  So here is a patch
that make x86-lynxos an alias of bareboard x86.

On the other end of things, I'm still working on gdbserver support
for LynxOS - I'm just lacking the time to make significant progress.
But this is in the works (in the meantime, we're using gdbserver from
gdb-6.8 which is derived work from LinuxWorks' patch).

I wasn't sure whether this would be interesting or not for the FSF tree,
but since it's simple and unintrusive, I am suggesting it now... Any
objection?  I wasn't sure whether it warranted a NEWS entry either, since
it doesn't really add a new port, just an alias.  I suggest the NEWS entry
when I'm finally done with the gdbserver port.

gdb/ChangeLog:

        * configure.tgt: Treat x86-lynxos targets as x86 bareboard targets
        in terms of configuration.

14 years agogdb/
jkratoch [Wed, 28 Apr 2010 05:06:56 +0000 (05:06 +0000)]
gdb/
* objfiles.c: Include solist.h.
(free_all_objfiles): New variable so.  Check stale solist objfiles.
* symfile.c (symbol_file_clear): Swap the order of free_all_objfiles
and no_shared_libraries.

14 years ago2010-04-27 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 28 Apr 2010 02:28:13 +0000 (02:28 +0000)]
2010-04-27  Kai Tietz  <kai.tietz@onevision.com>

* dlltool.c (main): Query for bfd's underscoring default for
default target case.

2010-04-27  Kai Tietz  <kai.tietz@onevision.com>

* binutils-all/dlltool.exp: Allow test for
arm-wince-pe target.

14 years ago2010-04-27 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 28 Apr 2010 02:25:59 +0000 (02:25 +0000)]
2010-04-27  Kai Tietz  <kai.tietz@onevision.com>

* pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent
to USE_MINGW64_LEADING_UNDERSCORES.
        * pei-x86_64.c (TARGET_UNDERSCORE): Likewise.
* config.bfd: Change underscoring default for x64 mingw
to false.
* coffcode.h (coff_write_relocs): Add check that dereferenced
sym_ptr_ptr isn't NULL.
* config.in (USE_MINGW64_LEADING_UNDERSCORES): New.
* configure: Regenerated.
* configure.in: Add option '--enable-leading-mingw64-underscores'
and define config.in variable USE_MINGW64_LEADING_UNDERSCORES.

14 years agoARI warning fix.
brobecke [Wed, 28 Apr 2010 01:35:57 +0000 (01:35 +0000)]
ARI warning fix.

        * python/py-auto-load.c (source_section_scripts): Remove trailing
        new-line in i18n string.

14 years agoProperly install gold/ld as default cross linker.
hjl [Wed, 28 Apr 2010 01:05:48 +0000 (01:05 +0000)]
Properly install gold/ld as default cross linker.

gold/

2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (install-exec-local): Properly install gold as
default cross linker.
* Makefile.in: Regenerated.

ld/

2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (install-exec-local): Properly install ld as
default cross linker.
* Makefile.in: Regenerated.

14 years ago * include/regex.h: Include _ansi.h to avoid missing out on preprocessor
corinna [Wed, 28 Apr 2010 00:18:13 +0000 (00:18 +0000)]
* include/regex.h: Include _ansi.h to avoid missing out on preprocessor
macros in sys/_types.h.

14 years ago PR gprof/11524
nickc [Tue, 27 Apr 2010 23:46:09 +0000 (23:46 +0000)]
    PR gprof/11524
        * corefile.c (core_create_syms_from): Use correct size of buffer.

14 years ago PR binutils/11512
nickc [Tue, 27 Apr 2010 23:42:50 +0000 (23:42 +0000)]
    PR binutils/11512
        * coffgen.c (coff_find_nearest_line): Incldue the section address
        of function name symbols in address comparisons.

14 years agoUpdated French and Russian translations.
nickc [Tue, 27 Apr 2010 23:28:33 +0000 (23:28 +0000)]
Updated French and Russian translations.

14 years ago * configure.ac (--enable-gold): Support both, both/gold and
nickc [Tue, 27 Apr 2010 23:24:35 +0000 (23:24 +0000)]
    * configure.ac (--enable-gold): Support both, both/gold and
        both/bfd to add gold to configdirs without removing ld.
        * configure: Regenerated.

        * Makefile.def: Add install-gold dependency to install-ld.
        * Makefile.in: Regenerated.

14 years agogold:
nickc [Tue, 27 Apr 2010 23:12:30 +0000 (23:12 +0000)]
gold:
        * configure.ac (install_as_default): Define and set to false
        unless --enable-gold or --enable-gold=both/gold has been
        specified.
        * configure: Regenerate.

        * Makefile.am (install-exec-local): Install the executable as
        'ld.gold'.  If install_as_default is true then also install it as
        'ld'.
        * Makefile.in: Regenerated.
ld:
        * configure.in (install_as_default): Define and set to true
        unless --enable-gold=both/gold has been specified.
        * configure: Regenerate.

        * Makefile.am (transform): Use ld.bfd as the default name of
        the linker.
        (install-exec-local): Also install the executable as a binary
        named 'ld' if install_as_default is true.
        * Makefile.in: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Tue, 27 Apr 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Tue, 27 Apr 2010 09:00:05 +0000 (09:00 +0000)]
daily update

14 years ago * server.c (handle_general_set): Make static.
devans [Tue, 27 Apr 2010 07:02:32 +0000 (07:02 +0000)]
* server.c (handle_general_set): Make static.

14 years ago * serial.c (serial_write): Handle serial_debug_p akin to serial_read.
devans [Tue, 27 Apr 2010 06:45:47 +0000 (06:45 +0000)]
* serial.c (serial_write): Handle serial_debug_p akin to serial_read.

14 years ago PR breakpoints/11531.
muller [Tue, 27 Apr 2010 05:49:27 +0000 (05:49 +0000)]
PR breakpoints/11531.
* gdb.base/gdb11531.c: New file.
* gdb.base/gdb11531.exp: New file.

14 years agogdb
tromey [Tue, 27 Apr 2010 03:37:08 +0000 (03:37 +0000)]
gdb
* cli/cli-decode.c (complete_on_cmdlist): Make two passes over the
command list.
gdb/testsuite
* gdb.base/completion.exp: Add tests for completion and deprecated
commands.

14 years agomerge from gcc
dj [Tue, 27 Apr 2010 03:04:23 +0000 (03:04 +0000)]
merge from gcc