deliverable/binutils-gdb.git
10 years agoinclude/opcode/
Richard Sandiford [Mon, 19 Aug 2013 18:57:00 +0000 (18:57 +0000)] 
include/opcode/
* mips.h (OP_OPTIONAL_REG): New mips_operand_type.
(mips_optional_operand_p): New function.

opcodes/
* mips-formats.h (OPTIONAL_REG, OPTIONAL_MAPPED_REG): New macros.
* micromips-opc.c (decode_micromips_operand): Use OPTIONAL_REG
and OPTIONAL_MAPPED_REG.
* mips-opc.c (decode_mips_operand): Likewise.
* mips16-opc.c (decode_mips16_operand): Likewise.
* mips-dis.c (print_insn_arg): Handle OP_OPTIONAL_REG.

gas/
* config/tc-mips.c (operand_reg_mask, match_operand): Handle
OP_OPTIONAL_REG.
(mips_ip, mips16_ip): Use mips_optional_operand_p to check
for optional operands.

10 years ago gdb/
Luis Machado [Mon, 19 Aug 2013 16:54:11 +0000 (16:54 +0000)] 
gdb/
* Makefile.in (SFILES): Remove common/target-common.c and
add target/waitstatus.c.
(HFILES_NO_SRCDIR): Remove common/target-common.h and add
target/resume.h, target/wait.h and target/waitstatus.h.
(COMMON_OBS): Remove target-common.o and add
waitstatus.o.
(target-common.o): Remove.
(waitstatus.o): New target object file.
* common/target-common.c: Move contents to
target/waitstatus.c and remove.
* common/target-common.h: Move contents to other files and
remove.
(enum resume_kind: Move to target/resume.h.
(TARGET_WNOHANG): Move to target/wait.h.
(enum target_waitkind): Move to target/waitstatus.h.
(struct target_waitstatus): Likewise.
* target.h: Do not include target-common.h and
include target/resume.h, target/wait.h and
target/waitstatus.h.
* target/resume.h: New file.
* target/wait.h: New file.
* target/waitstatus.h: New file.
* target/waitstatus.c: New file.

gdb/gdbserver/
* Makefile.in (INCLUDE_CFLAGS): Include -I$(srcdir)/../.
(SFILES): Remove $(srcdir)/common/target-common.c and
add $(srcdir)/target/waitstatus.c.
(OBS): Remove target-common.o and add waitstatus.o.
(server_h): Remove $(srcdir)/../common/target-common.h and
add $(srcdir)/../target/resume.h, $(srcdir)/../target/wait.h
and $(srcdir)/../target/waitstatus.h.
(target-common.o): Remove.
(waitstatus.o): New target object file.
* target.h: Do not include target-common.h and
include target/resume.h, target/wait.h and
target/waitstatus.h.

10 years agoRemove PREFIX_EVEX_0F3A3E and PREFIX_EVEX_0F3A3F
H.J. Lu [Mon, 19 Aug 2013 15:58:52 +0000 (15:58 +0000)] 
Remove PREFIX_EVEX_0F3A3E and PREFIX_EVEX_0F3A3F

* i386-dis.c (PREFIX_EVEX_0F3A3E): Removed.
(PREFIX_EVEX_0F3A3F): Likewise.
* i386-dis-evex.h (evex_table): Updated.

10 years agobinutils/
Tristan Gingold [Mon, 19 Aug 2013 15:08:52 +0000 (15:08 +0000)] 
binutils/
2013-08-19  Tristan Gingold  <gingold@adacore.com>

* nm.c (print_size_symbols): Directly get symbol size.

binutils/testsuite/
2013-08-19  Tristan Gingold  <gingold@adacore.com>

* binutils-all/nm.exp: Add a test for nm --size-sort
* binutils-all/nm-elf-1.s: New file.
* binutils-all/nm-1.s: New file.

10 years agolinux-nat.c: no need to block child signals so aggressively.
Pedro Alves [Mon, 19 Aug 2013 13:44:41 +0000 (13:44 +0000)] 
linux-nat.c: no need to block child signals so aggressively.

In http://sourceware.org/ml/gdb-patches/2013-08/msg00174.html , the
issue of child signal handling around ptrace option support discovery
being different between GDB and GDBserver came up.

I recalled adding these block_child_signals calls, and the "We don't
want those ptrace calls to be interrupted" comment, but not exactly
why.  So I looked into it.  My first guess is that I got confused.
The patch that added this
<http://sourceware.org/ml/gdb-patches/2009-04/msg00125.html> rewrote
the linux native async support completely, and the old async support
code had the SIGCHLD handler itself do waitpid, so in places that we'd
want a blocking waitpid, we'd have to have the signal handler blocked.
That was probably the mindset I had at the time.  Anyway, whatever the
case, looks like I was wrong on the need for this blocking.
Given GDBserver doesn't block like this, I investigated why this is
currently needed on GDB but not on GDBserver.

I removed the block_child_signals (and restore) calls, and hacked
linux-nat.c to call linux_test_for_tracefork in a loop, like:

 @@ -534,7 +534,10 @@ static int
  linux_supports_tracefork (int pid)
  {
    if (linux_supports_tracefork_flag == -1)
 -    linux_test_for_tracefork (pid);
 +    {
 +      while (1)
 +       linux_test_for_tracefork (pid);
 +    }
    return linux_supports_tracefork_flag;
  }

Running the resulting GDB, I then saw bad things happening.
Specifically, I'd end up with a bunch of zombies, and eventually, the
machine would refuse to spawn new processes, claming insufficient
resources.

The issue is that linux_test_for_tracefork test forks, and has the
child fork again.  If we don't block SIGCHLD on entry to the function,
the children will inherit SIGCHLD's action/disposition (meaning,
SIGCHLD will be unblocked in the child).  When the first child forks
again a second child, and that child exits, the first child gets a
SIGCHLD.  Now, when we try to wrap up for the whole options test, we
kill the first child, and collect the waitstatus.  Here, when SIGCHLD
isn't blocked, GDB will first see the child reporting a stop with
SIGCHLD.  gdbserver's ptrace options test does a PTRACE_KILL loop at
the end, which catches the SIGCHLD, and retries the kill.  The GDB
version did not do that.  So the GDB version would proceed, leaving
the child zombie (until GDB exists), as nothing collected its final
waitstatus.

So this patch makes the GDB version of linux_test_for_tracefork do the
exact same as the GDBserver version, removes all this unnecessary
blocking throughout, and adds a couple comments at places that do need
it -- namely: places where we'll use sleep with sigsuspend; and
linux_async_pipe, as that destroys the pipe the signal handler
touches.

Tested on x86_64 Fedora 17, sync and async.

gdb/
2013-08-19  Pedro Alves  <palves@redhat.com>

* linux-nat.c (linux_test_for_tracefork)
(linux_test_for_tracesysgood, linux_child_follow_fork)
(lin_lwp_attach_lwp, linux_nat_resume): Don't block child signals.
(linux_nat_wait_1): Extend comment.
(linux_async_pipe): Add comment.

10 years agodaily update
Alan Modra [Mon, 19 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agodaily update
Alan Modra [Sun, 18 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agosrc-release: Strip "-cvs" from GDB source dir and tarball.
Joel Brobecker [Sat, 17 Aug 2013 01:07:52 +0000 (01:07 +0000)] 
src-release: Strip "-cvs" from GDB source dir and tarball.

The nightly snapshots we have been creating in the past did not
include the "-cvs" suffix at the end of the version number. Snapshot
packaging started breaking ever since GDB switched to using BFD's
version number. Things got partially fixed with the previous change
to this file, but the change missed the fact that the "-cvs" suffix
in the tarball name (Eg: gdb-7.6.50-20130816-cvs.tar) is undesirable.
This patch removes it.

ChangeLog:

        * src-release (VER): When using $(TOOL)/common/create-version.sh,
        strip the "-cvs" suffix from the version number if present.

10 years agodaily update
Alan Modra [Sat, 17 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agogold/
Roland McGrath [Fri, 16 Aug 2013 18:12:05 +0000 (18:12 +0000)] 
gold/
* i386.cc (Target_i386_nacl::do_code_fill): New virtual function.
* x86_64.cc (Target_x86_64_nacl::do_code_fill): New virtual function.

10 years ago * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
Doug Evans [Fri, 16 Aug 2013 17:44:22 +0000 (17:44 +0000)] 
* lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
prelink complains about an unhandled DWARF version.

10 years ago * config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc
Alan Modra [Fri, 16 Aug 2013 12:59:32 +0000 (12:59 +0000)] 
* config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc
modifiers generally.

10 years ago * config/tc-ppc.c (ppc_elf_lcomm): Use subsection 1.
Alan Modra [Fri, 16 Aug 2013 12:34:46 +0000 (12:34 +0000)] 
* config/tc-ppc.c (ppc_elf_lcomm): Use subsection 1.

10 years agoMake RL78_PC_REGNUM a pseudo-register in rl78-tdep.c.
Kevin Buettner [Fri, 16 Aug 2013 04:30:23 +0000 (04:30 +0000)] 
Make RL78_PC_REGNUM a pseudo-register in rl78-tdep.c.

10 years agodaily update
Alan Modra [Fri, 16 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years ago2013-08-15 Muhammad Bilal <mbilal@codesourcery.com>
Muhammad Bilal [Thu, 15 Aug 2013 08:18:31 +0000 (08:18 +0000)] 
2013-08-15  Muhammad Bilal  <mbilal@codesourcery.com>

PR cli/15841
* top.c (quit_force): Skip writing history file
if input is not from terminal.

10 years ago * ldexp.c: Add LOG2CEIL() builtin function to linker script language
Nick Clifton [Thu, 15 Aug 2013 07:30:15 +0000 (07:30 +0000)] 
* ldexp.c: Add LOG2CEIL() builtin function to linker script language
* ldgram.y: Likewise
* ldlex.l: Likewise
* NEWS: Mention the new feature.
* ld.texinfo: Document the new feature.

* ld-scripts/log2.exp: New: Run the new log2 test.
* ld-scripts/log2.s: Source for the new test.
* ld-scripts/log2.t: Linker script for new test.

10 years agodaily update
Alan Modra [Thu, 15 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years ago * config/tc-ppc.c (ppc_comm): Accept optional fourth .lcomm
David Edelsohn [Wed, 14 Aug 2013 20:52:55 +0000 (20:52 +0000)] 
    * config/tc-ppc.c (ppc_comm): Accept optional fourth .lcomm
        argument as alignment.

10 years ago * boards/fission.exp: Add -fdebug-types-section to debug_flags.
Doug Evans [Wed, 14 Aug 2013 20:39:32 +0000 (20:39 +0000)] 
* boards/fission.exp: Add -fdebug-types-section to debug_flags.

10 years agomove some static thread state into remote_state
Tom Tromey [Wed, 14 Aug 2013 18:17:50 +0000 (18:17 +0000)] 
move some static thread state into remote_state

This moves a few static variables from thread-info functions into
remote_state.  Pedro said on irc that these functions implement the
ancient thread-discovery method and that he wouldn't be surprised if
they had rotted; nevertheless it seems safer to me to make them
explicitly per-remote.

This necessitated moving a couple of macros and a typedef earlier in
the file.

* remote.c (struct remote_state) <echo_nextthread, nextthread,
resultthreadlist>: New fields.
(OPAQUETHREADBYTES, threadref, MAXTHREADLISTRESULTS): Move earlier.
(remote_get_threadlist, remote_threadlist_iterator): Use
new fields.  Remove static variables.

10 years agomove remote_stopped_by_watchpoint_p and remote_watch_data_address into remote_state
Tom Tromey [Wed, 14 Aug 2013 18:17:13 +0000 (18:17 +0000)] 
move remote_stopped_by_watchpoint_p and remote_watch_data_address into remote_state

This moves the globals remote_stopped_by_watchpoint_p and
remote_watch_data_address into remote_state.

* remote.c (struct remote_state) <remote_stopped_by_watchpoint_p,
remote_watch_data_address>: New fields.
(remote_stopped_by_watchpoint_p, remote_watch_data_address): Remove.
(process_stop_reply, remote_wait_as)
(remote_check_watch_resources, remote_stopped_data_address): Update.

10 years agomove async_client_callback and async_client_context into remote_state
Tom Tromey [Wed, 14 Aug 2013 18:16:30 +0000 (18:16 +0000)] 
move async_client_callback and async_client_context into remote_state

This moves async_client_callback and async_client_context into
remote_state.

* remote.c (struct remote_state) <async_client_callback,
async_client_context>: New fields.
(async_client_callback, async_client_context): Remove.
(remote_async_serial_handler, remote_async): Update.

10 years agomove sizeof_pkt into remote_trace_find
Tom Tromey [Wed, 14 Aug 2013 18:15:48 +0000 (18:15 +0000)] 
move sizeof_pkt into remote_trace_find

The global sizeof_pkt is only used in remote_trace_find, like so:

  reply = remote_get_noisy_reply (&(rs->buf), &sizeof_pkt);

I think in this situation it is more correct to use the recorded size
of the buffer.  Otherwise it seems that some skew could result.

* remote.c (sizeof_pkt): Remove.
(remote_trace_find): Use rs->buf_size, not sizeof_pkt.

10 years agomove use_threadinfo_query and use_threadextra_query into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:15:01 +0000 (18:15 +0000)] 
move use_threadinfo_query and use_threadextra_query into struct remote_state

This moves the use_threadextra_query and use_threadinfo_query globals
into remote_state.

* remote.c (struct remote_state) <use_threadinfo_query,
use_threadextra_query>: New fields.
(remote_threads_info, remote_threads_extra_info)
(remote_open_1): Update.

10 years agomove some statics from remote_read_qxfer into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:08:48 +0000 (18:08 +0000)] 
move some statics from remote_read_qxfer into struct remote_state

This moves a few static variables out of remote_read_qxfer and into
remote_state.

* remote.c (struct remote_state) <finished_object,
finished_annex, finished_offset>: New fields.
(remote_read_qxfer): Use remote_state fields; remove static
variables.

10 years agopush last_sent_step into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:07:45 +0000 (18:07 +0000)] 
push last_sent_step into struct remote_state

This moves the global last_sent_step into remote_state.

* remote.c (struct remote_state) <last_sent_step>:
New field.
(last_sent_step): Remove.
(remote_resume, remote_wait_as): Update.

10 years agopush last_sent_signal into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:06:49 +0000 (18:06 +0000)] 
push last_sent_signal into struct remote_state

This moves the global last_sent_signal into remote_state.

* remote.c (struct remote_state) <last_sent_signal>:
New field.
(last_sent_signal): Remove.
(new_remote_state, remote_resume, remote_wait_as): Update.

10 years agopush last_program_signals_packet into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:05:51 +0000 (18:05 +0000)] 
push last_program_signals_packet into struct remote_state

This moves the global last_program_signals_packet into remote_state.

* remote.c (struct remote_state) <last_program_signals_packet>:
New field.
(last_program_signals_packet): Remove.
(remote_program_signals, remote_open_1): Update.

10 years agopush last_pass_packet into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:04:52 +0000 (18:04 +0000)] 
push last_pass_packet into struct remote_state

This moves the global last_pass_packet into remote_state.

* remote.c (struct remote_state) <last_pass_packet>:
New field.
(last_pass_packet): Remove.
(remote_pass_signals, remote_open_1): Update.

10 years agopush remote_traceframe_number into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:03:50 +0000 (18:03 +0000)] 
push remote_traceframe_number into struct remote_state

This moves the global remote_traceframe_number into remote_state.

* remote.c (struct remote_state) <remote_traceframe_number>:
New field.
(remote_traceframe_number): Remove.
(new_remote_state, remote_open_1, set_remote_traceframe)
(remote_trace_find): Update.

