binutils-gdb.git
11 years agouse standard_temp_file in another caching proc
Tom Tromey [Thu, 22 Aug 2013 13:46:21 +0000 (13:46 +0000)]
use standard_temp_file in another caching proc

In an earlier patch I forgot to change the caching proc in cell.exp to
use standard_temp_file.  This fixes the oversight.

Tested on x86-64 Fedora 18.

       * lib/cell.exp (skip_cell_tests): Use standard_temp_file.

11 years agointroduce gdb_remote_download and finish parallel fixes in gdb.dwarf2
Tom Tromey [Thu, 22 Aug 2013 13:44:16 +0000 (13:44 +0000)]
introduce gdb_remote_download and finish parallel fixes in gdb.dwarf2

This finishes making gdb.dwarf2 parallel-safe.

To do this, this patch introduces a new gdb_remote_download proc, that
works somewhat differently in the one specific case where it matters:
for a copy to "host", if no destination was given, and the host is not
actually remote, then standard_output_file is used.  In parallel mode
this guarantees that the resulting file will end up in a parallel-safe
location.

Tested on x86-64 Fedora 18.

* gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
* gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
* lib/gdb.exp (gdb_remote_download): New proc.

11 years agofix some gdb.dwarf2 tests for parallel safety
Tom Tromey [Thu, 22 Aug 2013 13:39:13 +0000 (13:39 +0000)]
fix some gdb.dwarf2 tests for parallel safety

This fixes a few gdb.dwarf2 tests to be more parallel-safe.  This
mostly amounts to changing them to write their files into the
directory designated by standard_output_file.

Built and regtested on x86-64 Fedora 18.

* gdb.dwarf2/clztest.exp: Use standard_testfile.
* gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
* gdb.dwarf2/fission-base.S: Remove directory from
DW_AT_GNU_dwo_name.
* gdb.dwarf2/fission-base.exp: Use build_executable.  Set
debug-file-directory.
* gdb.dwarf2/fission-reread.S: Remove directory from
DW_AT_GNU_dwo_name.
* gdb.dwarf2/fission-reread.exp: Use build_executable.  Set
debug-file-directory.

11 years ago * binutils-all/nm.exp: --size-sort test: Add more ELF-like
Nick Clifton [Thu, 22 Aug 2013 11:29:43 +0000 (11:29 +0000)]
* binutils-all/nm.exp: --size-sort test: Add more ELF-like
targets.
* binutils-all/nm-1.s: Use .byte instead of .long.
Provide a terminating symbol.

11 years agoPR gdb/15871: Unavailable entry value is not shown correctly
Pedro Alves [Thu, 22 Aug 2013 10:00:05 +0000 (10:00 +0000)]
PR gdb/15871: Unavailable entry value is not shown correctly

In entry-values.exp, we have a test where the entry value of 'j' is
unavailable, so it is expected that printing j@entry yields
"<unavailable>".  However, the actual output is:

 (gdb) frame
 #0  0x0000000000400540 in foo (i=0, i@entry=2, j=2, j@entry=<error reading variable: Cannot access memory at address 0x6009e8>)

The error is thrown here:

#0  throw_it (reason=RETURN_ERROR, error=MEMORY_ERROR, fmt=0x8cd550 "Cannot access memory at address %s", ap=0x7fffffffc8e8) at ../../src/gdb/exceptions.c:373
#1  0x00000000005e2f9c in throw_error (error=MEMORY_ERROR, fmt=0x8cd550 "Cannot access memory at address %s") at ../../src/gdb/exceptions.c:422
#2  0x0000000000673a5f in memory_error (status=5, memaddr=6293992) at ../../src/gdb/corefile.c:204
#3  0x0000000000673aea in read_memory (memaddr=6293992, myaddr=0x7fffffffca60 "\200\316\377\377\377\177", len=4) at ../../src/gdb/corefile.c:223
#4  0x00000000006784d1 in dwarf_expr_read_mem (baton=0x7fffffffcd50, buf=0x7fffffffca60 "\200\316\377\377\377\177", addr=6293992, len=4) at ../../src/gdb/dwarf2loc.c:334
#5  0x000000000067645e in execute_stack_op (ctx=0x1409480, op_ptr=0x7fffffffce87 "\237<\005@", op_end=0x7fffffffce88 "<\005@") at ../../src/gdb/dwarf2expr.c:1045
#6  0x0000000000674e29 in dwarf_expr_eval (ctx=0x1409480, addr=0x7fffffffce80 "\003\350\t`", len=8) at ../../src/gdb/dwarf2expr.c:364
#7  0x000000000067c5b2 in dwarf2_evaluate_loc_desc_full (type=0x10876d0, frame=0xd8ecc0, data=0x7fffffffce80 "\003\350\t`", size=8, per_cu=0xf24c40, byte_offset=0)
    at ../../src/gdb/dwarf2loc.c:2236
