OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
jakub [Tue, 3 May 2011 08:43:14 +0000 (08:43 +0000)]
* dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
and DW_OP_GNU_reinterpret.

13 years ago * MAINTAINERS: Add myself as DWARF2 maintainer.
jakub [Tue, 3 May 2011 08:33:41 +0000 (08:33 +0000)]
* MAINTAINERS: Add myself as DWARF2 maintainer.

13 years ago * fhandler_tty.cc (fhandler_tty_slave::read): Set WFMO timeout to 0 for
corinna [Tue, 3 May 2011 07:58:12 +0000 (07:58 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::read): Set WFMO timeout to 0 for
nonblocking case.  Drop useless waiter variable.  Rewrite wait for
input_available_event to use a switch statement.  Handle timeout and
failure more gracefully.  Make restartable and cancelable.  Rewrite
wait for input_mutex to use WFMO and a switch statement.  Handle
timeout and failure more gracefully.  Make restartable and cancelable.

13 years agogdb/
jkratoch [Tue, 3 May 2011 07:29:14 +0000 (07:29 +0000)]
gdb/
Fix false GCC warning.
* breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state.

13 years ago * breakpoint.c (update_watchpoint): Move code to change
bauermann [Tue, 3 May 2011 05:02:48 +0000 (05:02 +0000)]
* breakpoint.c (update_watchpoint): Move code to change
the enable state of breakpoint from here ...
(do_enable_breakpoint): ... to here.

13 years ago* new-features.sgml (ov-new1.7.10): Document new pthread APIs.
yselkowitz [Tue, 3 May 2011 04:09:52 +0000 (04:09 +0000)]
* new-features.sgml (ov-new1.7.10): Document new pthread APIs.

13 years ago* signal.cc (_pinfo::kill): Avoid referencing 'pid' after ESRCH.
cgf [Tue, 3 May 2011 02:03:03 +0000 (02:03 +0000)]
* signal.cc (_pinfo::kill): Avoid referencing 'pid' after ESRCH.

13 years ago* cygwin.din (pthread_attr_getstack): Export.
yselkowitz [Tue, 3 May 2011 01:13:36 +0000 (01:13 +0000)]
* cygwin.din (pthread_attr_getstack): Export.
(pthread_attr_getstackaddr): Export.
(pthread_getattr_np): Export.
* ntdll.h (enum _THREAD_INFORMATION_CLASS): Add ThreadBasicInformation.
(struct _THREAD_BASIC_INFORMATION): Define.
(NtQueryInformationThread): Declare.
* posix.sgml (std-susv4): Add pthread_attr_getstack.
(std-gnu): Add pthread_getattr_np.
(std-deprec): Add pthread_attr_getstackaddr.
(std-notimpl): Remove pthread_attr_[gs]etstackaddr, as they were
removed from SUSv4.
* thread.cc (pthread_attr::pthread_attr): Initialize stackaddr.
(pthread_attr_getstack): New function.
(pthread_attr_getstackaddr): New function.
(pthread_attr_setstacksize): Return EINVAL if passed size less than
PTHREAD_STACK_MIN, as required by POSIX.
(pthread_getattr_np): New function.
* thread.h (class pthread_attr): Add stackaddr member.
* include/pthread.h (pthread_attr_getstack): Declare.
(pthread_attr_getstackaddr): Declare unconditionally.
(pthread_attr_setstack): Declare inside false conditional for reference.
(pthread_getattr_np): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

13 years agodaily update
amodra [Tue, 3 May 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Tue, 3 May 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years agofix typo
cgf [Mon, 2 May 2011 23:11:18 +0000 (23:11 +0000)]
fix typo

13 years ago* Makefile.in: Allow CFLAGS to be overridden from the environment.
cgf [Mon, 2 May 2011 19:14:38 +0000 (19:14 +0000)]
* Makefile.in: Allow CFLAGS to be overridden from the environment.

13 years ago * thread.cc (cancelable_wait): Remove test for main thread.
corinna [Mon, 2 May 2011 18:48:10 +0000 (18:48 +0000)]
* thread.cc (cancelable_wait): Remove test for main thread.
* fhandler_fifo.cc (fhandler_fifo::open_nonserver): Ditto.

13 years ago * fhndler_tty.cc (andler_pty_master::process_slave_output): Make
corinna [Mon, 2 May 2011 18:41:09 +0000 (18:41 +0000)]
* fhndler_tty.cc (andler_pty_master::process_slave_output): Make
interruptible and cancelable.  Fix nonblocking case.

13 years ago2011-05-02 Pedro Alves <pedro@codesourcery.com>
palves [Mon, 2 May 2011 17:52:28 +0000 (17:52 +0000)]
2011-05-02  Pedro Alves  <pedro@codesourcery.com>

PR testsuite/12649
Fix races.

* gdb.base/completion.exp: Remove all sleep calls.  Remove
unnecessary regexs.  Don't explicitly expect anything after the
prompt.  Eat the prompt if necessary.

13 years ago * fhandler_console.cc (fhandler_console::read): Make restartable and
corinna [Mon, 2 May 2011 17:38:15 +0000 (17:38 +0000)]
* fhandler_console.cc (fhandler_console::read): Make restartable and
cancelable.

13 years ago* gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
emachado [Mon, 2 May 2011 17:07:10 +0000 (17:07 +0000)]
* gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
accept to show the caller line again as well as the line after.

13 years ago* strace.cc (strace::vprntf): Avoid closing unopened handle.
cgf [Mon, 2 May 2011 17:05:10 +0000 (17:05 +0000)]
* strace.cc (strace::vprntf): Avoid closing unopened handle.

13 years ago* sysconf.cc (sca): Set _SC_SPIN_LOCKS to _POSIX_SPIN_LOCKS.
yselkowitz [Mon, 2 May 2011 16:11:04 +0000 (16:11 +0000)]
* sysconf.cc (sca): Set _SC_SPIN_LOCKS to _POSIX_SPIN_LOCKS.

13 years ago* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
yselkowitz [Mon, 2 May 2011 16:05:06 +0000 (16:05 +0000)]
* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
* libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t
typedef.

13 years agoEliminate trailing whitespace in some files.
cgf [Mon, 2 May 2011 15:28:33 +0000 (15:28 +0000)]
Eliminate trailing whitespace in some files.

* dll_init.cc (dll_list::alloc): Reset 'p' in forked process.
* select.cc (select_stuff::wait): Move cleanup() closer to WFMO to minimize
unavoidable (?) race.

13 years agoAdd testcases for "ar -d" and "ar -m".
hjl [Mon, 2 May 2011 12:47:47 +0000 (12:47 +0000)]
Add testcases for "ar -d" and "ar -m".

2011-05-02  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/12720
* binutils-all/ar.exp (delete_an_element): New.
(move_an_element): Likewise.
Run delete_an_element and move_an_element.

13 years ago Throughout remove NT4 from documentation.
corinna [Mon, 2 May 2011 11:56:36 +0000 (11:56 +0000)]
Throughout remove NT4 from documentation.

* new-features.sgml (ov-new1.7.10): Document change in passwd command.

13 years ago * fhandler_serial.cc (fhandler_serial::raw_read): Add restartability
corinna [Mon, 2 May 2011 10:20:35 +0000 (10:20 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Add restartability
after a signal.  Add cancelability.
(fhandler_serial::raw_write): Wait for write to succeed if O_NONBLOCK
is not set.  Add signal handling and cancelability.

13 years ago PR binutils/12720
amodra [Mon, 2 May 2011 06:04:10 +0000 (06:04 +0000)]
PR binutils/12720
Revert the following change
Michael Snyder  <msnyder@vmware.com>
* ar.c (move_members): Plug memory leak.
(delete_members): Plug memory leak.

13 years agoProperly TABify ChangeLog; take 2
ppluzhnikov [Mon, 2 May 2011 00:21:28 +0000 (00:21 +0000)]
Properly TABify ChangeLog; take 2

13 years agoProperly TABify ChangeLog
ppluzhnikov [Mon, 2 May 2011 00:18:41 +0000 (00:18 +0000)]
Properly TABify ChangeLog

13 years ago*** empty log message ***
gdbadmin [Mon, 2 May 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Mon, 2 May 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * fhandler_windows.cc (fhandler_windows::read): Use
corinna [Sun, 1 May 2011 17:42:41 +0000 (17:42 +0000)]
* fhandler_windows.cc (fhandler_windows::read): Use
pthread::get_cancel_event to fetch thread's cancel event.
* flock.cc (lf_setlock): Ditto.
* posix_ipc.cc (ipc_cond_timedwait): Ditto.
* thread.cc (pthread::get_cancel_event): New static method.
* thread.h (pthread::get_cancel_event): Declare.

13 years ago * libc/minires-os-if.c (get_dns_info): Remove unnecessary test for
corinna [Sun, 1 May 2011 14:56:46 +0000 (14:56 +0000)]
* libc/minires-os-if.c (get_dns_info): Remove unnecessary test for
existence of DnsQuery_A.

13 years agoAdd missing ChangeLog entry:
corinna [Sun, 1 May 2011 14:36:17 +0000 (14:36 +0000)]
Add missing ChangeLog entry:

* fhandler.h (fhandler_windows::is_slow): Remove.

13 years ago Throughout, use user32 UNICODE functions rather than ANSI functions.
corinna [Sun, 1 May 2011 14:35:11 +0000 (14:35 +0000)]
Throughout, use user32 UNICODE functions rather than ANSI functions.
* autoload.cc: Convert all definitions for ANSI user32 functions to
definitions for the corresponding UNICODE function.
(SendMessageA): Remove.
(SendNotifyMessageW): Define.
* fhandler_windows.cc (fhandler_windows::write): Use SendNotifyMessageW
call rather than SendMessage to make function always return immediately.
(fhandler_windows::read): Make function interruptible and a cancellation
point.  Handle O_NONBLOCK.
* select.cc (peek_serial): Don't wait for signal_arrived here.
* window.cc (wininfo::winthread): Call CreateWindowExW directly rather
than CreateWindow wrapper.

13 years agoAdd testcases for PR ld/12718.
hjl [Sun, 1 May 2011 13:38:22 +0000 (13:38 +0000)]
Add testcases for PR ld/12718.

2011-05-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12718
* ld-i386/i386.exp: Run pr12718.
* ld-x86-64/x86-64.exp: Likewise.

* ld-i386/pr12718.d: New.
* ld-i386/pr12718.s: Likewise.
* ld-x86-64/pr12718.d: Likewise.
* ld-x86-64/pr12718.s: Likewise.

13 years ago PR ld/12718
amodra [Sun, 1 May 2011 12:04:06 +0000 (12:04 +0000)]
PR ld/12718
* elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before
creating ifunc sections.
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.

13 years ago * net.cc (fdsock): Drop setting uninterruptible_io to true.
corinna [Sun, 1 May 2011 08:14:38 +0000 (08:14 +0000)]
* net.cc (fdsock): Drop setting uninterruptible_io to true.

13 years ago * fhandler.h (fhandler_socket::is_slow): Remove.
corinna [Sun, 1 May 2011 08:01:53 +0000 (08:01 +0000)]
* fhandler.h (fhandler_socket::is_slow): Remove.

13 years agodaily update
amodra [Sun, 1 May 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sun, 1 May 2011 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

13 years agoCorrect parameter names for elf_x86_64_merge_symbol.
hjl [Sat, 30 Apr 2011 17:56:34 +0000 (17:56 +0000)]
Correct parameter names for elf_x86_64_merge_symbol.

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

* elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter
names.

13 years ago * fcntl.cc (fcntl64): Call pthread_testcancel.
corinna [Sat, 30 Apr 2011 16:34:43 +0000 (16:34 +0000)]
* fcntl.cc (fcntl64): Call pthread_testcancel.
* fhandler_socket.cc (fhandler_socket::connect): Ditto.
(fhandler_socket::accept4): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* flock.cc (lf_setlock): Allow to cancel thread running blocking
file lock.  Try to make code more readable.
(lockf): Call pthread_testcancel.
* mmap.cc (msync): Ditto.
* posix_ipc.cc (ipc_cond_timedwait): Call pthread::static_cancel_self
rather than pthread_testcancel.
* select.cc (cygwin_select): Call pthread_testcancel.
* syscalls.cc (pread): Ditto.
(pwrite): Ditto.
(readv): Ditto.
(writev): Ditto.
(open): Ditto.
(close): Ditto.
(fsync): Ditto.
* termios.cc (tcdrain): Ditto.
* thread.cc: Align list of cancellation points with above changes.
Mark not-implemented functions, too.
(cancelable_wait): Don't set unused object indices to WAIT_FAILED
since that could result in wrong behaviour.  Set them to the invalid
value WAIT_TIMEOUT + 1 instead.

13 years agoUpdate binutils-all/x86-64/compressed-1a.d.
hjl [Sat, 30 Apr 2011 13:17:19 +0000 (13:17 +0000)]
Update binutils-all/x86-64/compressed-1a.d.

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

* binutils-all/x86-64/compressed-1a.d: Adjust for change in output
format.

13 years ago * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
jakub [Sat, 30 Apr 2011 11:01:35 +0000 (11:01 +0000)]
* dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.

13 years ago * thread.h (class pthread): Add bool member canceled.
corinna [Sat, 30 Apr 2011 10:20:24 +0000 (10:20 +0000)]
* thread.h (class pthread): Add bool member canceled.
* thread.cc (pthread::pthread): Initialize canceled to false.
(pthread::cancel): Set canceled before setting cancel_event.
(pthread::testcancel): Check for canceled.  Only wait for cancel_event
if canceled is true.  Explain why.
(pthread::_fixup_after_fork): Set canceled to false.

13 years ago*** empty log message ***
gdbadmin [Sat, 30 Apr 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 30 Apr 2011 00:00:10 +0000 (00:00 +0000)]
daily update

13 years ago2011-04-26 Andrew Gontarek <andrewg@cray.com>
tromey [Fri, 29 Apr 2011 19:23:36 +0000 (19:23 +0000)]
2011-04-26  Andrew Gontarek  <andrewg@cray.com>

       * valprint.c (val_print_array_elements): Fixed poor performance
       of printing very large arrays with repeat_count_threshold set
       to unlimited.  New comment.

13 years ago * errno.cc (errmap): Sort. Map ERROR_EXE_MACHINE_TYPE_MISMATCH to
corinna [Fri, 29 Apr 2011 18:54:21 +0000 (18:54 +0000)]
* errno.cc (errmap): Sort.  Map ERROR_EXE_MACHINE_TYPE_MISMATCH to
ENOEXEC.

13 years ago * mi/mi-parse.c (mi_parse): Remove incorrect sizeof.
tromey [Fri, 29 Apr 2011 18:44:11 +0000 (18:44 +0000)]
* mi/mi-parse.c (mi_parse): Remove incorrect sizeof.
(mi_parse): Likewise.
* breakpoint.c (break_range_command): Use sizeof char*, not
char**.
(create_breakpoint): Likewise.
(parse_breakpoint_sals): Likewise.

13 years ago * thread.cc: Update comment listing cancellation points per POSIX.
corinna [Fri, 29 Apr 2011 18:29:26 +0000 (18:29 +0000)]
* thread.cc: Update comment listing cancellation points per POSIX.

13 years ago * linux-nat.c (linux_child_remove_fork_catchpoint)
palves [Fri, 29 Apr 2011 15:54:10 +0000 (15:54 +0000)]
* linux-nat.c (linux_child_remove_fork_catchpoint)
(linux_child_remove_vfork_catchpoint)
(linux_child_remove_exec_catchpoint): New functions.
(linux_target_install_ops): Install them.

13 years ago2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 29 Apr 2011 12:45:44 +0000 (12:45 +0000)]
2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>

PR mi/12531

* varobj.c (install_default_visualizer): Do not install a
visualizer if the varobj is CPLUS_FAKE_CHILD.
(construct_visualizer): Likewise.

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

PR mi/12531

* gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
compile target.
* gdb.python/py-prettyprint.exp: Add C++ object for
CPLUS_FAKE_CHILD test.

13 years ago * advapi32.cc: Add comment.
corinna [Fri, 29 Apr 2011 10:38:11 +0000 (10:38 +0000)]
* advapi32.cc: Add comment.
(EqualSid): Remove.
(CopySid): Remove.
(AddAccessAllowedAce): Remove.
(AddAccessDeniedAce): Remove.
(MakeSelfRelativeSD): Remove.
* flock.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_acl.cc: Ditto.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
(RtlEqualSid): Declare.  Explain why.
(RtlCopySid): Ditto.

13 years ago * advapi32.cc (AccessCheck): Remove.
corinna [Fri, 29 Apr 2011 09:48:24 +0000 (09:48 +0000)]
* advapi32.cc (AccessCheck): Remove.
(PrivilegeCheck): Remove.
(OpenThreadToken): Remove.
* fhandler_tty.cc: Replace above functions throughout with their
ntdll.dll equivalent.
* security.cc: Ditto.

13 years ago * ntdll.h (IsEventSignalled): New inline function.
corinna [Fri, 29 Apr 2011 08:27:09 +0000 (08:27 +0000)]
* ntdll.h (IsEventSignalled): New inline function.
* cygthread.cc (cygthread::terminate_thread): Use IsEventSignalled in
place of WaitForSingleObject on event with 0 timeout.
* fhandler.cc (fhandler_base_overlapped::has_ongoing_io): Ditto.
* fhandler_fifo.cc (fhandler_fifo::open_nonserver): Ditto.
(fhandler_fifo::wait): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Ditto.
* select.cc (verify_tty_slave): Ditto.
* thread.cc (pthread::testcancel): Ditto.

13 years ago * advapi32.cc (GetTokenInformation): Remove.
corinna [Fri, 29 Apr 2011 07:34:02 +0000 (07:34 +0000)]
* advapi32.cc (GetTokenInformation): Remove.
(SetTokenInformation): Remove.
* grp.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_auth.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread's
corinna [Fri, 29 Apr 2011 07:22:04 +0000 (07:22 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread's
cancel_event if thread's cancelability isn't disabled.

13 years ago * binutils-all/i386/compressed-1a.d: Adjust for change in output
hp [Fri, 29 Apr 2011 01:45:51 +0000 (01:45 +0000)]
* binutils-all/i386/compressed-1a.d: Adjust for change in output
format.

13 years ago * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
hp [Fri, 29 Apr 2011 01:45:05 +0000 (01:45 +0000)]
* gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
output format.
* gas/i386/dw2-compress-1.d: Ditto.

13 years agodaily update
amodra [Fri, 29 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Fri, 29 Apr 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * bfdio.c (memory_bstat): Pass correct size to memset.
tromey [Thu, 28 Apr 2011 20:36:49 +0000 (20:36 +0000)]
* bfdio.c (memory_bstat): Pass correct size to memset.

13 years agogdb/
jkratoch [Thu, 28 Apr 2011 17:37:02 +0000 (17:37 +0000)]
gdb/
* symtab.c (expand_partial_symbol_name): New variable NCMP.  Support
case insensitive comparison.

13 years ago * NEWS: Add note about --dwarf-depth, --dwarf-start, and
tromey [Thu, 28 Apr 2011 17:23:14 +0000 (17:23 +0000)]
* NEWS: Add note about --dwarf-depth, --dwarf-start, and
dwarf-mode.el.
* objdump.c (suppress_bfd_header): New global.
(usage): Update.
(OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
(options): Add dwarf-depth and dwarf-start entries.
(dump_bfd): Use suppress_bfd_header.
(main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
* doc/binutils.texi (objcopy): Document --dwarf-depth and
--dwarf-start.
(readelf): Likewise.
* dwarf-mode.el: New file.
* dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
(read_and_display_attr_value): Also check debug_info_p.
(process_debug_info): Handle dwarf_start_die and
dwarf_cutoff_level.
* dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
* readelf.c (usage): Update.
(OPTION_DWARF_DEPTH): New macro.
(OPTION_DWARF_START): Likewise.
(options): Add dwarf-depth and dwarf-start entries.
(parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
testsuite
* binutils-all/objdump.W: Correct output.

13 years ago * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
jsm28 [Thu, 28 Apr 2011 16:46:33 +0000 (16:46 +0000)]
* configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*,
arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove
cases in libgcj-disabling case statement.
(hppa*64*-*-linux*): Set unsupported_languages instead of
disabling target-zlib.
(hppa*64*-*-*): Restrict case in libgcj-disabling case statement
to hppa*64*-*-hpux*.
(hppa*-*-*): Restrict case in libgcj-disabling case statement to
hppa*-*-hpux*.
(ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf,
i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*,
i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* |
fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* |
powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*,
sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* |
sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* |
*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in
libgcj-disabling case statement.
* configure: Regenerate.

13 years ago * advapi32.cc (SetSecurityDescriptorDacl): Remove.
corinna [Thu, 28 Apr 2011 15:54:46 +0000 (15:54 +0000)]
* advapi32.cc (SetSecurityDescriptorDacl): Remove.
(SetSecurityDescriptorGroup): Remove.
(SetSecurityDescriptorOwner): Remove.
* pinfo.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_acl.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

* sec_helper.cc (__sec_user): Remove old comment.

13 years ago gdb/
uweigand [Thu, 28 Apr 2011 15:52:53 +0000 (15:52 +0000)]
gdb/
* infrun.c (proceed): Revert previous change.
(resume): Instead, handle the case of signal delivery while stepping
off a breakpoint location here, and only if software single-stepping
is used.  Handle nested signals.

gdb/testsuite/
* gdb.base/signest.exp: New file.
* gdb.base/signest.c: Likewise.

13 years ago PR ld/12614
amodra [Thu, 28 Apr 2011 15:29:41 +0000 (15:29 +0000)]
PR ld/12614
* emultempl/pe.em (_after_open): Correctly check whether symbol is
in undef list.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread's
corinna [Thu, 28 Apr 2011 14:44:24 +0000 (14:44 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread's
cancel_event, if any.  Call pthread_testcancel if cancel_event has been
signalled.

13 years ago * configure.ac: Disable Java for targets not supporting libffi.
jsm28 [Thu, 28 Apr 2011 13:33:02 +0000 (13:33 +0000)]
* configure.ac: Disable Java for targets not supporting libffi.
(*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe):
Remove cases in Java-disabling statement.
(*arm-wince-pe): Change to arm-wince-pe.
(arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove
cases in Java-disabling statement.
(bfin-*-*): Don't disable Java again.
(c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*,
fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* |
hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*,
hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff,
i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*,
i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*,
i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in
Java-disabling statement.
(mmix-*-*): Don't disable Java again.
(mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*,
microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*,
sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*,
tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling
statement.
* configure: Regenerate.

13 years ago Merge from GCC:
jsm28 [Thu, 28 Apr 2011 13:26:23 +0000 (13:26 +0000)]
Merge from GCC:

2011-04-18  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9*.
* configure: Regenerate.

13 years ago * configure.ac: Separate cases disabling Java and Java libraries
jsm28 [Thu, 28 Apr 2011 13:24:51 +0000 (13:24 +0000)]
* configure.ac: Separate cases disabling Java and Java libraries
from general case over targets.
* configure: Regenerate.

13 years agobfd: constify a few arrays
vapier [Thu, 28 Apr 2011 12:50:30 +0000 (12:50 +0000)]
bfd: constify a few arrays

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.
corinna [Thu, 28 Apr 2011 12:36:25 +0000 (12:36 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.
(_mq_send): Add pthread_testcancel call at start of function.
(_mq_receive): Ditto.

13 years ago * cygerrno.h (geterrno_from_nt_status): Declare.
corinna [Thu, 28 Apr 2011 12:13:40 +0000 (12:13 +0000)]
* cygerrno.h (geterrno_from_nt_status): Declare.
* errno.cc (geterrno_from_nt_status): Define.
* flock.cc: Fix copyright dates.
* ntdll.h (enum _TIMER_TYPE): Define.
(PTIMER_APC_ROUTINE): Define.
(NtCancelTimer): Declare.
(NtCreateTimer): Declare.
(NtSetTimer): Declare.
* posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and
restartable.  Call pthread_testcancel in case of timeout to enable
pthread_cancel on waiting thread.  Replace WFMO timeout with waiting
for a waitable timer.  Explain why.  Replace single call to WFMO with
two calls, one for the event, one for the mutex.  Don't lock mutex in
case of error.
(ipc_cond_signal): Make void function.
(ipc_cond_close): Ditto.
(_mq_send): Immediately return -1 in case of error from
ipc_cond_timedwait.
(_mq_receive): Ditto.

13 years ago * cygerrno.h (geterrno_from_nt_status): Declare.
corinna [Thu, 28 Apr 2011 12:13:26 +0000 (12:13 +0000)]
* cygerrno.h (geterrno_from_nt_status): Declare.
* errno.cc (geterrno_from_nt_status): Define.
* flock.cc: Fix copyright dates.
* ntdll.h (enum _TIMER_TYPE): Define.
(PTIMER_APC_ROUTINE): Define.
(NtCancelTimer): Declare.
(NtCreateTimer): Declare.
(NtSetTimer): Declare.
* posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and
restartable.  Call pthread_testcancel in case of timeout to enable
pthread_cancel on waiting thread.  Replace WFMO timeout with waiting
for a waitable timer.  Explain why.  Replace single call to WFMO with
two calls, one for the event, one for the mutex.  Don't lock mutex in
case of error.
(ipc_cond_signal): Make void function.
(ipc_cond_close): Ditto.
(_mq_send): Immediately return -1 in case of error from
ipc_cond_timedwait.
(_mq_receive): Ditto.

13 years ago * advapi32.cc (GetSecurityDescriptorDacl): Remove.
corinna [Thu, 28 Apr 2011 09:53:10 +0000 (09:53 +0000)]
* advapi32.cc (GetSecurityDescriptorDacl): Remove.
(GetSecurityDescriptorGroup): Remove.
(GetSecurityDescriptorOwner): Remove.
* sec_acl.cc: Replace above functions throughout with their ntdll.dll
equivalent.  Remove redundant debug output.
* sec_auth.cc: Ditto.
* security.cc: Ditto.
* uinfo.cc: Ditto.

13 years ago * advapi32.cc (InitializeAcl): Remove.
corinna [Thu, 28 Apr 2011 09:30:35 +0000 (09:30 +0000)]
* advapi32.cc (InitializeAcl): Remove.
(AddAce): Remove.
(FindFirstFreeAce): Remove.
(GetAce): Remove.
(InitializeSecurityDescriptor): Remove.
(OpenProcessToken): Remove.
* dcrt0.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* fhandler_tty.cc: Ditto.
* flock.cc: Ditto.
* pinfo.cc: Ditto.  Drop unnecessary error handling.
* sec_acl.cc: Ditto.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

13 years ago * advapi32.cc (InitializeSid): Remove.
corinna [Thu, 28 Apr 2011 08:34:49 +0000 (08:34 +0000)]
* advapi32.cc (InitializeSid): Remove.
(EqualPrefixSid): Remove.
(GetLengthSid): Remove.
(GetSidSubAuthority): Remove.
(GetSidSubAuthorityCount): Remove.
(GetSidIdentifierAuthority): Remove.
* fhandler_disk_file.cc: Remove above functions throughout with their
ntdll.dll equivalent.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

13 years ago * advapi32.cc (AllocateLocallyUniqueId): Remove.
corinna [Thu, 28 Apr 2011 08:15:54 +0000 (08:15 +0000)]
* advapi32.cc (AllocateLocallyUniqueId): Remove.
* fhandler_disk_file.cc (fhandler_base::open_fs): Replace call to
AllocateLocallyUniqueId with call to NtAllocateLocallyUniqueId;
* posix_ipc.cc (mq_open): Ditto.  Drop error handling for that call.
(sem_open): Ditto.

13 years agogdb/testsuite/
jkratoch [Thu, 28 Apr 2011 07:31:29 +0000 (07:31 +0000)]
gdb/testsuite/
* lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
thread and breakpoint notifications.

13 years ago * autoload.cc (GetSecurityInfo): Remove.
corinna [Thu, 28 Apr 2011 07:27:48 +0000 (07:27 +0000)]
* autoload.cc (GetSecurityInfo): Remove.
* ntdll.h (RtlConvertToAutoInheritSecurityObject): Declare.
(RtlDeleteSecurityObject): Declare.
(RtlGetControlSecurityDescriptor): Declare.
(RtlLengthSecurityDescriptor): Declare.
* security.cc (file_mapping): New global variable.
(get_file_sd): Rewrite.  Clean up code.  Get rid of GetSecurityInfo
call.
(alloc_sd): Call RtlSetControlSecurityDescriptor to set
SE_DACL_PROTECTED flag.
(check_file_access): Remove mapping.  Use file_mapping instead.
(check_registry_access): Rename mapping to reg_mapping.
* wincap.cc: Througout, drop use_get_sec_info_on_dirs,
* wincap.h (struct wincaps): Drop use_get_sec_info_on_dirs.

13 years agobinutils/
jkratoch [Thu, 28 Apr 2011 07:27:30 +0000 (07:27 +0000)]
binutils/
* dwarf.c (display_gdb_index): Support version 5, warn on version 4.

13 years ago * cg_print.c (print_header): Add no-c-format comment to prevent
amodra [Thu, 28 Apr 2011 05:12:13 +0000 (05:12 +0000)]
* cg_print.c (print_header): Add no-c-format comment to prevent
confusion when translating "%time".

13 years ago2011-04-28 Yao Qi <yao@codesourcery.com>
qiyao [Thu, 28 Apr 2011 04:59:19 +0000 (04:59 +0000)]
2011-04-28  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (copy_unmodified): Rename to ...
(arm_copy_unmodified): .. this.  New.
(copy_preload): Move common part to ...
(install_preload): .. this.  New.
(arm_copy_preload): New.
(copy_preload_reg): Move common part to ...
(install_preload_reg): ... this.  New.
(arm_copy_preload_reg): New.
(copy_b_bl_blx): Move common part to ...
(install_b_bl_blx): .. this.  New.
(arm_copy_b_bl_blx): New.
(copy_bx_blx_reg): Move common part to ...
(install_bx_blx_reg): ... this. New.
(arm_copy_bx_blx_reg): New.
(copy_alu_reg): Move common part to ...
(install_alu_reg): ... this.  New.
(arm_copy_alu_reg): New.
(copy_alu_shifted_reg): Move common part to ...
(install_alu_shifted_reg): ... this.  New.
(copy_ldr_str_ldrb_strb): Move common part to ...
(install_ldr_str_ldrb_strb): ... this.  New.
(arm_copy_ldr_str_ldrb_strb): New.
(copy_copro_load_store): Move some common part to ...
(install_copy_copro_load_store): ... this.  New.
(arm_copy_copro_load_store): New.
(copy_svc): Delete.
(arm_copy_svc): Renamed from copy_svc.
(copy_undef): Delete.
(arm_copy_undef): Renamed from copy_undef.
(decode_ext_reg_ld_st): Delete.
(arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st.
(decode_svc_copro): Delete.
(arm_decode_svc_copro): Renamed from decode_svc_copro.
(copy_copro_load_store, copy_alu_imm): update callers.
(copy_extra_ld_st, copy_block_xfer): Likewise.
(decode_misc_memhint_neon, decode_unconditional): Likewise.
(decode_miscellaneous, decode_dp_misc): Likewise.
(decode_ld_st_word_ubyte, decode_media): Likewise.
(decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise.
(decode_svc_copro, decode_misc_memhint_neon): Likewise.
(decode_unconditional, decode_miscellaneous): Likewise.
(decode_media, decode_b_bl_ldmstm): Likewise.
(arm_process_displaced_insn): Likewise..
(decode_misc_memhint_neon): Delete.
(arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon.
(decode_miscellaneous): Delete.
(arm_decode_miscellaneous): Renamed from decode_miscellaneous.
(decode_dp_misc): Delete.
(arm_decode_dp_misc): Renamed from decode_dp_misc.
(decode_ld_st_word_ubyte): Delete.
(arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte.
(decode_media): Delete.
(arm_decode_media): Renamed from decode_media.
(decode_b_bl_ldmstm): Delete.
(arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm.
(decode_ext_reg_ld_st): Delete.
(arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st.
(decode_unconditional): Delete.
(arm_decode_unconditional): Renamed from decode_unconditional.

13 years agodaily update
amodra [Thu, 28 Apr 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Thu, 28 Apr 2011 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

13 years agosim: bfin: constify dmac pmap arrays
vapier [Wed, 27 Apr 2011 21:29:03 +0000 (21:29 +0000)]
sim: bfin: constify dmac pmap arrays

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agogdb/doc/
jkratoch [Wed, 27 Apr 2011 20:03:03 +0000 (20:03 +0000)]
gdb/doc/
* gdb.texinfo (Index Section Format): Change the version to 5.
Describe the different formula.

gdb/
Case insensitive lookups implementation.
* dwarf2read.c: Include ctype.h.
(struct mapped_index): New field version.
(mapped_index_string_hash): New parameter index_version.  New comment
for it.  Call tolower appropriately.
(find_slot_in_mapped_hash): New variable cmp, initialize it, use it.
Choose the right index version for mapped_index_string_hash.
(dwarf2_read_index): Support also the index version 5.  Initialize the
new struct mapped_index field version.
(hash_strtab_entry): Pass INT_MAX for the new parameter, explain why.
(find_slot): Explain the version needs.  Pass INT_MAX for the new
parameter.
(write_psymtabs_to_index): Produce version 5.
* minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it,
use it.  New comment for SYMBOL_MATCHES_SEARCH_NAME.
* psymtab.c (lookup_partial_symbol): Find the
SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching
entries.
* symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off
NAME lowercasing.
(search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off.
(completion_list_add_name): New variable ncmp, initialize it, use it.
* symtab.h (SYMBOL_HASH_NEXT): Always call tolower.
* utils.c (strcmp_iw): Support case_sensitive_off.
(strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off.
New function comment part.  New variables saved_string1,
saved_string2 and case_pass.  Add a proper second pass.

gdb/testsuite/
* gdb.base/fortran-sym-case.c: New file.
* gdb.base/fortran-sym-case.exp: New file.
* gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
* gdb.dwarf2/dw2-case-insensitive.c: New file.
* gdb.dwarf2/dw2-case-insensitive.exp: New file.

13 years agogdb/
jkratoch [Wed, 27 Apr 2011 19:55:09 +0000 (19:55 +0000)]
gdb/
Replace re_comp/re_exec by regcomp/regexec.
* symtab.c (struct search_symbols_data): New fields preg, preg_p.
(search_symbols_name_matches): Use them, use regexec.
(search_symbols): New variable retval_chain, adjust the use of
old_chain against it.  Replace re_comp by regcomp.  Use the new struct
search_symbols_data fields, use regexec instead of re_exec.

13 years agogdb/
jkratoch [Wed, 27 Apr 2011 19:52:19 +0000 (19:52 +0000)]
gdb/
Format the code for the next patch.
* dwarf2read.c (struct mapped_index): Include delimiting newlines.
* utils.c (strcmp_iw_ordered): Reformat the code for the next patch.
New variables c1 and c2.

13 years agogdb/testsuite/
jkratoch [Wed, 27 Apr 2011 19:44:41 +0000 (19:44 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
* gdb.base/ifelse.exp: Give names to the "" tests as `if true else
false #1', `if true else false #2' and `if true else false #3'.

13 years agofix strict-aliasing warnings
froydnj [Wed, 27 Apr 2011 18:37:40 +0000 (18:37 +0000)]
fix strict-aliasing warnings
* linux-x86-low.c (amd64_emit_const): Call memcpy instead of
casting pointers.
(amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2):
(i386_emit_const, i386_emit_reg, i386_emit_int_call_1):
(i386_emit_void_call_2): Likewise.

13 years agoChangeLog:
uweigand [Wed, 27 Apr 2011 17:08:37 +0000 (17:08 +0000)]
ChangeLog:

* infrun.c (proceed): Do not single-step into signal delivery
when stepping off a breakpoint location.
(insert_step_resume_breakpoint_at_frame): Move prototype earlier.
(insert_step_resume_breakpoint_at_caller): Likewise.
(insert_step_resume_breakpoint_at_sal): Likewise.
(insert_longjmp_resume_breakpoint): Likewise.

testsuite/ChangeLog:

* gdb.base/annota1.exp: Accept breakpoints-invalid annotation
while delivering signal.

13 years ago2011-04-27 Yao Qi <yao@codesourcery.com>
qiyao [Wed, 27 Apr 2011 15:43:31 +0000 (15:43 +0000)]
2011-04-27  Yao Qi  <yao@codesourcery.com>

* common/linux-ptrace.h: Remove include <sys/wait.h>.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 27 Apr 2011 15:04:04 +0000 (15:04 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

* xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
(STYP_DWARF, SSUBTYP_DWINFO)
(SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
(SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
(SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
(R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
New macros.

13 years agofix procfs.c:procfs_pass_signals advance declaration
brobecke [Wed, 27 Apr 2011 14:28:33 +0000 (14:28 +0000)]
fix procfs.c:procfs_pass_signals advance declaration

gdb/ChangeLog:

* procfs.c (procfs_pass_signals): Fix advance declaration.

13 years ago * target.h (struct target_ops): Remove to_notice_signals;
uweigand [Wed, 27 Apr 2011 13:29:11 +0000 (13:29 +0000)]
* target.h (struct target_ops): Remove to_notice_signals;
add to_pass_signals.
(target_notice_signals): Remove.
(target_pass_signals): Add prototype.
* target.c (update_current_target): Remove to_notice_signals;
mention to_pass_signals.
(target_pass_signals): New function.
(debug_to_notice_signals): Remove.
(setup_target_debug): Do not install debug_to_notice_signals.

* infrun.c (signal_pass): New global.
(resume): Call target_pass_signals.
(handle_inferior_event): Report all signals while stepping over
non-steppable watchpoint.  Reset trap_expected to ensure breakpoints
are re-inserted when stepping over a signal handler.
(signal_cache_update): New function.
(signal_stop_update): Call it.
(signal_print_update): Likewise.
(signal_pass_update): Likewise.
(handle_command): Call signal_cache_update and target_pass_signals
instead of target_notice_signals.
(_initialize_infrun): Initialize signal_pass.

* linux-nat.c (pass_mask): New global.
(linux_nat_pass_signals): New function.
(linux_nat_create_inferior): Report all signals initially.
(linux_nat_attach): Likewise.
(linux_nat_resume): Use pass_mask to decide whether to directly
handle an inferior signal.
(linux_nat_wait_1): Likewise.
(linux_nat_add_target): Install to_pass_signals callback.

* nto-procfs.c (notice_signals): Remove.
(procfs_resume): Do not call notice_signals.
(procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(init_procfs_ops): Install to_pass_signals callback instead of
to_notice_signals callback.
(_initialize_procfs): Report all signals initially.

* procfs.c (procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(procfs_target): Install to_pass_signals callback instead of
to_notice_signals callback.
(register_gdb_signals): Remove.
(procfs_debug_inferior): Report all signals initially.
(procfs_init_inferior): Remove redundant register_gdb_signals call.

* remote.c (remote_pass_signals): Add numsigs and pass_signals
parameters; use them instead of calling signal_..._state routines.
(remote_notice_signals): Remove.
(remote_start_remote): Report all signals initially.
(remote_resume): Do not call remote_pass_signals.
(_initialize_remote): Install to_pass_signals callback instead of
to_notice_signals callback.

13 years ago2011-04-27 Pedro Alves <pedro@codesourcery.com>
palves [Wed, 27 Apr 2011 12:44:25 +0000 (12:44 +0000)]
2011-04-27  Pedro Alves  <pedro@codesourcery.com>

gdb/
* breakpoint.c (user_settable_breakpoint): Delete.
(user_breakpoint_p): Remove check on user_settable_breakpoint.
(delete_command): Check user_breakpoint_p instead of looking at
the breakpoint's type.
(disable_command): Ditto.
(enable_command): Ditto.
(delete_trace_command): Use user_breakpoint_p instead of looking
at the breakpoint number directly.  When checking if there are
user visible tracepoints, in order to know whether to ask the user
for confirmation, check whether the breakpoint is actually a
tracepoint.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 27 Apr 2011 12:09:47 +0000 (12:09 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

        * dwarf.c (process_extended_line_op): Handle
        DW_LNE_HP_source_file_correlation.