10 years agopush general_thread and continue_thread into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:03:00 +0000 (18:03 +0000)] 
push general_thread and continue_thread into struct remote_state

This moves the globals general_thread and continue_thread into
remote_state.

* remote.c (struct remote_state) <general_thread, continue_thread>:
New fields.
(general_thread, continue_thread): Remove.
(record_currthread, set_thread, set_general_process)
(remote_open_1, extended_remote_attach_1, remote_wait_as)
(extended_remote_mourn_1): Update.

10 years agopush remote_desc into struct remote_state
Tom Tromey [Wed, 14 Aug 2013 18:01:33 +0000 (18:01 +0000)] 
push remote_desc into struct remote_state

This moves the "remote_desc" global into remote_state.

* remote.c (struct remote_state) <remote_desc>: New field.
(remote_desc): Remove.
(remote_threads_info, remote_threads_extra_info, remote_close)
(send_interrupt_sequence, remote_start_remote, remote_open_1)
(readchar, remote_xfer_partial, remote_rcmd, packet_command)
(remote_hostio_send_command, remote_file_put, remote_file_get)
(remote_file_delete, remote_can_async_p, remote_is_async_p)
(remote_async, remote_new_objfile, set_range_stepping): Update.

10 years agoAdd new_remote_state
Tom Tromey [Wed, 14 Aug 2013 18:00:34 +0000 (18:00 +0000)] 
Add new_remote_state

Add new_remote_state and change remote_state to be a pointer.  This is
a preparatory patch for a later series.  It could perhaps be omitted,
but new_remote_state also does some initialization that was previously
done for the globals.

* remote.c (remote_state): Now a pointer.
(get_remote_state_raw): Update.
(new_remote_state): New function.
(_initialize_remote): Use new_remote_state.

10 years agomake remote_protocol_features "const"
Tom Tromey [Wed, 14 Aug 2013 17:58:53 +0000 (17:58 +0000)] 
make remote_protocol_features "const"

This is a trivial patch to make remote_protocol_features "const".

* remote.c (remote_protocol_features): Now const.

10 years agouse the libiberty crc code
Tom Tromey [Wed, 14 Aug 2013 17:57:09 +0000 (17:57 +0000)] 
use the libiberty crc code

gdb has a copy of some CRC code that also appears in libiberty.
This patch just removes the local copy.

You may notice that "crc32" returns unsigned long but "xcrc32" returns
unsigned int.  However, this does not matter, because crc32 actually
does all its operations in unsigned int type, and only the return
result is widened.  So, the difference does not matter.

* remote.c (crc32_table, crc32): Remove.
(remote_verify_memory): Use xcrc32.

10 years ago PR ld/15787
Nick Clifton [Wed, 14 Aug 2013 12:20:41 +0000 (12:20 +0000)] 
PR ld/15787
* elf32-arm.c (elf32_arm_final_link_relocate): Use origin of output
segment containing the relocating symbol instead of assuming 0 for
sb group relocations.

* ld-arm/group-relocs-ldr-bad.s: Redefine bar into foo section
beyond 16 bit offset width.
* ld-arm/group-relocs-ldrs-bad.s: Likewise.
* ld-arm/group-relocs-ldr-bad.d: Adjust expected result.
* ld-arm/group-relocs-ldrs-bad.d: Likewise.
* ld-arm/group-relocs.s: Add comments.  Move symbols used for sb
group relocations into .data section.  Drop section zero.  Use pc/r0
as base register when pc/sb group relocations are used.
* ld-arm/group-relocs.d: Adjust expected result.
* ld-arm/group-relocs-alu-bad-2.d: New test for sb group relocation.
* ld-arm/group-relocs-ldc-bad-2.d: Likewise.
* ld-arm/group-relocs-ldr-bad-2.d: New test for pc group relocation.
* ld-arm/group-relocs-ldrs-bad-2.d: Likewise.
* ld-arm/unresolved-2.d: Add sb relocation failure test.
* ld-arm/group-relocs-alu-bad-2.s: New test source.
* ld-arm/group-relocs-ldr-bad-2.s: Likewise.
* ld-arm/group-relocs-ldrs-bad-2.s: Likewise.
* ld-arm/group-relocs-ldc-bad-2.s: Likewise.
* ld-arm/unresolved-2.s: Likewise.
* ld-arm/arm-elf.exp: For group-relocs, drop section zero start
definition.  Run the new tests.

10 years ago Remove unneeded src/gdb prefix for source file name
Pierre Muller [Wed, 14 Aug 2013 09:48:46 +0000 (09:48 +0000)] 
 Remove unneeded src/gdb prefix for source file name

10 years ago * linux-arm-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
Luis Machado [Wed, 14 Aug 2013 02:22:19 +0000 (02:22 +0000)] 
* linux-arm-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
to PTRACE_TYPE_ARG3.
* linux-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
to PTRACE_TYPE_ARG3 and PTRACE_ARG4_TYPE to
PTRACE_TYPE_ARG4.
* linux-low.h (PTRACE_ARG3_TYPE): Rename to PTRACE_TYPE_ARG3.
(PTRACE_ARG4_TYPE): Rename to PTRACE_TYPE_ARG4.