#8  0x000000000067cc65 in dwarf2_evaluate_loc_desc (type=0x10876d0, frame=0xd8ecc0, data=0x7fffffffce80 "\003\350\t`", size=8, per_cu=0xf24c40)
    at ../../src/gdb/dwarf2loc.c:2407
#9  0x000000000067a5d4 in dwarf_entry_parameter_to_value (parameter=0x13a7960, deref_size=18446744073709551615, type=0x10876d0, caller_frame=0xd8ecc0, per_cu=0xf24c40)
    at ../../src/gdb/dwarf2loc.c:1160
#10 0x000000000067a962 in value_of_dwarf_reg_entry (type=0x10876d0, frame=0xd8de70, kind=CALL_SITE_PARAMETER_DWARF_REG, kind_u=...) at ../../src/gdb/dwarf2loc.c:1310
#11 0x000000000067aaca in value_of_dwarf_block_entry (type=0x10876d0, frame=0xd8de70, block=0xf1c2d4 "Q", block_len=1) at ../../src/gdb/dwarf2loc.c:1363
#12 0x000000000067e7c9 in locexpr_read_variable_at_entry (symbol=0x13a7540, frame=0xd8de70) at ../../src/gdb/dwarf2loc.c:3326
#13 0x00000000005daab6 in read_frame_arg (sym=0x13a7540, frame=0xd8de70, argp=0x7fffffffd0e0, entryargp=0x7fffffffd100) at ../../src/gdb/stack.c:362
#14 0x00000000005db384 in print_frame_args (func=0x13a7470, frame=0xd8de70, num=-1, stream=0xea3890) at ../../src/gdb/stack.c:669
#15 0x00000000005dc338 in print_frame (frame=0xd8de70, print_level=1, print_what=SRC_AND_LOC, print_args=1, sal=...) at ../../src/gdb/stack.c:1199
#16 0x00000000005db8ee in print_frame_info (frame=0xd8de70, print_level=1, print_what=SRC_AND_LOC, print_args=1) at ../../src/gdb/stack.c:851
#17 0x00000000005da2bb in print_stack_frame (frame=0xd8de70, print_level=1, print_what=SRC_AND_LOC) at ../../src/gdb/stack.c:169
#18 0x00000000005de236 in frame_command (level_exp=0x0, from_tty=1) at ../../src/gdb/stack.c:2265

dwarf2_evaluate_loc_desc_full (frame #7) knows to handle
NOT_AVAILABLE_ERROR errors, but read_memory always throws
a generic error.

Presently, only the value machinery knows to handle unavailable
memory.  We need to push the awareness down to the target_xfer layer,
making it return a finer grained error indication.  We can only return
a generic -1 nowadays, which leaves the upper layers with no clue on
why the xfer failed.  Use target_xfer_partial directly, rather than
propagating the error through target_read_memory so as to get a better
address to display in the error message.

(target_read_memory & friends build on top of target_read (thus the
target_xfer machinery), but turn all errors to EIO, an errno value.  I
think this is a mistake, and we'd better convert all these to return a
target_xfer_error too, but that can be done separately.  I looked
around a bit over memory_error calls, and the need to handle random
errno values, other than the EIOs gdb itself hardcodes, probably comes
(only) from deprecated_xfer_memory, which uses errno for error
indication, but I didn't look exhaustively.  We should really get rid
of deprecated_xfer_memory and of passing down errno values as error
indication in target_read & friends methods).

Tested on x86_64 Fedora 17, native and gdbserver.  Fixes the test in
the PR, which will be added to the testsuite later.

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

PR gdb/15871
* corefile.c (target_xfer_memory_error): New function.
(memory_error): Defer EIO to target_memory_error.
(read_memory): Use target_xfer_partial, and handle finer-grained
target xfer errors.
* target.c (target_xfer_error_to_string): New function.
(memory_xfer_partial_1): If memory is known to be
unavailable, return TARGET_XFER_E_UNAVAILABLE instead of -1.
(target_xfer_partial): Make extern.
* target.h (enum target_xfer_error): New enum.
(target_xfer_error_to_string): Declare function.
(target_xfer_partial): Declare function.
(struct target_ops) <xfer_partial>: Adjust describing comment.

11 years ago * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld).
Alan Modra [Thu, 22 Aug 2013 07:34:28 +0000 (07:34 +0000)]
* ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld).
Correct ppc64elftests option replacement.
(supports_ppc64): Match elf64lppc too.
* ld-powerpc/relbrlt.d: Update for little-endian.
* ld-powerpc/symtocbase.d: Likewise.
* ld-powerpc/tls.t: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlstoc.t: Likewise.
* ld-powerpc/tlstocso.d: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-powerpc/tlstocso.t: Likewise.
* ld-powerpc/tocopt.d: Likewise.
* ld-powerpc/tocopt2.d: Likewise.
* ld-powerpc/tocopt3.d: Likewise.
* ld-powerpc/tocopt4.d: Likewise.
* ld-powerpc/tocopt5.d: Likewise.

11 years ago * configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
Alan Modra [Thu, 22 Aug 2013 01:01:32 +0000 (01:01 +0000)]
* configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
* configure.tgt: Likewise as targets.

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

11 years agoRenegerate gdbserver/config.in.
Pedro Alves [Wed, 21 Aug 2013 21:32:42 +0000 (21:32 +0000)]
Renegerate gdbserver/config.in.

In:
    gdb/gdbserver/
    2013-07-03  Pedro Alves  <palves@redhat.com>

        * Makefile.in (config.status): Depend on development.sh.
        * acinclude.m4: Include libmcheck.m4.
        * configure: Regenerate.

I missed regenerating config.in...

Tested on x86_64 Fedora 17.

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

* config.in: Renegerate.

11 years agoFix whitespace.
Pedro Alves [Wed, 21 Aug 2013 21:31:45 +0000 (21:31 +0000)]
Fix whitespace.

11 years ago2013-08-21 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 21 Aug 2013 08:15:23 +0000 (08:15 +0000)]
2013-08-21  Tristan Gingold  <gingold@adacore.com>

* coff-rs6000.c (_bfd_xcoff_sizeof_headers): Also count
.ovrflo sections.
* coffcode.h (coff_compute_section_file_positions): Force
match between file offset and vma offset.

11 years agoFix typo
Nick Clifton [Wed, 21 Aug 2013 07:28:37 +0000 (07:28 +0000)]
Fix typo

11 years ago * symbols.c (fb_label_instance_inc, fb_label_instance): Properly
Alan Modra [Wed, 21 Aug 2013 05:55:13 +0000 (05:55 +0000)]
* symbols.c (fb_label_instance_inc, fb_label_instance): Properly
range check label number for use with fb_low_counter array.