10 years agodaily update
Alan Modra [Wed, 14 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agoAdjusting prototype declaration for gdb/value.h:create_internalvar_type_lazy,
Sergio Durigan Junior [Tue, 13 Aug 2013 19:25:04 +0000 (19:25 +0000)] 
Adjusting prototype declaration for gdb/value.h:create_internalvar_type_lazy,
in order to match GNU Coding Standards.

2013-08-13  Sergio Durigan Junior  <sergiodj@redhat.com>

* value.h (create_internalvar_type_lazy): Adjust prototype
declaration.

10 years agointroduce parallel mode
Tom Tromey [Tue, 13 Aug 2013 16:12:04 +0000 (16:12 +0000)] 
introduce parallel mode

This introduces parallel mode for the test suite.

It doesn't fully work yet in the sense that if you do a fully parallel
run, you will encounter some file-name clashes, but this has to start
somewhere, and it seemed best to add some infrastructure now, so that
you can follow along and test subsequent patches if you care to.

This patch has two parts.

First, it checks for the GDB_PARALLEL variable.  If this is set (say,
on the runtest command line), then the test suite assumes "parallel
mode".  In this mode, files are put into a subdirectory named after
the test.  That is, for DIR/TEST.exp, the outputs are put into
./outputs/DIR/TEST/.

This first part has various follow-on changes coming in subsequent
patches.  This is why the code in this patch also makes "temp" and
"cache" directories.

Second, this adds an "inotify" mode.  If you have the inotifywait
command (part of inotify-tools), you can set the GDB_INOTIFY variable.
This will tell the test suite to watch for changes outside of the
allowed output directories.

This mode is useful for debugging the test suite, as it issues a
report whenever a possibly parallel-unsafe file open is done.

2013-08-13  Tom Tromey  <tromey@redhat.com>
    Yao Qi  <yao@codesourcery.com>

* lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
* lib/gdb.exp: Handle GDB_PARALLEL.
(default_gdb_version): Kill inotify_pid if it exists.
(default_gdb_exit): Emit warning if the inotify log is not
empty.
(standard_output_file): Respect GDB_PARALLEL.
(standard_temp_file): Likewise.
(gdb_init): Start inotifywait if requested.

* gdbint.texinfo (Testsuite): Use @table, not @itemize.
Document GDB_PARALLEL and GDB_INOTIFY.

10 years agoHandle '#' flag for printf of pointer types.
Andrew Burgess [Tue, 13 Aug 2013 16:05:23 +0000 (16:05 +0000)] 
Handle '#' flag for printf of pointer types.

  http://sourceware.org/ml/gdb-patches/2013-08/msg00340.html

gdb/ChangeLog

* common/format.c (parse_format_string): Don't allow '#' flag for
pointer arguments in format string.

gdb/testsuite/ChangeLog

* gdb.base/printcmds.exp (test_printf): Add test for printf of
pointer with various flags.

10 years agoadd caching procs to test suite
Tom Tromey [Tue, 13 Aug 2013 15:55:52 +0000 (15:55 +0000)] 
add caching procs to test suite

In the fully parallel mode, each .exp file can be run in parallel (at
least conceptually -- the actual split may not be so severe).  This
means that procs that compute a result and cache it are not going to
function very well.  The test they run will be invoked over and over.

This patch introduces a generic caching mechanism and changes various
result-caching procs to use it.  This is a cleanup to introduce the
basic change; the results aren't written to disk yet.

A caching proc is defined using gdb_caching_proc, which works like
"proc", except that it caches the result of the body.

* lib/cache.exp: New file.
* lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
* lib/gdb.exp: Load cache.exp.
(support_complex_tests, is_ilp32_target, is_lp64_target)
(is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
(gdb_skip_xml_test): Use gdb_caching_proc.
* lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.

10 years agoadd standard_temp_file
Tom Tromey [Tue, 13 Aug 2013 15:52:24 +0000 (15:52 +0000)] 
add standard_temp_file

This adds a new helper proc, standard_temp_file.  This proc takes a
file name and returns a possibly-qualified form.  This lets us make
parallel runs use a directory other than ".", which helps the inotify
mode.

This initial patch introduces the proc and changes a few spots to use
it.

* lib/gdb.exp (standard_temp_file): New proc.
(support_complex_tests, is_ilp32_target, is_lp64_target)
(is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
standard_temp_file.

10 years agomore uses of standard_output_file
Tom Tromey [Tue, 13 Aug 2013 15:50:13 +0000 (15:50 +0000)] 
more uses of standard_output_file

A few spots in lib make output files, either in "." or in
$objdir/$subdir.

This patch changes these spots to use standard_output_file.
This help the parallelization project.

* lib/gdb.exp (build_id_debug_filename_get): Use
standard_output_file.
* lib/prelink-support.exp (section_get)
(build_executable_own_libs): Use standard_output_file.

10 years ago * src/gdb/utils.c (init_page_info): Only call tgetnum function
Pierre Muller [Tue, 13 Aug 2013 08:31:20 +0000 (08:31 +0000)] 
* src/gdb/utils.c (init_page_info): Only call tgetnum function
if rl_get_screen_size did not return useful values.

10 years agodaily update
Alan Modra [Tue, 13 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years ago * Makefile.in (ALL_SUBDIRS): Add gdb.go.
Tom Tromey [Mon, 12 Aug 2013 20:54:06 +0000 (20:54 +0000)] 
* Makefile.in (ALL_SUBDIRS): Add gdb.go.

10 years ago? .deps
Ali Anwar [Mon, 12 Aug 2013 11:54:04 +0000 (11:54 +0000)] 
? .deps
? Makefile
? ada-exp.c
? ada-lex.c
? build-gnulib
? c-exp.c
? config.cache
? config.h
? config.log
? config.status
? cp-name-parser.c
? f-exp.c
? gcore
? gdb
? gdb-gdb.gdb
? go-exp.c
? init.c
? jit-reader.h
? jv-exp.c
? m2-exp.c
? observer.h
? observer.inc
? p-exp.c
? stamp-h
? stamp-xml
? version.c
? xml-builtin.c
? data-directory/Makefile
? data-directory/python
? data-directory/stamp-python
? data-directory/stamp-syscalls
? data-directory/stamp-system-gdbinit
? data-directory/syscalls
? data-directory/system-gdbinit
? doc/Makefile
? gdbserver/.deps
? gdbserver/Makefile
? gdbserver/build-gnulib-gdbserver
? gdbserver/config.cache
? gdbserver/config.h
? gdbserver/config.log
? gdbserver/config.status
? gdbserver/gdbreplay
? gdbserver/gdbserver
? gdbserver/i386-avx-linux.c
? gdbserver/i386-linux.c
? gdbserver/i386-mmx-linux.c
? gdbserver/stamp-h
? gdbserver/stamp-xml
? gdbserver/version.c
? gdbserver/xml-builtin.c
? testsuite/Makefile
? testsuite/config.log
? testsuite/config.status
? testsuite/gdb.log
? testsuite/gdb.sum
? testsuite/site.exp
? testsuite/gdb.ada/Makefile
? testsuite/gdb.arch/Makefile
? testsuite/gdb.asm/Makefile
? testsuite/gdb.base/Makefile
? testsuite/gdb.btrace/Makefile
? testsuite/gdb.cell/Makefile
? testsuite/gdb.cp/Makefile
? testsuite/gdb.disasm/Makefile
? testsuite/gdb.dwarf2/Makefile
? testsuite/gdb.fortran/Makefile
? testsuite/gdb.go/Makefile
? testsuite/gdb.hp/Makefile
? testsuite/gdb.hp/gdb.aCC/Makefile
? testsuite/gdb.hp/gdb.base-hp/Makefile
? testsuite/gdb.hp/gdb.compat/Makefile
? testsuite/gdb.hp/gdb.defects/Makefile
? testsuite/gdb.hp/gdb.objdbg/Makefile
? testsuite/gdb.java/Makefile
? testsuite/gdb.linespec/Makefile
? testsuite/gdb.mi/Makefile
? testsuite/gdb.modula2/Makefile
? testsuite/gdb.multi/Makefile
? testsuite/gdb.objc/Makefile
? testsuite/gdb.opencl/Makefile
? testsuite/gdb.opt/Makefile
? testsuite/gdb.pascal/Makefile
? testsuite/gdb.python/Makefile
? testsuite/gdb.reverse/Makefile
? testsuite/gdb.server/Makefile
? testsuite/gdb.stabs/Makefile
? testsuite/gdb.threads/Makefile
? testsuite/gdb.threads/threadapply
? testsuite/gdb.trace/Makefile
? testsuite/gdb.xml/Makefile

RCS file: /cvs/src/src/gdb/.dir-locals.el,v
Working file: .dir-locals.el
head: 1.2
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.2
gdb_7_6-branch: 1.2.0.2
gdb_7_6-2013-03-12-branchpoint: 1.2
gdb_7_5_1-2012-11-29-release: 1.1
gdb_7_5-2012-08-17-release: 1.1
gdb_7_5-branch: 1.1.0.2
gdb_7_5-2012-07-18-branchpoint: 1.1
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2
date: 2013/01/01 06:32:34;  author: brobecke;  state: Exp;  lines: +1 -1
Update years in copyright notice for the GDB files.

Two modifications:
  1. The addition of 2013 to the copyright year range for every file;
  2. The use of a single year range, instead of potentially multiple
     year ranges, as approved by the FSF.
----------------------------
revision 1.1
date: 2012/03/28 17:35:38;  author: tromey;  state: Exp;
* .dir-locals.el: New file.
=============================================================================

RCS file: /cvs/src/src/gdb/.gitignore,v
Working file: .gitignore
head: 1.5
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.4
gdb_7_6-branch: 1.4.0.2
gdb_7_6-2013-03-12-branchpoint: 1.4
gdb_7_5_1-2012-11-29-release: 1.3
gdb_7_5-2012-08-17-release: 1.3
gdb_7_5-branch: 1.3.0.2
gdb_7_5-2012-07-18-branchpoint: 1.3
gdb_7_4_1-2012-04-26-release: 1.1
gdb_7_4-2012-01-24-release: 1.1
gdb_7_4-branch: 1.1.0.4
gdb_7_4-2011-12-13-branchpoint: 1.1
gdb_7_3_1-2011-09-04-release: 1.1
gdb_7_3-2011-07-26-release: 1.1
gdb_7_3-branch: 1.1.0.2
gdb_7_3-2011-04-01-branchpoint: 1.1
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
----------------------------
revision 1.5
date: 2013/06/17 04:39:15;  author: vapier;  state: Exp;  lines: +1 -0
gdb: ignore generated gcore
----------------------------
revision 1.4
date: 2012/08/13 15:43:59;  author: vapier;  state: Exp;  lines: +1 -0
gdb: ignore generated go-exp.c
----------------------------
revision 1.3
date: 2012/03/21 04:53:29;  author: vapier;  state: Exp;  lines: +2 -0
gdb: update gitignore
----------------------------
revision 1.2
date: 2012/01/02 02:28:56;  author: jkratoch;  state: Exp;  lines: +0 -1
gdb/
Remove the gdbtui binary.
* .gitignore (/gdbtui): Remove.
* Makefile.in (TUI): Remove.
(SUBDIR_TUI_OBS): Remove tui-main.o.
(SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
(all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
(tui-main.o): Remove.
(all_object_files): Remove tui-main.o.
* NEWS: New note for the gdbtui removal.
* configure: Rebuilt.
* configure.ac: No longer add all-tui, clean-tui, install-tui and
uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
CONFIG_UNINSTALL respectively.
* gdb.c (main): Remove args.interpreter_p initialization.
* main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
* main.h (struct captured_main_args): Remove interpreter_p.
* tui/tui-main.c: Remove.

gdb/doc/
Remove the gdbtui binary.
* all-cfg.texi (GDBTUI): Remove.
* gdb.texinfo (Mode Options): Remove the GDBTUI reference.
(TUI): Remove GDBTUI pindex.  Remove the GDBTUI reference.
* gdbint.texinfo (Testsuite): Replace `gdbtui' by `gdb -tui'.
----------------------------
revision 1.1
date: 2011/03/29 18:21:32;  author: vapier;  state: Exp;
gdb: start a gitignore

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
=============================================================================

RCS file: /cvs/src/src/gdb/CONTRIBUTE,v
Working file: CONTRIBUTE
head: 1.13
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.13
gdb_7_6-branch: 1.13.0.4
gdb_7_6-2013-03-12-branchpoint: 1.13
gdb_7_5_1-2012-11-29-release: 1.13
gdb_7_5-2012-08-17-release: 1.13
gdb_7_5-branch: 1.13.0.2
gdb_7_5-2012-07-18-branchpoint: 1.13
gdb_7_4_1-2012-04-26-release: 1.12
gdb_7_4-2012-01-24-release: 1.12
gdb_7_4-branch: 1.12.0.10
gdb_7_4-2011-12-13-branchpoint: 1.12
gdb_7_3_1-2011-09-04-release: 1.12
gdb_7_3-2011-07-26-release: 1.12
gdb_7_3-branch: 1.12.0.8
gdb_7_3-2011-04-01-branchpoint: 1.12
gdb_7_2-2010-09-02-release: 1.12
gdb_7_2-branch: 1.12.0.6
gdb_7_2-2010-07-07-branchpoint: 1.12
gdb_7_1-2010-03-18-release: 1.12
gdb_7_1-branch: 1.12.0.4
gdb_7_1-2010-02-18-branchpoint: 1.12
gdb_7_0_1-2009-12-22-release: 1.12
gdb_7_0-2009-10-06-release: 1.12
gdb_7_0-branch: 1.12.0.2
gdb_7_0-2009-09-16-branchpoint: 1.12
arc-sim-20090309: 1.9
msnyder-checkpoint-072509-branch: 1.11.0.2
msnyder-checkpoint-072509-branchpoint: 1.11
arc-insight_6_8-branch: 1.9.0.16
arc-insight_6_8-branchpoint: 1.9
insight_6_8-branch: 1.9.0.14
insight_6_8-branchpoint: 1.9
reverse-20081226-branch: 1.10.0.4
reverse-20081226-branchpoint: 1.10
multiprocess-20081120-branch: 1.10.0.2
multiprocess-20081120-branchpoint: 1.10
reverse-20080930-branch: 1.9.0.12
reverse-20080930-branchpoint: 1.9
reverse-20080717-branch: 1.9.0.10
reverse-20080717-branchpoint: 1.9
msnyder-reverse-20080609-branch: 1.9.0.8
msnyder-reverse-20080609-branchpoint: 1.9
drow-reverse-20070409-branch: 1.9.0.6
drow-reverse-20070409-branchpoint: 1.9
gdb_6_8-2008-03-27-release: 1.9
gdb_6_8-branch: 1.9.0.4
gdb_6_8-2008-02-26-branchpoint: 1.9
gdb_6_7_1-2007-10-29-release: 1.9
gdb_6_7-2007-10-10-release: 1.9
gdb_6_7-branch: 1.9.0.2
gdb_6_7-2007-09-07-branchpoint: 1.9
insight_6_6-20070208-release: 1.8
gdb_6_6-2006-12-18-release: 1.8
gdb_6_6-branch: 1.8.0.106
gdb_6_6-2006-11-15-branchpoint: 1.8
insight_6_5-20061003-release: 1.8
gdb-csl-symbian-6_4_50_20060226-12: 1.8
gdb-csl-sourcerygxx-3_4_4-25: 1.8
nickrob-async-20060828-mergepoint: 1.8
gdb-csl-symbian-6_4_50_20060226-11: 1.8
gdb-csl-sourcerygxx-4_1-17: 1.8
gdb-csl-20060226-branch-local-2: 1.8
gdb-csl-sourcerygxx-4_1-14: 1.8
gdb-csl-sourcerygxx-4_1-13: 1.8
gdb-csl-sourcerygxx-4_1-12: 1.8
gdb-csl-sourcerygxx-3_4_4-21: 1.8
gdb_6_5-20060621-release: 1.8
gdb-csl-sourcerygxx-4_1-9: 1.8
gdb-csl-sourcerygxx-4_1-8: 1.8
gdb-csl-sourcerygxx-4_1-7: 1.8
gdb-csl-arm-2006q1-6: 1.8
gdb-csl-sourcerygxx-4_1-6: 1.8
gdb-csl-symbian-6_4_50_20060226-10: 1.8
gdb-csl-symbian-6_4_50_20060226-9: 1.8
gdb-csl-symbian-6_4_50_20060226-8: 1.8
gdb-csl-coldfire-4_1-11: 1.8
gdb-csl-sourcerygxx-3_4_4-19: 1.8
gdb-csl-coldfire-4_1-10: 1.8
gdb_6_5-branch: 1.8.0.104
gdb_6_5-2006-05-14-branchpoint: 1.8
gdb-csl-sourcerygxx-4_1-5: 1.8
nickrob-async-20060513-branch: 1.8.0.102
nickrob-async-20060513-branchpoint: 1.8
gdb-csl-sourcerygxx-4_1-4: 1.8
msnyder-reverse-20060502-branch: 1.8.0.100
msnyder-reverse-20060502-branchpoint: 1.8
gdb-csl-morpho-4_1-4: 1.8
gdb-csl-sourcerygxx-3_4_4-17: 1.8
readline_5_1-import-branch: 1.8.0.98
readline_5_1-import-branchpoint: 1.8
gdb-csl-20060226-branch-merge-to-csl-symbian-1: 1.8
gdb-csl-symbian-20060226-branch: 1.8.0.96
gdb-csl-symbian-20060226-branchpoint: 1.8
gdb-csl-20060226-branch-merge-to-csl-local-1: 1.8
msnyder-reverse-20060331-branch: 1.8.0.94
msnyder-reverse-20060331-branchpoint: 1.8
gdb-csl-available-20060303-branch: 1.8.0.92
gdb-csl-available-20060303-branchpoint: 1.8
gdb-csl-20060226-branch: 1.8.0.90
gdb-csl-20060226-branchpoint: 1.8
gdb_6_4-20051202-release: 1.8
msnyder-fork-checkpoint-branch: 1.8.0.88
msnyder-fork-checkpoint-branchpoint: 1.8
gdb-csl-gxxpro-6_3-branch: 1.8.0.86
gdb-csl-gxxpro-6_3-branchpoint: 1.8
gdb_6_4-branch: 1.8.0.84
gdb_6_4-2005-11-01-branchpoint: 1.8
gdb-csl-arm-20051020-branch: 1.8.0.82
gdb-csl-arm-20051020-branchpoint: 1.8
msnyder-tracepoint-checkpoint-branch: 1.8.0.80
msnyder-tracepoint-checkpoint-branchpoint: 1.8
gdb-csl-arm-20050325-2005-q1b: 1.8
gdb-csl-arm-20050325-2005-q1a: 1.8
csl-arm-20050325-branch: 1.8.0.78
csl-arm-20050325-branchpoint: 1.8
gdb-post-i18n-errorwarning-20050211: 1.8
gdb-pre-i18n-errorwarning-20050211: 1.8
gdb_6_3-20041109-release: 1.8
gdb_6_3-branch: 1.8.0.74
gdb_6_3-20041019-branchpoint: 1.8
drow_intercu-merge-20040921: 1.8
drow_intercu-merge-20040915: 1.8
jimb-gdb_6_2-e500-branch: 1.8.0.76
jimb-gdb_6_2-e500-branchpoint: 1.8
gdb_6_2-20040730-release: 1.8
gdb_6_2-branch: 1.8.0.72
gdb_6_2-2004-07-10-gmt-branchpoint: 1.8
gdb_6_1_1-20040616-release: 1.8
gdb_6_1-2004-04-05-release: 1.8
drow_intercu-merge-20040402: 1.8
drow_intercu-merge-20040327: 1.8
ezannoni_pie-20040323-branch: 1.8.0.70
ezannoni_pie-20040323-branchpoint: 1.8
cagney_tramp-20040321-mergepoint: 1.8
cagney_tramp-20040309-branch: 1.8.0.68
cagney_tramp-20040309-branchpoint: 1.8
gdb_6_1-branch: 1.8.0.66
gdb_6_1-2004-03-01-gmt-branchpoint: 1.8
drow_intercu-20040221-branch: 1.8.0.64
drow_intercu-20040221-branchpoint: 1.8
cagney_bfdfile-20040213-branch: 1.8.0.62
cagney_bfdfile-20040213-branchpoint: 1.8
drow-cplus-merge-20040208: 1.8
carlton_dictionary-20040126-merge: 1.8
cagney_bigcore-20040122-branch: 1.8.0.60
cagney_bigcore-20040122-branchpoint: 1.8
drow-cplus-merge-20040113: 1.8
drow-cplus-merge-20031224: 1.8
drow-cplus-merge-20031220: 1.8
carlton_dictionary-20031215-merge: 1.8
drow-cplus-merge-20031214: 1.8
carlton-dictionary-20031111-merge: 1.8
gdb_6_0-2003-10-04-release: 1.8
kettenis_sparc-20030918-branch: 1.8.0.58
kettenis_sparc-20030918-branchpoint: 1.8
carlton_dictionary-20030917-merge: 1.8
ezannoni_pie-20030916-branchpoint: 1.8
ezannoni_pie-20030916-branch: 1.8.0.56
cagney_x86i386-20030821-branch: 1.8.0.54
cagney_x86i386-20030821-branchpoint: 1.8
carlton_dictionary-20030805-merge: 1.8
carlton_dictionary-20030627-merge: 1.8
gdb_6_0-branch: 1.8.0.52
gdb_6_0-2003-06-23-branchpoint: 1.8
jimb-ppc64-linux-20030613-branch: 1.8.0.50
jimb-ppc64-linux-20030613-branchpoint: 1.8
cagney_convert-20030606-branch: 1.8.0.48
cagney_convert-20030606-branchpoint: 1.8
cagney_writestrings-20030508-branch: 1.8.0.46
cagney_writestrings-20030508-branchpoint: 1.8
jimb-ppc64-linux-20030528-branch: 1.8.0.44
jimb-ppc64-linux-20030528-branchpoint: 1.8
carlton_dictionary-20030523-merge: 1.8
cagney_fileio-20030521-branch: 1.8.0.42
cagney_fileio-20030521-branchpoint: 1.8
kettenis_i386newframe-20030517-mergepoint: 1.8
jimb-ppc64-linux-20030509-branch: 1.8.0.40
jimb-ppc64-linux-20030509-branchpoint: 1.8
kettenis_i386newframe-20030504-mergepoint: 1.8
carlton_dictionary-20030430-merge: 1.8
kettenis_i386newframe-20030419-branch: 1.8.0.38
kettenis_i386newframe-20030419-branchpoint: 1.8
carlton_dictionary-20030416-merge: 1.8
cagney_frameaddr-20030409-mergepoint: 1.8
kettenis_i386newframe-20030406-branch: 1.8.0.36
kettenis_i386newframe-20030406-branchpoint: 1.8
cagney_frameaddr-20030403-branchpoint: 1.8
cagney_frameaddr-20030403-branch: 1.8.0.34
cagney_framebase-20030330-mergepoint: 1.8
cagney_framebase-20030326-branch: 1.8.0.32
cagney_framebase-20030326-branchpoint: 1.8
cagney_lazyid-20030317-branch: 1.8.0.30
cagney_lazyid-20030317-branchpoint: 1.8
kettenis-i386newframe-20030316-mergepoint: 1.8
offbyone-20030313-branch: 1.8.0.28
offbyone-20030313-branchpoint: 1.8
kettenis-i386newframe-20030308-branch: 1.8.0.26
kettenis-i386newframe-20030308-branchpoint: 1.8
carlton_dictionary-20030305-merge: 1.8
cagney_offbyone-20030303-branch: 1.8.0.24
cagney_offbyone-20030303-branchpoint: 1.8
carlton_dictionary-20030207-merge: 1.8
interps-20030203-mergepoint: 1.8
interps-20030202-branch: 1.8.0.22
interps-20030202-branchpoint: 1.8
cagney-unwind-20030108-branch: 1.8.0.20
cagney-unwind-20030108-branchpoint: 1.8
carlton_dictionary-20021223-merge: 1.8
gdb_5_3-2002-12-12-release: 1.8
carlton_dictionary-20021115-merge: 1.8
kseitz_interps-20021105-merge: 1.8
kseitz_interps-20021103-merge: 1.8
drow-cplus-merge-20021020: 1.8
drow-cplus-merge-20021025: 1.8
carlton_dictionary-20021025-merge: 1.8
carlton_dictionary-20021011-merge: 1.8
drow-cplus-branch: 1.8.0.18
drow-cplus-branchpoint: 1.8
kseitz_interps-20020930-merge: 1.8
carlton_dictionary-20020927-merge: 1.8
carlton_dictionary-branch: 1.8.0.16
carlton_dictionary-20020920-branchpoint: 1.8
gdb_5_3-branch: 1.8.0.14
gdb_5_3-2002-09-04-branchpoint: 1.8
kseitz_interps-20020829-merge: 1.8
cagney_sysregs-20020825-branch: 1.8.0.12
cagney_sysregs-20020825-branchpoint: 1.8
readline_4_3-import-branch: 1.8.0.10
readline_4_3-import-branchpoint: 1.8
gdb_5_2_1-2002-07-23-release: 1.8
kseitz_interps-20020528-branch: 1.8.0.8
kseitz_interps-20020528-branchpoint: 1.8
cagney_regbuf-20020515-branch: 1.8.0.6
cagney_regbuf-20020515-branchpoint: 1.8
jimb-macro-020506-branch: 1.8.0.4
jimb-macro-020506-branchpoint: 1.8
gdb_5_2-2002-04-29-release: 1.8
gdb_5_2-branch: 1.8.0.2
gdb_5_2-2002-03-03-branchpoint: 1.8
gdb_5_1_1-2002-01-24-release: 1.5.4.1
gdb_5_1_0_1-2002-01-03-release: 1.5.4.1
cygnus_cvs_20020108_pre: 1.6
gdb_5_1_0_1-2002-01-03-branchpoint: 1.5.4.1
gdb_5_1_0_1-2002-01-03-branch: 1.5.4.1.0.4
gdb_5_1-2001-11-21-release: 1.5.4.1
gdb_s390-2001-09-26-branch: 1.5.4.1.0.2
gdb_s390-2001-09-26-branchpoint: 1.5.4.1
gdb_5_1-2001-07-29-branch: 1.5.0.4
gdb_5_1-2001-07-29-branchpoint: 1.5
dberlin-typesystem-branch: 1.5.0.2
dberlin-typesystem-branchpoint: 1.5
gdb-post-ptid_t-2001-05-03: 1.5
gdb-pre-ptid_t-2001-05-03: 1.5
insight-precleanup-2001-01-01: 1.2
gdb-post-protoization-2000-07-29: 1.2
gdb-pre-protoization-2000-07-29: 1.2
gdb-premipsmulti-2000-06-06-branch: 1.2.0.4
gdb-premipsmulti-2000-06-06-branchpoint: 1.2
gdb-post-params-removal-2000-06-04: 1.2
gdb-pre-params-removal-2000-06-04: 1.2
gdb-post-params-removal-2000-05-28: 1.2
gdb-pre-params-removal-2000-05-28: 1.2
gdb_5_0-2000-05-19-release: 1.2
gdb_4_18_2-2000-05-18-release: 1.2
gdb_4_95_1-2000-05-11-snapshot: 1.2
gdb_4_95_0-2000-04-27-snapshot: 1.2
gdb_5_0-2000-04-10-branch: 1.2.0.2
gdb_5_0-2000-04-10-branchpoint: 1.2
keyword substitution: kv
total revisions: 14; selected revisions: 14
description:
----------------------------
revision 1.13
date: 2012/04/25 07:08:07;  author: sivachandra;  state: Exp;  lines: +3 -3
2012-04-25  Siva Chandra Reddy  <sivachandra@google.com>

* CONTRIBUTE: Use unified diff instead of context diff when
generating patches.
----------------------------
revision 1.12
date: 2009/08/22 17:08:09;  author: rwild;  state: Exp;  lines: +1 -1
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com.  Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.

bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.
----------------------------
revision 1.11
date: 2009/01/09 04:46:22;  author: brobecke;  state: Exp;  lines: +2 -1
        * CONTRIBUTE: Minor reformatting.
----------------------------
revision 1.10
date: 2008/10/27 17:41:57;  author: palves;  state: Exp;  lines: +3 -3
* CONTRIBUTE: Mention autoconf 2.59 and configure.ac instead of
2.13 and configure.in.
----------------------------
revision 1.9
date: 2007/01/04 20:28:38;  author: drow;  state: Exp;  lines: +1 -1
* CONTRIBUTE: Use sourceware.org.
----------------------------
revision 1.8
date: 2002/02/23 20:36:48;  author: cagney;  state: Exp;  lines: +1 -1
From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1003.1-2001 no longer allows "head -1".
* gdb/Makefile.in (version.c): Likewise.
* gdb/doc/Makefile.in (GDBvn.texi): Likewise.
* gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
equivalent.  POSIX 1003.1-2001 no longer allows "diff -c3".
----------------------------
revision 1.7
date: 2002/01/13 16:16:58;  author: cagney;  state: Exp;  lines: +1 -1
From 2002-01-09 John Marshall <johnm@falch.net>:
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
sources.redhat.com, and tweak some related URLs which had
suffered from linkrot.
----------------------------
revision 1.6
date: 2001/09/26 20:52:56;  author: cagney;  state: Exp;  lines: +19 -49
* CONTRIBUTE: Update.
----------------------------
revision 1.5
date: 2001/03/03 03:23:50;  author: cagney;  state: Exp;  lines: +6 -2
branches:  1.5.4;
Change convention to ``Fix PR gdb/NNNN''
----------------------------
revision 1.4
date: 2001/02/23 22:20:38;  author: cagney;  state: Exp;  lines: +9 -0
Mention how to cite GDB problem reports.
----------------------------
revision 1.3
date: 2001/02/23 22:09:30;  author: cagney;  state: Exp;  lines: +7 -0
Mention gdbarch.sh and to not submit gdbarch.[ch].
----------------------------
revision 1.2
date: 2000/03/01 08:33:47;  author: cagney;  state: Exp;  lines: +7 -0
Note that there is no need to send configure.in patches.
----------------------------
revision 1.1
date: 2000/02/13 00:22:01;  author: cagney;  state: Exp;
Explain how to contribute to GDB.
----------------------------
revision 1.5.4.1
date: 2001/09/26 20:53:27;  author: cagney;  state: Exp;  lines: +19 -49
* CONTRIBUTE: Update.
=============================================================================

RCS file: /cvs/src/src/gdb/COPYING,v
Working file: COPYING
head: 1.3
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.3
gdb_7_6-branch: 1.3.0.12
gdb_7_6-2013-03-12-branchpoint: 1.3
gdb_7_5_1-2012-11-29-release: 1.3
gdb_7_5-2012-08-17-release: 1.3
gdb_7_5-branch: 1.3.0.10
gdb_7_5-2012-07-18-branchpoint: 1.3
gdb_7_4_1-2012-04-26-release: 1.3
gdb_7_4-2012-01-24-release: 1.3
gdb_7_4-branch: 1.3.0.8
gdb_7_4-2011-12-13-branchpoint: 1.3
gdb_7_3_1-2011-09-04-release: 1.3
gdb_7_3-2011-07-26-release: 1.3
gdb_7_3-branch: 1.3.0.6
gdb_7_3-2011-04-01-branchpoint: 1.3
gdb_7_2-2010-09-02-release: 1.3
gdb_7_2-branch: 1.3.0.4
gdb_7_2-2010-07-07-branchpoint: 1.3
gdb_7_1-2010-03-18-release: 1.3
gdb_7_1-branch: 1.3.0.2
gdb_7_1-2010-02-18-branchpoint: 1.3
gdb_7_0_1-2009-12-22-release: 1.2.42.1
gdb_7_0-2009-10-06-release: 1.2
gdb_7_0-branch: 1.2.0.42
gdb_7_0-2009-09-16-branchpoint: 1.2
arc-sim-20090309: 1.2
msnyder-checkpoint-072509-branch: 1.2.0.40
msnyder-checkpoint-072509-branchpoint: 1.2
arc-insight_6_8-branch: 1.2.0.38
arc-insight_6_8-branchpoint: 1.2
insight_6_8-branch: 1.2.0.36
insight_6_8-branchpoint: 1.2
reverse-20081226-branch: 1.2.0.34
reverse-20081226-branchpoint: 1.2
multiprocess-20081120-branch: 1.2.0.32
multiprocess-20081120-branchpoint: 1.2
reverse-20080930-branch: 1.2.0.30
reverse-20080930-branchpoint: 1.2
reverse-20080717-branch: 1.2.0.28
reverse-20080717-branchpoint: 1.2
msnyder-reverse-20080609-branch: 1.2.0.26
msnyder-reverse-20080609-branchpoint: 1.2
drow-reverse-20070409-branch: 1.2.0.24
drow-reverse-20070409-branchpoint: 1.2
gdb_6_8-2008-03-27-release: 1.2
gdb_6_8-branch: 1.2.0.22
gdb_6_8-2008-02-26-branchpoint: 1.2
gdb_6_7_1-2007-10-29-release: 1.2
gdb_6_7-2007-10-10-release: 1.2
gdb_6_7-branch: 1.2.0.20
gdb_6_7-2007-09-07-branchpoint: 1.2
insight_6_6-20070208-release: 1.2
gdb_6_6-2006-12-18-release: 1.2
gdb_6_6-branch: 1.2.0.18
gdb_6_6-2006-11-15-branchpoint: 1.2
insight_6_5-20061003-release: 1.2
gdb-csl-symbian-6_4_50_20060226-12: 1.2
gdb-csl-sourcerygxx-3_4_4-25: 1.1.1.1
nickrob-async-20060828-mergepoint: 1.2
gdb-csl-symbian-6_4_50_20060226-11: 1.2
gdb-csl-sourcerygxx-4_1-17: 1.2
gdb-csl-20060226-branch-local-2: 1.2
gdb-csl-sourcerygxx-4_1-14: 1.2
gdb-csl-sourcerygxx-4_1-13: 1.2
gdb-csl-sourcerygxx-4_1-12: 1.2
gdb-csl-sourcerygxx-3_4_4-21: 1.2
gdb_6_5-20060621-release: 1.2
gdb-csl-sourcerygxx-4_1-9: 1.2
gdb-csl-sourcerygxx-4_1-8: 1.2
gdb-csl-sourcerygxx-4_1-7: 1.2
gdb-csl-arm-2006q1-6: 1.2
gdb-csl-sourcerygxx-4_1-6: 1.2
gdb-csl-symbian-6_4_50_20060226-10: 1.2
gdb-csl-symbian-6_4_50_20060226-9: 1.2
gdb-csl-symbian-6_4_50_20060226-8: 1.2
gdb-csl-coldfire-4_1-11: 1.2
gdb-csl-sourcerygxx-3_4_4-19: 1.2
gdb-csl-coldfire-4_1-10: 1.2
gdb_6_5-branch: 1.2.0.16
gdb_6_5-2006-05-14-branchpoint: 1.2
gdb-csl-sourcerygxx-4_1-5: 1.2
nickrob-async-20060513-branch: 1.2.0.14
nickrob-async-20060513-branchpoint: 1.2
gdb-csl-sourcerygxx-4_1-4: 1.2
msnyder-reverse-20060502-branch: 1.2.0.12
msnyder-reverse-20060502-branchpoint: 1.2
gdb-csl-morpho-4_1-4: 1.2
gdb-csl-sourcerygxx-3_4_4-17: 1.2
readline_5_1-import-branch: 1.2.0.10
readline_5_1-import-branchpoint: 1.2
gdb-csl-20060226-branch-merge-to-csl-symbian-1: 1.2
gdb-csl-symbian-20060226-branch: 1.2.0.8
gdb-csl-symbian-20060226-branchpoint: 1.2
gdb-csl-20060226-branch-merge-to-csl-local-1: 1.2
msnyder-reverse-20060331-branch: 1.2.0.6
msnyder-reverse-20060331-branchpoint: 1.2
gdb-csl-available-20060303-branch: 1.2.0.4
gdb-csl-available-20060303-branchpoint: 1.2
gdb-csl-20060226-branch: 1.2.0.2
gdb-csl-20060226-branchpoint: 1.2
gdb_6_4-20051202-release: 1.1.1.1
msnyder-fork-checkpoint-branch: 1.1.1.1.0.102
msnyder-fork-checkpoint-branchpoint: 1.1.1.1
gdb-csl-gxxpro-6_3-branch: 1.1.1.1.0.100
gdb-csl-gxxpro-6_3-branchpoint: 1.1.1.1
gdb_6_4-branch: 1.1.1.1.0.98
gdb_6_4-2005-11-01-branchpoint: 1.1.1.1
gdb-csl-arm-20051020-branch: 1.1.1.1.0.96
gdb-csl-arm-20051020-branchpoint: 1.1.1.1
msnyder-tracepoint-checkpoint-branch: 1.1.1.1.0.94
msnyder-tracepoint-checkpoint-branchpoint: 1.1.1.1
gdb-csl-arm-20050325-2005-q1b: 1.1.1.1
gdb-csl-arm-20050325-2005-q1a: 1.1.1.1
csl-arm-20050325-branch: 1.1.1.1.0.92
csl-arm-20050325-branchpoint: 1.1.1.1
gdb-post-i18n-errorwarning-20050211: 1.1.1.1
gdb-pre-i18n-errorwarning-20050211: 1.1.1.1
gdb_6_3-20041109-release: 1.1.1.1
gdb_6_3-branch: 1.1.1.1.0.88
gdb_6_3-20041019-branchpoint: 1.1.1.1
drow_intercu-merge-20040921: 1.1.1.1
drow_intercu-merge-20040915: 1.1.1.1
jimb-gdb_6_2-e500-branch: 1.1.1.1.0.90
jimb-gdb_6_2-e500-branchpoint: 1.1.1.1
gdb_6_2-20040730-release: 1.1.1.1
gdb_6_2-branch: 1.1.1.1.0.86
gdb_6_2-2004-07-10-gmt-branchpoint: 1.1.1.1
gdb_6_1_1-20040616-release: 1.1.1.1
gdb_6_1-2004-04-05-release: 1.1.1.1
drow_intercu-merge-20040402: 1.1.1.1
drow_intercu-merge-20040327: 1.1.1.1
ezannoni_pie-20040323-branch: 1.1.1.1.0.84
ezannoni_pie-20040323-branchpoint: 1.1.1.1
cagney_tramp-20040321-mergepoint: 1.1.1.1
cagney_tramp-20040309-branch: 1.1.1.1.0.82
cagney_tramp-20040309-branchpoint: 1.1.1.1
gdb_6_1-branch: 1.1.1.1.0.80
gdb_6_1-2004-03-01-gmt-branchpoint: 1.1.1.1
drow_intercu-20040221-branch: 1.1.1.1.0.78
drow_intercu-20040221-branchpoint: 1.1.1.1
cagney_bfdfile-20040213-branch: 1.1.1.1.0.76
cagney_bfdfile-20040213-branchpoint: 1.1.1.1
drow-cplus-merge-20040208: 1.1.1.1
carlton_dictionary-20040126-merge: 1.1.1.1
cagney_bigcore-20040122-branch: 1.1.1.1.0.74
cagney_bigcore-20040122-branchpoint: 1.1.1.1
drow-cplus-merge-20040113: 1.1.1.1
drow-cplus-merge-20031224: 1.1.1.1
drow-cplus-merge-20031220: 1.1.1.1
carlton_dictionary-20031215-merge: 1.1.1.1
drow-cplus-merge-20031214: 1.1.1.1
carlton-dictionary-20031111-merge: 1.1.1.1
gdb_6_0-2003-10-04-release: 1.1.1.1
kettenis_sparc-20030918-branch: 1.1.1.1.0.72
kettenis_sparc-20030918-branchpoint: 1.1.1.1
carlton_dictionary-20030917-merge: 1.1.1.1
ezannoni_pie-20030916-branchpoint: 1.1.1.1
ezannoni_pie-20030916-branch: 1.1.1.1.0.70
cagney_x86i386-20030821-branch: 1.1.1.1.0.68
cagney_x86i386-20030821-branchpoint: 1.1.1.1
carlton_dictionary-20030805-merge: 1.1.1.1
carlton_dictionary-20030627-merge: 1.1.1.1
gdb_6_0-branch: 1.1.1.1.0.66
gdb_6_0-2003-06-23-branchpoint: 1.1.1.1
jimb-ppc64-linux-20030613-branch: 1.1.1.1.0.64
jimb-ppc64-linux-20030613-branchpoint: 1.1.1.1
cagney_convert-20030606-branch: 1.1.1.1.0.62
cagney_convert-20030606-branchpoint: 1.1.1.1
cagney_writestrings-20030508-branch: 1.1.1.1.0.60
cagney_writestrings-20030508-branchpoint: 1.1.1.1
jimb-ppc64-linux-20030528-branch: 1.1.1.1.0.58
jimb-ppc64-linux-20030528-branchpoint: 1.1.1.1
carlton_dictionary-20030523-merge: 1.1.1.1
cagney_fileio-20030521-branch: 1.1.1.1.0.56
cagney_fileio-20030521-branchpoint: 1.1.1.1
kettenis_i386newframe-20030517-mergepoint: 1.1.1.1
jimb-ppc64-linux-20030509-branch: 1.1.1.1.0.54
jimb-ppc64-linux-20030509-branchpoint: 1.1.1.1
kettenis_i386newframe-20030504-mergepoint: 1.1.1.1
carlton_dictionary-20030430-merge: 1.1.1.1
kettenis_i386newframe-20030419-branch: 1.1.1.1.0.52
kettenis_i386newframe-20030419-branchpoint: 1.1.1.1
carlton_dictionary-20030416-merge: 1.1.1.1
cagney_frameaddr-20030409-mergepoint: 1.1.1.1
kettenis_i386newframe-20030406-branch: 1.1.1.1.0.50
kettenis_i386newframe-20030406-branchpoint: 1.1.1.1
cagney_frameaddr-20030403-branchpoint: 1.1.1.1
cagney_frameaddr-20030403-branch: 1.1.1.1.0.48
cagney_framebase-20030330-mergepoint: 1.1.1.1
cagney_framebase-20030326-branch: 1.1.1.1.0.46
cagney_framebase-20030326-branchpoint: 1.1.1.1
cagney_lazyid-20030317-branch: 1.1.1.1.0.44
cagney_lazyid-20030317-branchpoint: 1.1.1.1
kettenis-i386newframe-20030316-mergepoint: 1.1.1.1
offbyone-20030313-branch: 1.1.1.1.0.42
offbyone-20030313-branchpoint: 1.1.1.1
kettenis-i386newframe-20030308-branch: 1.1.1.1.0.40
kettenis-i386newframe-20030308-branchpoint: 1.1.1.1
carlton_dictionary-20030305-merge: 1.1.1.1
cagney_offbyone-20030303-branch: 1.1.1.1.0.38
cagney_offbyone-20030303-branchpoint: 1.1.1.1
carlton_dictionary-20030207-merge: 1.1.1.1
interps-20030203-mergepoint: 1.1.1.1
interps-20030202-branch: 1.1.1.1.0.36
interps-20030202-branchpoint: 1.1.1.1
cagney-unwind-20030108-branch: 1.1.1.1.0.34
cagney-unwind-20030108-branchpoint: 1.1.1.1
carlton_dictionary-20021223-merge: 1.1.1.1
gdb_5_3-2002-12-12-release: 1.1.1.1
carlton_dictionary-20021115-merge: 1.1.1.1
kseitz_interps-20021105-merge: 1.1.1.1
kseitz_interps-20021103-merge: 1.1.1.1
drow-cplus-merge-20021020: 1.1.1.1
drow-cplus-merge-20021025: 1.1.1.1
carlton_dictionary-20021025-merge: 1.1.1.1
carlton_dictionary-20021011-merge: 1.1.1.1
drow-cplus-branch: 1.1.1.1.0.32
drow-cplus-branchpoint: 1.1.1.1
kseitz_interps-20020930-merge: 1.1.1.1
carlton_dictionary-20020927-merge: 1.1.1.1
carlton_dictionary-branch: 1.1.1.1.0.30
carlton_dictionary-20020920-branchpoint: 1.1.1.1
gdb_5_3-branch: 1.1.1.1.0.28
gdb_5_3-2002-09-04-branchpoint: 1.1.1.1
kseitz_interps-20020829-merge: 1.1.1.1
cagney_sysregs-20020825-branch: 1.1.1.1.0.26
cagney_sysregs-20020825-branchpoint: 1.1.1.1
readline_4_3-import-branch: 1.1.1.1.0.24
readline_4_3-import-branchpoint: 1.1.1.1
gdb_5_2_1-2002-07-23-release: 1.1.1.1
kseitz_interps-20020528-branch: 1.1.1.1.0.22
kseitz_interps-20020528-branchpoint: 1.1.1.1
cagney_regbuf-20020515-branch: 1.1.1.1.0.20
cagney_regbuf-20020515-branchpoint: 1.1.1.1
jimb-macro-020506-branch: 1.1.1.1.0.18
jimb-macro-020506-branchpoint: 1.1.1.1
gdb_5_2-2002-04-29-release: 1.1.1.1
gdb_5_2-branch: 1.1.1.1.0.16
gdb_5_2-2002-03-03-branchpoint: 1.1.1.1
gdb_5_1_1-2002-01-24-release: 1.1.1.1
gdb_5_1_0_1-2002-01-03-release: 1.1.1.1
cygnus_cvs_20020108_pre: 1.1.1.1
gdb_5_1_0_1-2002-01-03-branchpoint: 1.1.1.1
gdb_5_1_0_1-2002-01-03-branch: 1.1.1.1.0.14
gdb_5_1-2001-11-21-release: 1.1.1.1
gdb_s390-2001-09-26-branch: 1.1.1.1.0.12
gdb_s390-2001-09-26-branchpoint: 1.1.1.1
gdb_5_1-2001-07-29-branch: 1.1.1.1.0.10
gdb_5_1-2001-07-29-branchpoint: 1.1.1.1
dberlin-typesystem-branch: 1.1.1.1.0.8
dberlin-typesystem-branchpoint: 1.1.1.1
gdb-post-ptid_t-2001-05-03: 1.1.1.1
gdb-pre-ptid_t-2001-05-03: 1.1.1.1
insight-precleanup-2001-01-01: 1.1.1.1
gdb-post-protoization-2000-07-29: 1.1.1.1
gdb-pre-protoization-2000-07-29: 1.1.1.1
gdb-premipsmulti-2000-06-06-branch: 1.1.1.1.0.6
gdb-premipsmulti-2000-06-06-branchpoint: 1.1.1.1
gdb-post-params-removal-2000-06-04: 1.1.1.1
gdb-pre-params-removal-2000-06-04: 1.1.1.1
gdb-post-params-removal-2000-05-28: 1.1.1.1
gdb-pre-params-removal-2000-05-28: 1.1.1.1
gdb_5_0-2000-05-19-release: 1.1.1.1
gdb_4_18_2-2000-05-18-release: 1.1.1.1
gdb_4_95_1-2000-05-11-snapshot: 1.1.1.1
gdb_4_95_0-2000-04-27-snapshot: 1.1.1.1
gdb_5_0-2000-04-10-branch: 1.1.1.1.0.4
gdb_5_0-2000-04-10-branchpoint: 1.1.1.1
repo-unification-2000-02-06: 1.1.1.1
insight-2000-02-04: 1.1.1.1
gdb-2000-02-04: 1.1.1.1
gdb-2000-02-02: 1.1.1.1
gdb-2000-02-01: 1.1.1.1
gdb-2000-01-31: 1.1.1.1
gdb-2000-01-26: 1.1.1.1
gdb-2000-01-24: 1.1.1.1
gdb-2000-01-17: 1.1.1.1
gdb-2000-01-10: 1.1.1.1
gdb-2000-01-05: 1.1.1.1
gdb-1999-12-21: 1.1.1.1
gdb-1999-12-13: 1.1.1.1
gdb-1999-12-07: 1.1.1.1
gdb-1999-12-06: 1.1.1.1
gdb-1999-11-16: 1.1.1.1
gdb-1999-11-08: 1.1.1.1
gdb-1999-11-01: 1.1.1.1
gdb-1999-10-25: 1.1.1.1
gdb-1999-10-18: 1.1.1.1
gdb-1999-10-11: 1.1.1.1
gdb-1999-10-04: 1.1.1.1
gdb-1999-09-28: 1.1.1.1
gdb-1999-09-21: 1.1.1.1
gdb-1999-09-13: 1.1.1.1
gdb-1999-09-08: 1.1.1.1
gdb-1999-08-30: 1.1.1.1
gdb-1999-08-23: 1.1.1.1
gdb-1999-08-16: 1.1.1.1
gdb-1999-08-09: 1.1.1.1
gdb-1999-08-02: 1.1.1.1
gdb-1999-07-26: 1.1.1.1
gdb-1999-07-19: 1.1.1.1
gdb-1999-07-12: 1.1.1.1
gdb-post-reformat-19990707: 1.1.1.1
gdb-1999-07-07-post-reformat-snapshot: 1.1.1.1
gdb-pre-reformat-19990707: 1.1.1.1
gdb-1999-07-07: 1.1.1.1
gdb-1999-07-05: 1.1.1.1
gdb-1999-06-28: 1.1.1.1
gdb-1999-06-21: 1.1.1.1
gdb-1999-06-14: 1.1.1.1
gdb-1999-06-07: 1.1.1.1
gdb-1999-06-01: 1.1.1.1
gdb-4_18-branch: 1.1.1.1.0.2
gdb-4_18-release: 1.1.1.1
gdb-1999-05-25: 1.1.1.1
gdb-1999-05-19: 1.1.1.1
gdb-1999-05-10: 1.1.1.1
gdb-19990504: 1.1.1.1
gdb-19990422: 1.1.1.1
SNAPSHOT: 1.1.1
gdb-4_18: 1.1.1.1
GDB_4_18: 1.1.1
keyword substitution: o
total revisions: 5; selected revisions: 5
description:
----------------------------
revision 1.3
date: 2009/12/21 07:40:04;  author: brobecke;  state: Exp;  lines: +624 -292
        * COPYING: Update to GPL version 3.
----------------------------
revision 1.2
date: 2005/12/17 22:33:58;  author: eliz;  state: Exp;  lines: +4 -2
branches:  1.2.42;

* breakpoint.c:
* arm-tdep.c:
* ia64-tdep.c:
* i386-tdep.c:
* hpread.c:
* hppa-tdep.c:
* hppa-hpux-tdep.c:
* gnu-nat.c:
* gdbtypes.c:
* gdbarch.h:
* gdbarch.c:
* eval.c:
* dwarf2read.c:
* dbxread.c:
* copying:
* symfile.c:
* stabsread.c:
* sh64-tdep.c:
* sh-tdep.c:
* s390-tdep.c:
* rs6000-tdep.c:
* remote.c:
* remote-mips.c:
* mips-tdep.c:
* mdebugread.c:
* linux-nat.c:
* infrun.c:
* xcoffread.c:
* win32-nat.c:
* valops.c:
* utils.c:
* tracepoint.c:
* target.c:
* symtab.c:
* c-exp.y:
* ada-valprint.c:
* ada-typeprint.c:
* ada-lex.l:
* ada-lang.h:
* ada-lang.c:
* ada-exp.y:
* alphafbsd-tdep.c:
* alphabsd-tdep.h:
* alphabsd-tdep.c:
* alphabsd-nat.c:
* alpha-tdep.h:
* alpha-tdep.c:
* alpha-osf1-tdep.c:
* alpha-nat.c:
* alpha-mdebug-tdep.c:
* alpha-linux-tdep.c:
* alpha-linux-nat.c:
* aix-thread.c:
* abug-rom.c:
* arch-utils.c:
* annotate.h:
* annotate.c:
* amd64obsd-tdep.c:
* amd64obsd-nat.c:
* amd64nbsd-tdep.c:
* amd64nbsd-nat.c:
* amd64fbsd-tdep.c:
* amd64fbsd-nat.c:
* amd64bsd-nat.c:
* amd64-tdep.h:
* amd64-tdep.c:
* amd64-sol2-tdep.c:
* amd64-nat.h:
* amd64-nat.c:
* amd64-linux-tdep.c:
* amd64-linux-nat.c:
* alphanbsd-tdep.c:
* block.h:
* block.c:
* bfd-target.h:
* bfd-target.c:
* bcache.h:
* bcache.c:
* ax.h:
* ax-general.c:
* ax-gdb.h:
* ax-gdb.c:
* avr-tdep.c:
* auxv.h:
* auxv.c:
* armnbsd-tdep.c:
* armnbsd-nat.c:
* arm-tdep.h:
* arm-linux-nat.c:
* arch-utils.h:
* charset.c:
* call-cmds.h:
* c-valprint.c:
* c-typeprint.c:
* c-lang.h:
* c-lang.c:
* buildsym.h:
* buildsym.c:
* bsd-uthread.h:
* bsd-uthread.c:
* bsd-kvm.h:
* bsd-kvm.c:
* breakpoint.h:
* core-regset.c:
* core-aout.c:
* completer.h:
* completer.c:
* complaints.h:
* complaints.c:
* command.h:
* coffread.c:
* coff-solib.h:
* coff-solib.c:
* coff-pe-read.h:
* coff-pe-read.c:
* cli-out.h:
* cli-out.c:
* charset.h:
* dink32-rom.c:
* dictionary.h:
* dictionary.c:
* demangle.c:
* defs.h:
* dcache.h:
* dcache.c:
* d10v-tdep.c:
* cpu32bug-rom.c:
* cp-valprint.c:
* cp-support.h:
* cp-support.c:
* cp-namespace.c:
* cp-abi.h:
* cp-abi.c:
* corelow.c:
* corefile.c:
* environ.c:
* elfread.c:
* dwarfread.c:
* dwarf2loc.c:
* dwarf2expr.h:
* dwarf2expr.c:
* dwarf2-frame.h:
* dwarf2-frame.c:
* dve3900-rom.c:
* dummy-frame.h:
* dummy-frame.c:
* dsrec.c:
* doublest.h:
* doublest.c:
* disasm.h:
* disasm.c:
* fork-child.c:
* findvar.c:
* fbsd-nat.h:
* fbsd-nat.c:
* f-valprint.c:
* f-typeprint.c:
* f-lang.h:
* f-lang.c:
* expression.h:
* expprint.c:
* exec.h:
* exec.c:
* exceptions.h:
* exceptions.c:
* event-top.h:
* event-top.c:
* event-loop.h:
* event-loop.c:
* gdb.c:
* gdb-stabs.h:
* gdb-events.h:
* gdb-events.c:
* gcore.c:
* frv-tdep.h:
* frv-tdep.c:
* frv-linux-tdep.c:
* frame.h:
* frame.c:
* frame-unwind.h:
* frame-unwind.c:
* frame-base.h:
* frame-base.c:
* gdb_vfork.h:
* gdb_thread_db.h:
* gdb_string.h:
* gdb_stat.h:
* gdb_regex.h:
* gdb_ptrace.h:
* gdb_proc_service.h:
* gdb_obstack.h:
* gdb_locale.h:
* gdb_dirent.h:
* gdb_curses.h:
* gdb_assert.h:
* gdbarch.sh:
* gdb.h:
* hpux-thread.c:
* hppabsd-nat.c:
* hppa-tdep.h:
* hpacc-abi.c:
* h8300-tdep.c:
* gregset.h:
* go32-nat.c:
* gnu-v3-abi.c:
* gnu-v2-abi.h:
* gnu-v2-abi.c:
* gnu-nat.h:
* glibc-tdep.c:
* gdbtypes.h:
* gdbcore.h:
* gdbcmd.h:
* i386nbsd-tdep.c:
* i386nbsd-nat.c:
* i386gnu-tdep.c:
* i386gnu-nat.c:
* i386fbsd-tdep.c:
* i386fbsd-nat.c:
* i386bsd-tdep.c:
* i386bsd-nat.h:
* i386bsd-nat.c:
* i386-tdep.h:
* i386-sol2-nat.c:
* i386-nto-tdep.c:
* i386-nat.c:
* i386-linux-tdep.h:
* i386-linux-tdep.c:
* i386-linux-nat.c:
* i386-cygwin-tdep.c:
* inf-ttrace.c:
* inf-ptrace.h:
* inf-ptrace.c:
* inf-loop.h:
* inf-loop.c:
* inf-child.h:
* inf-child.c:
* ia64-tdep.h:
* ia64-linux-nat.c:
* i387-tdep.h:
* i387-tdep.c:
* i386v4-nat.c:
* i386v-nat.c:
* i386obsd-tdep.c:
* i386obsd-nat.c:
* kod.c:
* jv-valprint.c:
* jv-typeprint.c:
* jv-lang.h:
* jv-lang.c:
* irix5-nat.c:
* iq2000-tdep.c:
* interps.h:
* interps.c:
* inftarg.c:
* inflow.h:
* inflow.c:
* inferior.h:
* infcmd.c:
* infcall.h:
* infcall.c:
* inf-ttrace.h:
* m32r-tdep.h:
* m32r-tdep.c:
* m32r-rom.c:
* m32r-linux-tdep.c:
* m32r-linux-nat.c:
* m2-valprint.c:
* m2-typeprint.c:
* m2-lang.h:
* m2-lang.c:
* lynx-nat.c:
* linux-thread-db.c:
* linux-nat.h:
* linespec.c:
* libunwind-frame.h:
* libunwind-frame.c:
* language.h:
* language.c:
* macroexp.c:
* macrocmd.c:
* m88kbsd-nat.c:
* m88k-tdep.h:
* m88k-tdep.c:
* m68klinux-tdep.c:
* m68klinux-nat.c:
* m68kbsd-tdep.c:
* m68kbsd-nat.c:
* m68k-tdep.h:
* m68k-tdep.c:
* mips-linux-nat.c:
* mips-irix-tdep.c:
* minsyms.c:
* memattr.h:
* memattr.c:
* mem-break.c:
* mdebugread.h:
* main.h:
* main.c:
* macrotab.h:
* macrotab.c:
* macroscope.h:
* macroscope.c:
* macroexp.h:
* nbsd-tdep.c:
* mt-tdep.c:
* monitor.h:
* monitor.c:
* mn10300-tdep.h:
* mn10300-tdep.c:
* mn10300-linux-tdep.c:
* mipsv4-nat.c:
* mipsread.c:
* mipsnbsd-tdep.h:
* mipsnbsd-tdep.c:
* mipsnbsd-nat.c:
* mips64obsd-tdep.c:
* mips64obsd-nat.c:
* mips-tdep.h:
* mips-mdebug-tdep.c:
* mips-linux-tdep.c:
* osabi.h:
* osabi.c:
* ocd.h:
* ocd.c:
* observer.c:
* objfiles.h:
* objfiles.c:
* objc-lang.h:
* objc-lang.c:
* objc-exp.y:
* nto-tdep.h:
* nto-tdep.c:
* nto-procfs.c:
* nlmread.c:
* nbsd-tdep.h:
* ppcobsd-tdep.c:
* ppcobsd-nat.c:
* ppcnbsd-tdep.h:
* ppcnbsd-tdep.c:
* ppcnbsd-nat.c:
* ppcbug-rom.c:
* ppc-tdep.h:
* ppc-sysv-tdep.c:
* ppc-linux-tdep.c:
* ppc-linux-nat.c:
* ppc-bdm.c:
* parser-defs.h:
* parse.c:
* p-valprint.c:
* p-typeprint.c:
* p-lang.h:
* p-lang.c:
* remote-fileio.h:
* remote-fileio.c:
* remote-est.c:
* remote-e7000.c:
* regset.h:
* regset.c:
* reggroups.h:
* reggroups.c:
* regcache.h:
* regcache.c:
* proc-why.c:
* proc-service.c:
* proc-events.c:
* printcmd.c:
* ppcobsd-tdep.h:
* sentinel-frame.h:
* sentinel-frame.c:
* scm-valprint.c:
* scm-tags.h:
* scm-lang.h:
* scm-lang.c:
* scm-exp.c:
* s390-tdep.h:
* rom68k-rom.c:
* remote.h:
* remote-utils.c:
* remote-st.c:
* remote-sim.c:
* remote-sds.c:
* remote-rdp.c:
* remote-rdi.c:
* remote-hms.c:
* sim-regno.h:
* shnbsd-tdep.h:
* shnbsd-tdep.c:
* shnbsd-nat.c:
* sh-tdep.h:
* serial.h:
* serial.c:
* ser-unix.h:
* ser-unix.c:
* ser-tcp.c:
* ser-pipe.c:
* ser-go32.c:
* ser-e7kpc.c:
* ser-base.h:
* ser-base.c:
* solib.c:
* solib-svr4.h:
* solib-svr4.c:
* solib-sunos.c:
* solib-som.h:
* solib-som.c:
* solib-pa64.h:
* solib-pa64.c:
* solib-osf.c:
* solib-null.c:
* solib-legacy.c:
* solib-irix.c:
* solib-frv.c:
* solib-aix5.c:
* sol-thread.c:
* sparc64-linux-tdep.c:
* sparc64-linux-nat.c:
* sparc-tdep.h:
* sparc-tdep.c:
* sparc-sol2-tdep.c:
* sparc-sol2-nat.c:
* sparc-nat.h:
* sparc-nat.c:
* sparc-linux-tdep.c:
* sparc-linux-nat.c:
* source.h:
* source.c:
* somread.c:
* solist.h:
* solib.h:
* std-regs.c:
* stack.h:
* stack.c:
* stabsread.h:
* sparcobsd-tdep.c:
* sparcnbsd-tdep.c:
* sparcnbsd-nat.c:
* sparc64obsd-tdep.c:
* sparc64nbsd-tdep.c:
* sparc64nbsd-nat.c:
* sparc64fbsd-tdep.c:
* sparc64fbsd-nat.c:
* sparc64-tdep.h:
* sparc64-tdep.c:
* sparc64-sol2-tdep.c:
* sparc64-nat.c:
* ui-file.c:
* typeprint.h:
* typeprint.c:
* tramp-frame.h:
* tramp-frame.c:
* trad-frame.h:
* trad-frame.c:
* tracepoint.h:
* top.c:
* tobs.inc:
* thread.c:
* terminal.h:
* target.h:
* symfile.h:
* stop-gdb.c:
* vaxbsd-nat.c:
* vax-tdep.h:
* vax-tdep.c:
* vax-nat.c:
* varobj.h:
* varobj.c:
* value.h:
* value.c:
* valprint.h:
* valprint.c:
* v850-tdep.c:
* uw-thread.c:
* user-regs.c:
* ui-out.h:
* ui-out.c:
* ui-file.h:
* xcoffsolib.h:
* xcoffsolib.c:
* wrapper.c:
* wince.c:
* wince-stub.h:
* wince-stub.c:
* vaxobsd-tdep.c:
* vaxnbsd-tdep.c:
* gdb_gcore.sh:
* copying.c:
* configure.ac:
* aclocal.m4:
* acinclude.m4:
* reply_mig_hack.awk:
* observer.sh:
* gdb_mbuild.sh:
* arm-linux-tdep.c:
* blockframe.c:
* dbug-rom.c:
* environ.h:
* dwarf2loc.h:
* gdb-events.sh:
* glibc-tdep.h:
* gdb_wait.h:
* gdbthread.h:
* i386-sol2-tdep.c:
* hppabsd-tdep.c:
* hppa-linux-nat.c:
* hppa-hpux-nat.c:
* ia64-linux-tdep.c:
* infptrace.c:
* linespec.h:
* maint.c:
* mips-mdebug-tdep.h:
* remote-m32r-sdi.c:
* s390-nat.c:
* rs6000-nat.c:
* remote-utils.h:
* sh3-rom.c:
* sh-linux-tdep.c:
* top.h:
* symtab.h:
* symmisc.c:
* symfile-mem.c:
* srec.h:
* user-regs.h:
* version.h:
* valarith.c:
* xstormy16-tdep.c:
* wrapper.h:
* Makefile.in:
* f-exp.y:
* cris-tdep.c:
* cp-name-parser.y:
* procfs.c:
* proc-utils.h:
* proc-flags.c:
* proc-api.c:
* p-exp.y:
* m68hc11-tdep.c:
* m2-exp.y:
* kod.h:
* kod-cisco.c:
* jv-exp.y:
* hppa-linux-tdep.c: Add (c) after Copyright.  Update the FSF
address.
----------------------------
revision 1.1
date: 1999/04/16 01:33:57;  author: shebs;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 1999/04/16 01:33:57;  author: shebs;  state: Exp;  lines: +0 -0
Initial creation of sourceware repository
----------------------------
revision 1.2.42.1
date: 2009/12/21 07:43:55;  author: brobecke;  state: Exp;  lines: +624 -292
        * COPYING: Update to GPL version 3.
=============================================================================

RCS file: /cvs/src/src/gdb/ChangeLog,v
Working file: ChangeLog
head: 1.15798
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.15260.2.48
gdb_7_6-branch: 1.15260.0.2
gdb_7_6-2013-03-12-branchpoint: 1.15260
gdb_7_5_1-2012-11-29-release: 1.14469.2.40
gdb_7_5-2012-08-17-release: 1.14469.2.23
gdb_7_5-branch: 1.14469.0.2
gdb_7_5-2012-07-18-branchpoint: 1.14469
gdb_7_4_1-2012-04-26-release: 1.13614.2.54
gdb_7_4-2012-01-24-release: 1.13614.2.42
gdb_7_4-branch: 1.13614.0.2
gdb_7_4-2011-12-13-branchpoint: 1.13614
gdb_7_3_1-2011-09-04-release: 1.12887.2.70
gdb_7_3-2011-07-26-release: 1.12887.2.64
gdb_7_3-branch: 1.12887.0.2
gdb_7_3-2011-04-01-branchpoint: 1.12887
gdb_7_2-2010-09-02-release: 1.11973.2.42
gdb_7_2-branch: 1.11973.0.2
gdb_7_2-2010-07-07-branchpoint: 1.11973
gdb_7_1-2010-03-18-release: 1.11378.2.33
gdb_7_1-branch: 1.11378.0.2
gdb_7_1-2010-02-18-branchpoint: 1.11378
gdb_7_0_1-2009-12-22-release: 1.10874.2.60
gdb_7_0-2009-10-06-release: 1.10874.2.46
gdb_7_0-branch: 1.10874.0.2
gdb_7_0-2009-09-16-branchpoint: 1.10874
arc-sim-20090309: 1.9174.2.17.4.1
msnyder-checkpoint-072509-branch: 1.10747.0.2
msnyder-checkpoint-072509-branchpoint: 1.10747
arc-insight_6_8-branch: 1.9174.2.17.0.4
arc-insight_6_8-branchpoint: 1.9174.2.17
insight_6_8-branch: 1.9174.2.17.0.2
insight_6_8-branchpoint: 1.9174.2.17
reverse-20081226-branch: 1.10052.0.2
reverse-20081226-branchpoint: 1.10052
multiprocess-20081120-branch: 1.9991.0.2
multiprocess-20081120-branchpoint: 1.9991
reverse-20080930-branch: 1.9859.0.2
reverse-20080930-branchpoint: 1.9859
reverse-20080717-branch: 1.9579.0.2
reverse-20080717-branchpoint: 1.9579
msnyder-reverse-20080609-branch: 1.9466.0.2
msnyder-reverse-20080609-branchpoint: 1.9466
drow-reverse-20070409-branch: 1.8264.0.2
drow-reverse-20070409-branchpoint: 1.8264
gdb_6_8-2008-03-27-release: 1.9174.2.17
gdb_6_8-branch: 1.9174.0.2
gdb_6_8-2008-02-26-branchpoint: 1.9174
gdb_6_7_1-2007-10-29-release: 1.8684.2.30
gdb_6_7-2007-10-10-release: 1.8684.2.19
gdb_6_7-branch: 1.8684.0.2
gdb_6_7-2007-09-07-branchpoint: 1.8684
insight_6_6-20070208-release: 1.7962.2.20
gdb_6_6-2006-12-18-release: 1.7962.2.19
gdb_6_6-branch: 1.7962.0.2
gdb_6_6-2006-11-15-branchpoint: 1.7962
insight_6_5-20061003-release: 1.7738.2.19
gdb-csl-symbian-6_4_50_20060226-12: 1.7617.2.2
gdb-csl-sourcerygxx-3_4_4-25: 1.7432
nickrob-async-20060828-mergepoint: 1.7891
gdb-csl-symbian-6_4_50_20060226-11: 1.7617.2.2

10 years ago2013-08-12 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 12 Aug 2013 11:36:35 +0000 (11:36 +0000)] 
2013-08-12  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Sync with GCC repo.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Ditto.

10 years agoPR binutils/15818
Andreas Schwab [Mon, 12 Aug 2013 07:55:55 +0000 (07:55 +0000)] 
PR binutils/15818
* objdump.c (disassemble_section): Return early if nothing from
this section needs to be disassembled.

10 years agoBecause of:
Sergio Durigan Junior [Mon, 12 Aug 2013 03:50:58 +0000 (03:50 +0000)] 
Because of:

<http://sourceware.org/ml/gdb-patches/2013-08/msg00289.html>

I have chosen to revert the patch applied to the AVR target-dependent code.
Therefore, this patch does just that.  It is better to keep the tree
buildable than to keep this patch in, for now.

2013-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>

Revert implementation of gdbarch_gdb_signal_{to,from}_target for
AVR.
* avr-tdep.c: Remove include of "linux-tdep.h".  Remove enum with
different signals between the generic Linux kernel implementation
and AVR's.
(avr_linux_gdb_signal_from_target): Delete.
(avr_linux_gdb_signal_to_target): Delete.
(avr_gdbarch_init): Don't set gdbarch_gdb_signal_{to,from}_target.

10 years agodaily update
Alan Modra [Mon, 12 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agodaily update
Alan Modra [Sun, 11 Aug 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

10 years agodaily update
Alan Modra [Sat, 10 Aug 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

10 years ago * LRS: Remove file, describes a long-abandoned live-range
Stan Shebs [Fri, 9 Aug 2013 21:31:57 +0000 (21:31 +0000)] 
* LRS: Remove file, describes a long-abandoned live-range
splitting extension to stabs.

10 years ago * lib/future.exp (gdb_find_ldd): New proc.
Doug Evans [Fri, 9 Aug 2013 17:58:38 +0000 (17:58 +0000)] 
* lib/future.exp (gdb_find_ldd): New proc.
* lib/prelink-support.exp (build_executable_own_libs): Call it.
Make "/usr/sbin/" in prelink path optional.

10 years ago(create_addrmap_from_index): Use hex_string instead of pulongest in previous
Doug Evans [Fri, 9 Aug 2013 17:39:38 +0000 (17:39 +0000)] 
(create_addrmap_from_index): Use hex_string instead of pulongest in previous
patch.

10 years ago * dwarf2read.c (create_addrmap_from_index): Ignore bad address table
Doug Evans [Fri, 9 Aug 2013 17:26:40 +0000 (17:26 +0000)] 
* dwarf2read.c (create_addrmap_from_index): Ignore bad address table
entries.

10 years agoThis patch implements the new gdbarch method gdbarch_gdb_signal_to_target.
Sergio Durigan Junior [Fri, 9 Aug 2013 16:54:43 +0000 (16:54 +0000)] 
This patch implements the new gdbarch method gdbarch_gdb_signal_to_target.
It will be used when one wants to convert between the internal GDB signal
representation (enum gdb_signal) and the target's representation.

The idea of this patch came from a chat between Pedro and I on IRC, plus
the discussion of my patches to add the new $_exitsignal convenience
variable:

<http://sourceware.org/ml/gdb-patches/2013-06/msg00452.html>
<http://sourceware.org/ml/gdb-patches/2013-06/msg00352.html>

What I did was to investigate, on the Linux kernel, which targets shared
the signal numbers definition with the generic definition, present at
<include/uapi/asm-generic/signal.h>.  For the record, I used linux-3.10-rc7
as the main source of information, always looking at
<arch/<ARCH_NAME>/include/uapi/asm/signal.h>.  For SIGRTMAX (which defaults
to _NSIG in most cases), I had to look at different signal-related
files, but most of them (except MIPS) were defined to 64 anyway.

Then, with all the differences in hand, I implemented the bits on each
target.

2013-08-09  Sergio Durigan Junior  <sergiodj@redhat.com>

* linux-tdep.c: Define enum with generic signal numbers.
(linux_gdb_signal_from_target): New function.
(linux_gdb_signal_to_target): Likewise.
(linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
methods to the functions above.
* linux-tdep.h (linux_gdb_signal_from_target): New prototype.
(linux_gdb_signal_to_target): Likewise.
* alpha-linux-tdep.c: Define new enum with signals different
from generic Linux kernel.
(alpha_linux_gdb_signal_from_target): New function.
(alpha_linux_gdb_signal_to_target): Likewise.
(alpha_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
with the functions mentioned above.
* avr-tdep.c: Define enum with differences between Linux kernel
and AVR signals.
(avr_linux_gdb_signal_from_target): New function.
(avr_linux_gdb_signal_to_target): Likewise.
(avr_gdbarch_init): Set gdbarch_gdb_signal_{to,from}_target to
the functions mentioned above.
* sparc-linux-tdep.c: Define enum with differences between SPARC
and generic Linux kernel signal numbers.
(sparc32_linux_gdb_signal_from_target): New function.
(sparc32_linux_gdb_signal_to_target): Likewise.
(sparc32_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
to the functions defined above.
* xtensa-linux-tdep.c: Define enum with differences between
Xtensa and Linux kernel generic signals.
(xtensa_linux_gdb_signal_from_target): New function.
(xtensa_linux_gdb_signal_to_target): Likewise.
(xtensa_linux_init_abi): Set gdbarch_gdb_signal_to_target
to the functions defined above.
* mips-linux-tdep.c: Define enum with differences between
signals in MIPS and Linux kernel generic ones.
(mips_gdb_signal_to_target): New function.
(mips_gdb_signal_from_target): Redefine to use new enum, handle
only different signals from the Linux kernel generic.
(mips_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
the functions defined above.
* mips-linux-tdep.h (enum mips_signals): Remove.

10 years agoRemove unnecessary XMALLOC definitions.
Pedro Alves [Fri, 9 Aug 2013 15:41:46 +0000 (15:41 +0000)] 
Remove unnecessary XMALLOC definitions.

XMALLOC is defined in defs.h.

Tested by building with --enable-targets=all.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* avr-tdep.c (XMALLOC): Delete macro.
* cli/cli-dump.c (XMALLOC): Delete macro.

10 years agoMake functions in cli-dump.c static and remove cli-dump.h.
Pedro Alves [Fri, 9 Aug 2013 15:37:35 +0000 (15:37 +0000)] 
Make functions in cli-dump.c static and remove cli-dump.h.

I noticed the functions declared in cli-dump.h aren't used anywhere
outside cli-dump.c.

The original patch that introduced cli-dump.c didn't include this header:

 http://sourceware.org/ml/gdb-patches/2002-03/msg00518.html

But for some reason that I couldn't find from reading the archives around
that patch's discussion, cli-dump.h was introduced in the final checkin,
at:

 http://sourceware.org/ml/gdb-patches/2002-03/msg00596.html

There seems to be no point in keeping this around nowadays.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* cli/cli-dump.c: Don't include cli/cli-dump.h.
(scan_expression_with_cleanup, scan_filename_with_cleanup)
(fopen_with_cleanup, add_dump_command): Make static.
* cli/cli-dump.h: Delete file.
* Makefile.in (HFILES_NO_SRCDIR): Remove reference to
cli/cli-dump.h.

10 years agotsave: Make tilde-expanded filename visible.
Pedro Alves [Fri, 9 Aug 2013 15:35:03 +0000 (15:35 +0000)] 
tsave: Make tilde-expanded filename visible.

Before:

  (gdb) tsave ~/a/b
  Unable to open file '~/a/b' for saving trace data (No such file or directory)

After:

  (gdb) tsave ~/a/b
  Unable to open file '/home/pedro/a/b' for saving trace data (No such file or directory)

Tested on x86_64 Fedora 17.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* tracepoint.c (tfile_start): Show tilde-expanded filename in
error message.

10 years agosave breakpoints: Make tilde-expanded filename visible.
Pedro Alves [Fri, 9 Aug 2013 15:33:09 +0000 (15:33 +0000)] 
save breakpoints: Make tilde-expanded filename visible.

Most commands in GDB show the tilde-expanded filename in user visible
output.  This makes "save breakpoints" behave the same.

Before:

  (gdb) save breakpoints ~/a/b
  Unable to open file '~/a/b' for saving (No such file or directory)

After:

  (gdb) save breakpoints ~/a/b
  Unable to open file '/home/pedro/a/b' for saving (No such file or directory)

Tested on x86_64 Fedora 17.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

        * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
error message.

10 years agogcore: Make tilde-expanded filename visible.
Pedro Alves [Fri, 9 Aug 2013 15:30:48 +0000 (15:30 +0000)] 
gcore: Make tilde-expanded filename visible.

Most commands in GDB show the tilde-expanded filename in user visible
output.  This makes gcore behave the same.

Before:

  (gdb) generate-core-file ~/a/b
  Failed to open '~/a/b' for output.
  (gdb) generate-core-file ~/core
  Saved corefile ~/core

After:

  (gdb) generate-core-file ~/a/b
  Failed to open '/home/pedro/a/b' for output.
  (gdb) generate-core-file ~/core
  Saved corefile /home/pedro/core

Tested on x86_64 Fedora 17.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* gcore.c (create_gcore_bfd): Don't use tilde_expand here.
(gcore_command): Use tilde_expand here, and when showing the
filename to the user, show the expanded version.

10 years ago * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10
Nick Clifton [Fri, 9 Aug 2013 10:40:04 +0000 (10:40 +0000)] 
* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10
flag bits do not match.
(rl78_elf_print_private_bfd_data): Describe G10 flag.

* readelf.c (get_machine_flags): Handle RL78 G10 flag.

* config/tc-rl78.c (elf_flags): New variable.
(enum options): Add OPTION_G10.
(md_longopts): Add mg10.
(md_parse_option): Parse -mg10.
(rl78_elf_final_processing): New function.
* config/tc-rl78.c (tc_final_processing): Define.
* doc/c-rl78.texi: Document -mg10 option.

* rl78.c (E_FLAG_RL78_G10): Define.

* lib/ld-lib.exp (check_shared_lib_support): Note that the RL78
does not support shared library generation.

10 years agogdb/
Yao Qi [Fri, 9 Aug 2013 00:35:40 +0000 (00:35 +0000)] 
gdb/

* stack.c (read_frame_arg): Set 'entryval_error' to NULL if
'entryval' is set.

gdb/testsuite/

* gdb.trace/collection.exp (gdb_collect_args_test): Set
"only" and "both" to 'print entry-values' before selecting
trace frame.

10 years agodaily update
Alan Modra [Fri, 9 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agogcore: expand tilde in filename.
Pedro Alves [Thu, 8 Aug 2013 17:00:42 +0000 (17:00 +0000)] 
gcore: expand tilde in filename.

Before this patch, this fails:

 (gdb) generate-core-file ~/core
 Failed to open '~/core' for output.

After the patch:

 (gdb) generate-core-file ~/core
 Saved corefile ~/core

gdb/
2013-08-08  Azat Khuzhin  <a3at.mail@gmail.com>  (tiny change)

* gcore.c (create_gcore_bfd): Use tilde_expand.

10 years agogdb/
Yao Qi [Thu, 8 Aug 2013 05:10:10 +0000 (05:10 +0000)] 
gdb/
* frame.h (read_frame_local): Declare.
* mi/mi-cmd-stack.c (list_args_or_locals): Call
read_frame_local.
* stack.c (read_frame_local): New.

gdb/testsuite/

* gdb.trace/mi-trace-unavailable.exp: Don't set
"print entry-values" to "no".
(test_trace_unavailable): Set various values to
"print entry-values" to test that the output of
'-stack-list-locals' is not affected, and then set
set "print entry-values" to "no".

10 years agogdb/
Yao Qi [Thu, 8 Aug 2013 03:48:35 +0000 (03:48 +0000)] 
gdb/
* mi/mi-cmd-stack.c: Update comments to function
list_args_or_locals.

10 years ago * gdb-if.c (hw_breakpoints): Remove.
Kevin Buettner [Thu, 8 Aug 2013 00:10:01 +0000 (00:10 +0000)] 
* gdb-if.c (hw_breakpoints): Remove.
(sim_store_register): Add an assert() to make sure PC is in range.
Delete code which referenced hw_breakpoints[].

10 years agodaily update
Alan Modra [Thu, 8 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years ago * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
Doug Evans [Wed, 7 Aug 2013 23:51:45 +0000 (23:51 +0000)] 
* gdb.python/py-value-cc.cc: Renamed from py-value.cc.
* gdb.python/py-value-cc.exp: Update.
* gdb.python/py-value.exp: Use different names for .o files for
C and C++.  Only perform C++ tests if !skip_cplus_tests.

10 years agofix PR symtab/15028
Tom Tromey [Wed, 7 Aug 2013 20:10:36 +0000 (20:10 +0000)] 
fix PR symtab/15028

This fixes some derivation.exp regressions with "dwz -m".

The bug here is that the imported PU is given language_minimal.
However, it ought to be C++.

The "pretend language" machinery exists to solve this problem, but it
wasn't handled in process_psymtab_comp_unit.  So, this patch adds it
there.

Built and regtested, both normally and using "dwz -m", on x86-64
Fedora 18.

PR symtab/15028:
* dwarf2read.c (struct process_psymtab_comp_unit_data): New.
(process_psymtab_comp_unit_reader): Use it.
(process_psymtab_comp_unit): Update.  Add "pretend_language"
argument.
(dwarf2_build_psymtabs_hard): Update.
(scan_partial_symbols): Pass CU's language to
process_psymtab_comp_unit.

10 years agoremove unused qf method
Tom Tromey [Wed, 7 Aug 2013 20:06:37 +0000 (20:06 +0000)] 
remove unused qf method

After the previous patch in the series, nothing uses the "quick"
method find_symbol_file.

This patch removes it.

Tested by rebuilding.

* dwarf2read.c (dw2_get_primary_filename_reader): Remove.
(dwarf2_gdb_index_functions): Update.
* psymtab.c (find_symbol_file_from_partial): Remove.
(psym_functions): Update.
* symfile.h (struct quick_symbol_functions) <find_symbol_file>:
Remove.

10 years agouse language of the main symbol
Tom Tromey [Wed, 7 Aug 2013 20:03:52 +0000 (20:03 +0000)] 
use language of the main symbol

With "dwz -m", "main" appears in both the PU and the importing CU when
running anon-struct.exp.  However, the PU does not have a file name.
So, find_main_filename returns the empty string, making
deduce_language_from_filename return language_unknown.

This patch fixes this problem by changing gdb to use the ordinary
symbol-lookup functions to find "main"'s symbol.  Then, it examines the
symbol's language.

I think this is cleaner than the current approach.  For one thing it
avoids trying to guess the language based on the source file name,
instead deferring to the presumably more reliable debuginfo.

Another possible fix would have been to change how the file name is
found via the "qf" methods.  However, I think the approach given is
preferable for the reason outlined above.

This required a minor test suite change, as now a symtab is expanded
during the search for "main".

Built and regtested (both ways) on x86-64 Fedora 18.

* symfile.c (set_initial_language): Look up "main" symbol
and use its language.
* symtab.c (find_main_filename): Remove.
* symtab.h (find_main_filename): Remove.

* gdb.base/maint.exp: Allow zero symtabs to be expanded.

10 years agofix recursively_compute_inclusions and add dwz test case
Tom Tromey [Wed, 7 Aug 2013 19:57:51 +0000 (19:57 +0000)] 
fix recursively_compute_inclusions and add dwz test case

Doug pointed out a while ago that in the final dwz -m patch, nothing
ever set symtab::user.

This patch fixes this oversight and adds a test case showing why it is
important.

Built and regtested (both ways) on x86-64 Fedora 18.
The new test unconditionally tests the partial unit machinery, which I
think is an added plus.

* dwarf2read.c (recursively_compute_inclusions): Add
"immediate_parent" argument.  Set symtab's "user" field
if not set.
(compute_symtab_includes): Update.

* gdb.dwarf2/dwz.exp: New file.

10 years agoalso filter label symbols
Tom Tromey [Wed, 7 Aug 2013 19:52:16 +0000 (19:52 +0000)] 
also filter label symbols

The bug here is that, with dwz -m, a function (and a label) appear in
both a PU and a CU when running cplabel.exp.  So, a breakpoint gets
two locations:

    (gdb) break foo::bar:to_the_top
    Breakpoint 2 at 0x400503: foo::bar:to_the_top. (2 locations)

What is especially wacky is that both locations are at the same place:

    (gdb) info b
    Num     Type           Disp Enb Address            What
    1       breakpoint     keep y   <MULTIPLE>
    1.1                         y     0x000000000040051c foo::bar:get_out_of_here
    1.2                         y     0x000000000040051c foo::bar:get_out_of_here

This happens due to the weird way we run "dwz -m".
It's unclear to me that this would ever happen for real code.

While I think this borders on "diminishing returns" territory, the fix
is pretty straightforward: use the existing address-filtering function
in linespec to also filter when looking at labels.

Built and regtested (both ways) on x86-64 Fedora 18.

* linespec.c (convert_linespec_to_sals): Use maybe_add_address
when adding label symbols.

10 years agogold/
Cary Coutant [Wed, 7 Aug 2013 17:11:24 +0000 (17:11 +0000)] 
gold/
Revert support for v2 DWP files:

2013-03-01  Cary Coutant  <ccoutant@google.com>

    Add dwp support for v2 DWARF package file format.
    * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
    tu_length parameter.  Adjust all callers.
    * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
    * dwp.cc: Include dwarf.h.
    (Section_bounds): New struct type.
    (Unit_set): New struct type.
    (Dwo_file::Dwo_file): Initialize new data member.
    (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
    Combine and rename to...
    (Dwo_file::read_unit_index): ...this.
    (Dwo_file::sized_read_compunit_index)
    (Dwo_file::sized_read_typeunit_index): Combine and rename to...
    (Dwo_file::sized_read_unit_index): ...this.
    (Dwo_file::copy_section): Remove section_name, is_str_offsets
    parameters; add section_id parameter.
    (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
    (Dwo_file::add_unit_set): ...this.
    (Dwo_file::shndx_map_): Remove.
    (Dwo_file::sect_offsets_): New data member.
    (Dwp_output_file::Dwp_output_file): Initialize new data members.
    (Dwp_output_file::add_section): Rename to...
    (Dwp_output_file::add_contribution): ...this.
    (Dwp_output_file::add_cu_set): Combine parameters into a struct.
    (Dwp_output_file::add_tu_set): Likewise.
    (Dwp_output_file::Contribution): New type.
    (Dwp_output_file::Section::contributions): New data member.
    (Dwp_output_file::Cu_or_tu_set): Remove.
    (Dwp_output_file::Section::Section): New ctor.
    (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
    (Dwp_output_file::Dwp_index::Section_table): New type.
    (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
    (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
    parameter.
    (Dwp_output_file::Dwp_index::shndx_pool): Remove.
    (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
    (Dwp_output_file::Dwp_index::section_table): New member function.
    (Dwp_output_file::Dwp_index::section_table_end): New member function.
    (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
    (Dwp_output_file::Dwp_index::section_table_rows): New member function.
    (Dwp_output_file::Dwp_index::section_table_cols): New member function.
    (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
    (Dwp_output_file::Dwp_index::section_table_): New data member.
    (Dwp_output_file::Dwp_index::section_mask_): New data member.
    (Dwp_output_file::add_output_section): New member function.
    (Dwp_output_file::write_new_section): New member function.
    (Dwp_output_file::write_contributions): New member function.
    (Dwp_output_file::section_id_map_): New data member.
    (class Dwo_id_info_reader): Remove.
    (class Unit_reader): New class.
    (get_dwarf_section_name): New function.
    (Dwo_file::read_executable): Adjust initializations of class data.
    (Dwo_file::read): Add support for v2 package file format.
    (Dwo_file::read_unit_index): Likewise.
    (Dwo_file::sized_read_unit_index): Likewise.
    (Dwo_file::copy_section): Likewise.
    (Dwo_file::add_unit_set): Likewise.
    (Dwp_output_file::add_output_section): Likewise.
    (Dwp_output_file::add_contribution): Likewise.
    (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
    for empty slot.
    (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
    file format.
    (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
    slot.
    (Dwp_output_file::initialize): Remove unused function.
    (Dwp_output_file::finalize): Add support for v2 package file format.
    (Dwp_output_file::write_index): Likewise.
    * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
    function prototype.

10 years agomerge from gcc
DJ Delorie [Wed, 7 Aug 2013 15:04:28 +0000 (15:04 +0000)] 
merge from gcc

10 years ago2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand [Wed, 7 Aug 2013 14:42:34 +0000 (14:42 +0000)] 
2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
    Ulrich Weigand  <uweigand@de.ibm.com>

* configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix.
* configure.host (powerpc64-*-aix*): Likewise.

10 years ago2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand [Wed, 7 Aug 2013 14:39:57 +0000 (14:39 +0000)] 
2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
    Ulrich Weigand  <uweigand@de.ibm.com>

* gdb_ptrace.h: Use ptrace64 instead of ptrace if HAVE_PTRACE64
is defined.
* rs6000-nat.c: Check for __ld_info64_ if compiling 64 BIT gdb.
(rs6000_ptrace32): Call ptrace64 instead of ptrace if present.
(rs6000_ptrace64): Call ptace64 instead of ptracex if present.
* configure.ac: Check for ptrace64.
* configure, config.in: Regenerate.

10 years ago2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand [Wed, 7 Aug 2013 13:24:26 +0000 (13:24 +0000)] 
2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
    Ulrich Weigand  <uweigand@de.ibm.com>

* aixthread.c: Call ptrace64 instead of ptracex if defined.
Call ptrace64 instead of ptrace if defined.
Add macro addr_ptr to take care of ptrace address argument.
(pdc_read_regs): Likewise.
(pdc_write_regs): Likewise.
(aix_thread_resume): Likewise.
(fetch_regs_kernel_thread): Likewise.
(store_regs_kernel_thread): Likewise.

10 years ago2013-08-07 Anton Blanchard <anton@samba.org>
Anton Blanchard [Wed, 7 Aug 2013 08:00:55 +0000 (08:00 +0000)] 
2013-08-07  Anton Blanchard  <anton@samba.org>

* MAINTAINERS: Add myself to Write After Approval.

10 years agodaily update
Alan Modra [Wed, 7 Aug 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

10 years agoopcodes/
Richard Sandiford [Tue, 6 Aug 2013 19:27:07 +0000 (19:27 +0000)] 
opcodes/
2013-08-06  Jürgen Urban  <JuergenUrban@gmx.de>

* mips-opc.c (mips_builtin_opcodes): Add a suffixless version of
VCLIPW.

gas/
2013-08-06  Jürgen Urban  <JuergenUrban@gmx.de>

* config/tc-mips.c (match_vu0_suffix_operand): Allow single-channel
suffixes to be elided too.
(mips_lookup_insn): Don't reject INSN2_VU0_CHANNEL_SUFFIX here.
(mips_ip): Assume .xyzw if no VU0 suffix is specified.  Allow +N
to be omitted too.

gas/testsuite/
2013-08-06  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l,
gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d: Allow
single-channel suffixes to be elided.

10 years agodaily update
Alan Modra [Tue, 6 Aug 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

10 years agobfd/
Richard Sandiford [Mon, 5 Aug 2013 21:58:23 +0000 (21:58 +0000)] 
bfd/
2013-08-05  John Tytgat  <john@bass-software.com>

* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Likewise.

gas/
2013-08-05  John Tytgat  <john@bass-software.com>

* po/POTFILES.in: Regenerate.

gprof/
2013-08-05  John Tytgat  <john@bass-software.com>

* po/POTFILES.in: Regenerate.

10 years ago * sparc-opc.c (v9andleon): Fix thinko.
Eric Botcazou [Mon, 5 Aug 2013 17:04:08 +0000 (17:04 +0000)] 
* sparc-opc.c (v9andleon): Fix thinko.

10 years agomore add_target removals
Tom Tromey [Mon, 5 Aug 2013 16:54:27 +0000 (16:54 +0000)] 
more add_target removals

This removes a few more erroneous calls to add_target.  These calls
end up installing the target in a user-visible way; but these targets
are all auto-activated and, I think, should never be explicitly
requested.

I have no way to test these.

* aix-thread.c (_initialize_aix_thread): Use
complete_target_initialization.
* bsd-uthread.c (_initialize_bsd_uthread): Use
complete_target_initialization.
* dec-thread.c (_initialize_dec_thread): Use
complete_target_initialization.
* ravenscar-thread.c (_initialize_ravenscar): Use
complete_target_initialization.
* sol-thread.c (_initialize_sol_thread): Use
complete_target_initialization.
* spu-multiarch.c (_initialize_spu_multiarch): Use
complete_target_initialization.

10 years agogas/
Eric Botcazou [Mon, 5 Aug 2013 16:11:07 +0000 (16:11 +0000)] 
gas/
* config/tc-sparc.c (sparc_arch_types): Add leon.
(sparc_arch): Move sparc4 around and add leon.
(sparc_target_format): Document -Aleon.
* doc/c-sparc.texi: Likewise.
include/
* opcode/sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON.
opcodes/
* sparc-dis.c (compute_arch_mask): Set SPARC_OPCODE_ARCH_LEON bit for
bfd_mach_sparc.
* sparc-opc.c (MASK_LEON): Define.
(v6, v6notlet, v7, v8, v6notv9): Add MASK_LEON.
(letandleon): New macro.
(v9andleon): Likewise.
(sparc_opc): Add leon.
(umac): Enable for letandleon.
(smac): Likewise.
(casa): Enable for v9andleon.
(cas): Likewise.
(casl): Likewise.

10 years agoRemove:
Mike Stump [Mon, 5 Aug 2013 16:05:32 +0000 (16:05 +0000)] 
Remove:
2013-07-10  Jack Howarth  <howarth@bromo.med.uc.edu>

       PR target/57792
       * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
       * configure: Regenerated.

10 years agoremove msymbol_objfile
Tom Tromey [Mon, 5 Aug 2013 15:51:02 +0000 (15:51 +0000)] 
remove msymbol_objfile

This is another patch in my ongoing series to "split" objfile to share
more read-only data across inferiors.  See

    http://sourceware.org/gdb/wiki/ObjfileSplitting

When symbols are finally shared, there will be no back-link from the
symbol to its containing objfile, because there may be more than one
such objfile.  So, all such back-links must be removed.

One hidden back-link is the msymbol_objfile function.  Since
(eventually) a symbol may appear in more than one objfile, trying to
look up the objfile given just a symbol cannot work.

This patch removes msymbol_objfile in favor of using a bound minimal
symbol.  It introduces a new function to make this conversion simpler
in some spots.

The bonus of this patch is that using msymbol_objfile is slower than
simply looking up the owning objfile in the first place.

Built and regtested on x86-64 Fedora 18.

* ada-exp.y (write_var_or_type): Use bound_minimal_symbol.
* ada-lang.c (ada_lookup_simple_minsym): Return
bound_minimal_symbol.
* ada-lang.h (ada_lookup_simple_minsym): Update.
* c-exp.y (variable): Use lookup_bound_minimal_symbol.
* f-exp.y (variable): Use lookup_bound_minimal_symbol.
* go-exp.y (variable): Use lookup_bound_minimal_symbol.
* jv-exp.y (push_expression_name): Use lookup_bound_minimal_symbol.
* m2-exp.y (variable): Use lookup_bound_minimal_symbol.
* minsyms.c (msymbol_objfile): Remove.
(lookup_minimal_symbol_internal): New function, from
lookup_minimal_symbol.
(lookup_minimal_symbol): Rewrite using
lookup_minimal_symbol_internal.
(lookup_bound_minimal_symbol): New function.
* minsyms.h (msymbol_objfile): Remove.
(lookup_bound_minimal_symbol): Declare.
* p-exp.y (variable): Use lookup_bound_minimal_symbol.
* parse.c (write_exp_msymbol): Change parameter to a
bound_minimal_symbol.
(write_dollar_variable): Use lookup_bound_minimal_symbol.
* parser-defs.h (write_exp_msymbol): Update.
* printcmd.c (address_info): Use lookup_bound_minimal_symbol.
* symfile.c (simple_read_overlay_table): Use
lookup_bound_minimal_symbol.
* symtab.c (skip_prologue_sal): Don't use msymbol_objfile.
(search_symbols): Likewise.
(print_msymbol_info): Take a bound_minimal_symbol argument.
(symtab_symbol_info, rbreak_command): Update.
* symtab.h (struct symbol_search) <msymbol>: Change type
to bound_minimal_symbol.
* valops.c (find_function_in_inferior): Use
lookup_bound_minimal_symbol.
* value.c (value_fn_field): Use lookup_bound_minimal_symbol.

10 years agodoc: gdbserver allows for subsequent and not for multiple simultaneous connections.
Sanimir Agovic [Mon, 5 Aug 2013 15:39:25 +0000 (15:39 +0000)] 
doc: gdbserver allows for subsequent and not for multiple simultaneous connections.

doc/

2013-08-05  Sanimir Agovic  <sanimir.agovic@intel.com>

* gdb.texinfo (TCP port allocation lifecycle): Gdbserver by default
allows for subsequent and not for additional (multiple simultaneous)
        connections.

10 years agogdb/
Jan Kratochvil [Mon, 5 Aug 2013 15:03:06 +0000 (15:03 +0000)] 
gdb/
Code cleanup.
* remote.c (cleanup_sigint_signal_handler): Rename the declaration
to ...
(async_cleanup_sigint_signal_handler): ... this.
(initialize_sigint_signal_handler): Remove declaration.
(handle_remote_sigint): Rename the declaration to ...
(async_handle_remote_sigint): ... this.
(handle_remote_sigint_twice): Rename the declaration to ...
(async_handle_remote_sigint_twice): ... this.
(async_remote_interrupt, async_remote_interrupt_twice)
(remote_interrupt): Remove the declarations.
(remote_interrupt_twice): Rename the declaration ...
(sync_remote_interrupt_twice): ... this.
(sigint_remote_twice_token): Rename the variable to ...
(async_sigint_remote_twice_token): ... this.
(sigint_remote_token): Rename the variable to ...
(async_sigint_remote_token): ... this.
(initialize_sigint_signal_handler): Rename the function to ...
(async_initialize_sigint_signal_handler): ... this.  Update the name
inside.
(handle_remote_sigint): Rename the function to ...
(async_handle_remote_sigint): ... this.  Update the names inside.
(handle_remote_sigint_twice): Rename the function to ...
(async_handle_remote_sigint_twice): ... this.  Update the names inside.
(cleanup_sigint_signal_handler): Rename the function to ...
(async_cleanup_sigint_signal_handler): ... this.
(remote_interrupt): Rename the function to ...
(sync_remote_interrupt): this.  Update the names inside.
(remote_interrupt_twice): Rename the function to ...
(sync_remote_interrupt_twice): this.  Update the names inside.
(remote_terminal_inferior, remote_terminal_ours, remote_wait_as)
(_initialize_remote): Update the names inside.

10 years agogas/
Richard Sandiford [Mon, 5 Aug 2013 08:31:48 +0000 (08:31 +0000)] 
gas/
* config/tc-mips.c (mips_lookup_insn): Make length and opend signed.

10 years agodaily update
Alan Modra [Mon, 5 Aug 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

10 years agoinclude/opcode/
Richard Sandiford [Sun, 4 Aug 2013 07:31:39 +0000 (07:31 +0000)] 
include/opcode/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* mips.h: Document new VU0 operand characters.
(OP_VU0_SUFFIX, OP_VU0_MATCH_SUFFIX): New mips_operand_types.
(OP_REG_VF, OP_REG_VI, OP_REG_R5900_I, OP_REG_R5900_Q, OP_REG_R5900_R)
(OP_REG_R5900_ACC): New mips_reg_operand_types.
(INSN2_VU0_CHANNEL_SUFFIX): New macro.
(mips_vu0_channel_mask): Declare.

opcodes/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* mips-dis.c (print_reg): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
(print_vu0_channel): New function.
(print_insn_arg): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(print_insn_args): Handle '#'.
(print_insn_mips): Handle INSN2_VU0_CHANNEL_SUFFIX.
* mips-opc.c (mips_vu0_channel_mask): New constant.
(decode_mips_operand): Handle new VU0 operand types.
(VU0, VU0CH): New macros.
(mips_builtin_opcodes): Add VU0 opcodes.  Use "+7" rather than "E"
for LQC2 and SQC2.  Use "+9" rather than "G" for EE CFC2 and CTC2.
Use "+6" rather than "G" for QMFC2 and QMTC2.

gas/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* config/tc-mips.c (MAX_OPERANDS): Bump to 6.
(RWARN): Bump to 0x8000000.
(RTYPE_VI, RTYPE_VF, RTYPE_R5900_I, RTYPE_R5900_Q, RTYPE_R5900_R)
(RTYPE_R5900_ACC): New register types.
(RTYPE_MASK): Include them.
(R5900_I_NAMES, R5900_Q_NAMES, R5900_R_NAMES, R5900_ACC_NAMES): New
macros.
(reg_names): Include them.
(mips_parse_register_1): New function, split out from...
(mips_parse_register): ...here.  Add a channels_ptr parameter.
Look for VU0 channel suffixes when nonnull.
(reg_lookup): Update the call to mips_parse_register.
(mips_parse_vu0_channels): New function.
(OT_CHANNELS, OT_DOUBLE_CHAR): New mips_operand_token_types.
(mips_operand_token): Add a "channels" field to the union.
Extend the comment above "ch" to OT_DOUBLE_CHAR.
(mips_parse_base_start): Match -- and ++.  Handle channel suffixes.
(mips_parse_argument_token): Handle channel suffixes here too.
(validate_mips_insn): Handle INSN2_VU0_CHANNEL_SUFFIX.
Ignore OP_VU0_MATCH_SUFFIX when calculating the used bits.
Handle '#' formats.
(md_begin): Register $vfN and $vfI registers.
(operand_reg_mask): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(convert_reg_type): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
(match_vu0_suffix_operand): New function.
(match_operand): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(macro): Use "+7" rather than "E" for LDQ2 and STQ2.
(mips_lookup_insn): New function.
(mips_ip): Use it.  Allow "+K" operands to be elided at the end
of an instruction.  Handle '#' sequences.

gas/testsuite/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-vu0.d: Expect $vfN and $viN instead of numeric
coprocessor registers.
* gas/mips/r5900-all-vu0.s, gas/mips/r5900-all-vu0.d,
gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d,
gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l: New tests.
* gas/mips/mips.exp: Run them.

This page took 0.082678 seconds and 4 git commands to generate.