11 years ago * elflink.c (_bfd_elf_merge_symbol): Set *poldbfd, *poldweak,
Alan Modra [Wed, 21 Aug 2013 04:09:30 +0000 (04:09 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Set *poldbfd, *poldweak,
and *poldalignment before exiting when !relocs_compatible.

11 years ago * elflink.c (_bfd_elf_define_linkage_sym): Don't set STV_INTERNAL
Alan Modra [Wed, 21 Aug 2013 03:45:44 +0000 (03:45 +0000)]
* elflink.c (_bfd_elf_define_linkage_sym): Don't set STV_INTERNAL
symbols to STV_HIDDEN.

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

11 years ago * binutils-all/nm.exp: Revert last change. Instead use nm-elf-1.s
Hans-Peter Nilsson [Tue, 20 Aug 2013 22:50:11 +0000 (22:50 +0000)]
* binutils-all/nm.exp: Revert last change.  Instead use nm-elf-1.s
for mmix-knuth-mmixware.

11 years ago * buildsym.c (subfile_stack): Move here from buildsym.h.
Doug Evans [Tue, 20 Aug 2013 18:57:00 +0000 (18:57 +0000)]
* buildsym.c (subfile_stack): Move here from buildsym.h.
(pending_macros): Ditto.
(get_macro_table): New function.
(buildsym_init): Initialize subfile_stack.
* coffread.c (type_vector,type_vector_length): Moved here from
buildsym.h.
(INITIAL_TYPE_VECTOR_LENGTH): Ditto.
(coff_symtab_read): Use it.
* dbxread.c (read_ofile_symtab): Delete init of subfile_stack.
* dwarf2read.c (macro_start_file): Replace uses of pending_macros
with call to get_macro_table.
* stabsread.c (type_vector,type_vector_length): Moved here from
buildsym.h.
(INITIAL_TYPE_VECTOR_LENGTH): Ditto.
* buildsym.h (get_macro_table): Declare.

11 years ago * dbxread.c (record_minimal_symbol): Make 'name' argument const.
Tom Tromey [Tue, 20 Aug 2013 18:25:12 +0000 (18:25 +0000)]
* dbxread.c (record_minimal_symbol): Make 'name' argument const.
Update.
(read_dbx_dynamic_symtab): Make 'name' const.  Remove casts.

11 years ago * blockframe.c: Remove #include "psymtab.h".
Doug Evans [Tue, 20 Aug 2013 16:30:20 +0000 (16:30 +0000)]
* blockframe.c: Remove #include "psymtab.h".
* cp-support.c: Ditto.
* source.c: Ditto.
* stack.c: Ditto.

11 years agofix PR python/15816
Tom Tromey [Tue, 20 Aug 2013 15:12:53 +0000 (15:12 +0000)]
fix PR python/15816

This fixes PR python/15816.

The bug here is that python-selftest.exp can fail:

    No symbol "RETURN_MASK_ALL" in current context.

RETURN_MASK_ALL is a macro, so if macros do not end up in the
debuginfo (very typical) then the test fails.

It seemed simplest to me to simply turn the RETURN_MASK_ defines into
enum constants.  This way they end up in the debuginfo and all is
well.

PR python/15816:
* exceptions.h (return_mask): Now an enum.
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now
enum constants.

Built and regtested on x86-64 Fedora 18.

11 years agomove gdbarch object from objfile to per-BFD
Tom Tromey [Tue, 20 Aug 2013 15:04:51 +0000 (15:04 +0000)]
move gdbarch object from objfile to per-BFD

This moves the "gdbarch" field from the objfile into the BFD.

This field's value is derived from the BFD and is immutable over the
lifetime of the BFD.  This makes it a reasonable candidate for pushing
into the per-BFD object.

This is part of the long-term objfile splitting project.  In the long
run I think this patch will make it simpler to moves types from the
objfile to the per-BFD object; but the patch makes sense as a minor
cleanup by itself.

Built and regtested on x86-64 Fedora 18.

* cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
get_objfile_arch.
* elfread.c (elf_rel_plt_read, elf_gnu_ifunc_record_cache)
(elf_gnu_ifunc_resolve_by_got): Use get_objfile_arch.
* jit.c (jit_object_close_impl): Update.
* jv-lang.c (get_dynamics_objfile): Update.
* linespec.c (add_minsym): Use get_dynamics_objfile.
* objfiles.c (get_objfile_bfd_data): Initialize 'gdbarch' field.
(allocate_objfile): Don't initialize 'gdbarch' field.
(get_objfile_arch): Update.
* objfiles.h (struct objfile_per_bfd_storage) <gdbarch>: New field,
moved from...
(struct objfile) <gdbarch>: ... here.  Remove.
* stap-probe.c (stap_can_evaluate_probe_arguments): Use
get_objfile_arch.
* symfile.c (init_entry_point_info): Use get_objfile_arch.

11 years ago * doublest.c (convert_floatformat_to_doublest): Use fmt->split_half
Alan Modra [Tue, 20 Aug 2013 06:42:19 +0000 (06:42 +0000)]
* doublest.c (convert_floatformat_to_doublest): Use fmt->split_half
for IBM long double nan and inf.
(floatformat_is_negative, floatformat_classify,
floatformat_mantissa): Similarly.
(floatformat_ieee_single, floatformat_ieee_double,
floatformat_ieee_quad, floatformat_arm_ext,
floatformat_ia64_spill): Delete unused vars.
(_initialize_doublest): Delete unused function.
* gdbtypes.c (floatformats_ibm_long_double): Use new big- and
little-endian variants of floatformat_ibm_long_double.

11 years agomerge from gcc
DJ Delorie [Tue, 20 Aug 2013 06:02:53 +0000 (06:02 +0000)]
merge from gcc

11 years ago * binutils-all/nm.exp: Xfail test for nm --size-sort for
Hans-Peter Nilsson [Tue, 20 Aug 2013 01:29:44 +0000 (01:29 +0000)]
* binutils-all/nm.exp: Xfail test for nm --size-sort for
mmix-knuth-mmixware.

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

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 20:07:10 +0000 (20:07 +0000)]
gas/
* config/tc-mips.c (mips_check_isa_supports_ase, reg_lookup)
(mips_parse_argument_token, validate_micromips_insn, md_begin)
(check_regno, match_float_constant, check_completed_insn, append_insn)
(match_insn, match_mips16_insn, match_insns, macro_start)
(macro_build_ldst_constoffset, load_register, macro, mips_ip)
(mips16_ip, mips_set_option_string, md_parse_option)
(mips_after_parse_args, mips_after_parse_args, md_pcrel_from)
(md_apply_fix, s_align, s_option, s_mipsset, s_tls_rel_directive)
(s_gpword, s_gpdword, s_ehword, s_nan, tc_gen_reloc, md_convert_frag)
(s_mips_end, s_mips_ent, s_mips_frame, s_mips_mask, mips_parse_cpu):
Start error messages with a lower-case letter.  Do not end error
messages with a period.  Wrap long messages to 80 character-lines.
Use "cannot" instead of "can't" and "can not".

gas/testsuite/
* gas/mips/ase-errors-1.l, gas/mips/ase-errors-2.l,
gas/mips/ase-errors-3.l, gas/mips/ase-errors-4.l, gas/mips/at-2.l,
gas/mips/baddata1.l, gas/mips/elf-rel30.l, gas/mips/illegal.l,
gas/mips/jalr.l, gas/mips/ldstla-32-1.l, gas/mips/ldstla-32-mips3-1.l,
gas/mips/lui-1.l, gas/mips/macro-warn-1.l, gas/mips/macro-warn-1-n32.l,
gas/mips/macro-warn-2.l, gas/mips/macro-warn-3.l,
gas/mips/macro-warn-4.l, gas/mips/micromips-branch-delay.l,
gas/mips/micromips-branch-relax.l,
gas/mips/micromips-branch-relax-pic.l, gas/mips/micromips-ill.l,
gas/mips/micromips.l, gas/mips/micromips-size-0.l,
gas/mips/micromips-size-1.l, gas/mips/micromips-warn-branch-delay.l,
gas/mips/micromips-warn.l, gas/mips/mips16e-64.l,
gas/mips/mips16e-save-err.l, gas/mips/mips1-fp.l,
gas/mips/mips32r2-fp32.l, gas/mips/mips32r2-ill.l,
gas/mips/mips32-sf32.l, gas/mips/mips4-branch-likely.l,
gas/mips/mips4-fp.l, gas/mips/mips5-fp.l, gas/mips/mips64-mips3d.l,
gas/mips/mips-double-float-flag.l, gas/mips/mips-gp64-fp32.l,
gas/mips/mips-gp64-fp64.l, gas/mips/mips-hard-float-flag.l,
gas/mips/mips-macro-ill-nofp.l, gas/mips/mips-macro-ill-sfp.l,
gas/mips/nan-error-1.l, gas/mips/nan-error-2.l, gas/mips/noat-2.l,
gas/mips/noat-3.l, gas/mips/noat-4.l, gas/mips/noat-5.l,
gas/mips/noat-6.l, gas/mips/noat-7.l, gas/mips/octeon-ill.l,
gas/mips/r5900-error-vu0.l, gas/mips/r5900-nollsc.l,
gas/mips/relax-bc1any.l, gas/mips/relax-bposge.l, gas/mips/relax.l,
gas/mips/relax-swap1.l, gas/mips/relax-swap2.l, gas/mips/set-arch.l,
gas/mips/tls-ill.l, gas/mips/vr5400-ill.l: Adjust expected output.

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 19:58:47 +0000 (19:58 +0000)]
gas/
* config/tc-mips.c (imm_expr): Expand comment.
(set_at, macro, mips16_macro): Expect imm_expr to be O_constant
when populated.

11 years agoinclude/opcode/
Richard Sandiford [Mon, 19 Aug 2013 19:56:44 +0000 (19:56 +0000)]
include/opcode/
* mips.h: Remove references to "+I" and imm2_expr.

gas/
* config/tc-mips.c (imm2_expr): Delete.
(md_assemble, match_insn, imm2_expr.X_op, mips_ip): Update accordingly.

11 years agoinclude/opcode/
Richard Sandiford [Mon, 19 Aug 2013 19:54:41 +0000 (19:54 +0000)]
include/opcode/
* mips.h (M_DEXT, M_DINS): Delete.

opcodes/
* micromips-opc.c (micromips_opcodes): Replace "dext" and "dins"
macro entries with "dextm", "dextu", "dinsm" and "dinsu" aliases.
Use +H rather than +C for the real "dext".
* mips-opc.c (mips_builtin_opcodes): Likewise.

gas/
* config/tc-mips.c (report_bad_range, report_bad_field): Delete.
(macro): Remove M_DEXT and M_DINS handling.

gas/testsuite/
* gas/mips/ext-ill.l, gas/mips/mips64r2-ill.l: Expect DEXT and DINS
error messages to have the same form as the EXT and INS ones.
* gas/mips/micromips-insn32.d, gas/mips/micromips-noinsn32.d,
gas/mips/micromips-trap.d, gas/mips/micromips.d,
gas/mips/micromips@mips64r2.d, gas/mips/mips64r2.d: Expect
"dext" and "dins" instead of "dextm", "dextu", "dinsm" and "dinsu".

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 19:42:50 +0000 (19:42 +0000)]
gas/
* config/tc-mips.c (mips_arg_info): Replace allow_nonconst and
lax_max with lax_match.
(match_int_operand): Update accordingly.  Don't report an error
for !lax_match-only cases.
(match_insn): Replace more_alts with lax_match and use it to
initialize the mips_arg_info field.  Add a complete_p parameter.
Handle implicit VU0 suffixes here.
(match_invalid_for_isa, match_insns, match_mips16_insns): New
functions.
(mips_ip, mips16_ip): Use them.

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 19:30:37 +0000 (19:30 +0000)]
gas/
* config/tc-mips.c (match_expression):  Report uses of registers here.
Add a "must be an immediate expression" error.  Handle elided offsets
here rather than...
(match_int_operand): ...here.

gas/testsuite/
* gas/mips/octeon-ill.l: Adjust expected output.
* gas/mips/lui-1.l, gas/mips/lui-1.s: Add more cases.

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 19:26:11 +0000 (19:26 +0000)]
gas/
* config/tc-mips.c (mips_arg_info): Remove soft_match.
(match_out_of_range, match_not_constant): New functions.
(match_const_int): Remove fallback parameter and check for soft_match.
Use match_not_constant.
(match_mapped_int_operand, match_addiusp_operand)
(match_perf_reg_operand, match_save_restore_list_operand)
(match_mdmx_imm_reg_operand): Update accordingly.  Use
match_out_of_range and set_insn_error* instead of as_bad.
(match_int_operand): Likewise.  Use match_not_constant in the
!allows_nonconst case.
(match_float_constant): Report invalid float constants.
(match_insn, match_mips16_insn): Remove soft_match code.  Rely on
match_float_constant to check for invalid constants.  Fail the
match if match_const_int or match_float_constant return false.
(mips_ip): Update accordingly.
(mips16_ip): Likewise.  Undo null termination of instruction name
once lookup is complete.

gas/testsuite/
* gas/mips/ext-ill.l, gas/mips/lui-1.l, gas/mips/mips16e-64.l,
gas/mips/mips32r2-ill-fp64.l, gas/mips/mips32r2-ill-nofp.l,
gas/mips/mips32r2-ill.l, gas/mips/mips64r2-ill.l,
gas/mips/octeon-ill.l, gas/mips/r5900-error-vu0.l,
gas/mips/vr5400-ill.l: Adjust expected errors.
* gas/mips/micromips-size-0.l,
gas/mips/micromips-size-0.s: Likewise.  Add new tests.
* gas/mips/mips16e-save-err.s, gas/mips/mips16e-save-err.l: New test.
* gas/mips/mips.exp: Run it.

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 19:09:01 +0000 (19:09 +0000)]
gas/
* config/tc-mips.c (mips_insn_error_format): New enum.
(mips_insn_error): New struct.
(insn_error): Change to a mips_insn_error.
(clear_insn_error, set_insn_error_format, set_insn_error)
(set_insn_error_i, set_insn_error_ss, report_insn_error): New
functions.
(mips_parse_argument_token, md_assemble, match_insn)
(match_mips16_insn): Use them instead of manipulating insn_error
directly.
(mips_ip, mips16_ip): Likewise.  Simplify control flow.

gas/testsuite/
* gas/mips/micromips-ill.l: Expect "floating-point expression required"

11 years agogas/
Richard Sandiford [Mon, 19 Aug 2013 19:00:32 +0000 (19:00 +0000)]
gas/
* config/tc-mips.c (normalize_constant_expr): Move further up file.
(normalize_address_expr): Likewise.
(match_insn, match_mips16_insn): New functions, split out from...
(mips_ip, mips16_ip): ...here.

11 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.

11 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.

11 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.

11 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.

11 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.

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

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

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

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

11 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.

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

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

11 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.

11 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

11 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.

11 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.

11 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.

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

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

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.