deliverable/binutils-gdb.git
11 years ago * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
Kai Tietz [Sat, 28 Jul 2012 08:21:48 +0000 (08:21 +0000)] 
   * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
       (PRODUCTVERSION): Likewise.

       * binutils-all/windres/version_small.rc: New test.
       * binutils-all/windres/version_small.rsd: Likewise.

11 years agodaily update
Alan Modra [Sat, 28 Jul 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sat, 28 Jul 2012 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago2012-07-27 Sean Keys <skeys@ipdatasys.com>
Sean Keys [Fri, 27 Jul 2012 22:33:22 +0000 (22:33 +0000)] 
2012-07-27  Sean Keys  <skeys@ipdatasys.com>

gas/config/
* tc-xgate.c: Consolidated inc/dec/hi/low modifieres into
one function.
(xgate_parse_operand): Added %hi and %lo handling.
gas/testsuite/gas/xgate
* xgate.exp: Added hi/lo test.
* hilo.d: New test file
* hilo.s: Net test source file.

11 years agogdb/testsuite/
Jan Kratochvil [Fri, 27 Jul 2012 21:34:30 +0000 (21:34 +0000)] 
gdb/testsuite/
Fix testsuite regression after --use-deprecated-index-sections removal.
* gdb.base/annota1.exp (run until main breakpoint): Update the expect
string.
* gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.

11 years agogdb/
Jan Kratochvil [Fri, 27 Jul 2012 20:23:05 +0000 (20:23 +0000)] 
gdb/
* copying.awk: Print buffer-read-only and vi ro markers.
* copying.c: Rebuild.
* gdbarch.sh (copyright): Print buffer-read-only and vi ro markers.
* gdbarch.c, gdbarch.h: Rebuild.
* target-descriptions.c (maint_print_c_tdesc_cmd): Print
buffer-read-only and vi ro markers.
* features/arm-with-iwmmxt.c: Rebuild.
* features/arm-with-m-fpa-layout.c: Rebuild.
* features/arm-with-m-vfp-d16.c: Rebuild.
* features/arm-with-m.c: Rebuild.
* features/arm-with-neon.c: Rebuild.
* features/arm-with-vfpv2.c: Rebuild.
* features/arm-with-vfpv3.c: Rebuild.
* features/i386/amd64-avx-linux.c: Rebuild.
* features/i386/amd64-avx.c: Rebuild.
* features/i386/amd64-linux.c: Rebuild.
* features/i386/amd64.c: Rebuild.
* features/i386/i386-avx-linux.c: Rebuild.
* features/i386/i386-avx.c: Rebuild.
* features/i386/i386-linux.c: Rebuild.
* features/i386/i386-mmx-linux.c: Rebuild.
* features/i386/i386-mmx.c: Rebuild.
* features/i386/i386.c: Rebuild.
* features/i386/x32-avx-linux.c: Rebuild.
* features/i386/x32-avx.c: Rebuild.
* features/i386/x32-linux.c: Rebuild.
* features/i386/x32.c: Rebuild.
* features/mips-dsp-linux.c: Rebuild.
* features/mips-linux.c: Rebuild.
* features/mips64-dsp-linux.c: Rebuild.
* features/mips64-linux.c: Rebuild.
* features/rs6000/powerpc-32.c: Rebuild.
* features/rs6000/powerpc-32l.c: Rebuild.
* features/rs6000/powerpc-403.c: Rebuild.
* features/rs6000/powerpc-403gc.c: Rebuild.
* features/rs6000/powerpc-405.c: Rebuild.
* features/rs6000/powerpc-505.c: Rebuild.
* features/rs6000/powerpc-601.c: Rebuild.
* features/rs6000/powerpc-602.c: Rebuild.
* features/rs6000/powerpc-603.c: Rebuild.
* features/rs6000/powerpc-604.c: Rebuild.
* features/rs6000/powerpc-64.c: Rebuild.
* features/rs6000/powerpc-64l.c: Rebuild.
* features/rs6000/powerpc-7400.c: Rebuild.
* features/rs6000/powerpc-750.c: Rebuild.
* features/rs6000/powerpc-860.c: Rebuild.
* features/rs6000/powerpc-altivec32.c: Rebuild.
* features/rs6000/powerpc-altivec32l.c: Rebuild.
* features/rs6000/powerpc-altivec64.c: Rebuild.
* features/rs6000/powerpc-altivec64l.c: Rebuild.
* features/rs6000/powerpc-cell32l.c: Rebuild.
* features/rs6000/powerpc-cell64l.c: Rebuild.
* features/rs6000/powerpc-e500.c: Rebuild.
* features/rs6000/powerpc-e500l.c: Rebuild.
* features/rs6000/powerpc-isa205-32l.c: Rebuild.
* features/rs6000/powerpc-isa205-64l.c: Rebuild.
* features/rs6000/powerpc-isa205-altivec32l.c: Rebuild.
* features/rs6000/powerpc-isa205-altivec64l.c: Rebuild.
* features/rs6000/powerpc-isa205-vsx32l.c: Rebuild.
* features/rs6000/powerpc-isa205-vsx64l.c: Rebuild.
* features/rs6000/powerpc-vsx32.c: Rebuild.
* features/rs6000/powerpc-vsx32l.c: Rebuild.
* features/rs6000/powerpc-vsx64.c: Rebuild.
* features/rs6000/powerpc-vsx64l.c: Rebuild.
* features/rs6000/rs6000.c: Rebuild.
* features/s390-linux32.c: Rebuild.
* features/s390-linux32v1.c: Rebuild.
* features/s390-linux32v2.c: Rebuild.
* features/s390-linux64.c: Rebuild.
* features/s390-linux64v1.c: Rebuild.
* features/s390-linux64v2.c: Rebuild.
* features/s390x-linux64.c: Rebuild.
* features/s390x-linux64v1.c: Rebuild.
* features/s390x-linux64v2.c: Rebuild.
* features/tic6x-c62x-linux.c: Rebuild.
* features/tic6x-c62x.c: Rebuild.
* features/tic6x-c64x-linux.c: Rebuild.
* features/tic6x-c64x.c: Rebuild.
* features/tic6x-c64xp-linux.c: Rebuild.
* features/tic6x-c64xp.c: Rebuild.

11 years ago * c-exp.y (classify_name): Avoid assignment in condition.
Tom Tromey [Fri, 27 Jul 2012 19:22:17 +0000 (19:22 +0000)] 
* c-exp.y (classify_name): Avoid assignment in condition.

11 years ago2012-07-27 Roland Schwingel <roland.schwingel@onevision.com>
Pedro Alves [Fri, 27 Jul 2012 17:24:31 +0000 (17:24 +0000)] 
2012-07-27  Roland Schwingel  <roland.schwingel@onevision.com>

* amd64-windows-tdep.c: Include "frame.h".
(amd64_windows_skip_trampoline_code): New function.
(amd64_windows_init_abi): Add trampoline registration.

11 years agobfd: update to AC_INIT
Mike Frysinger [Fri, 27 Jul 2012 16:30:57 +0000 (16:30 +0000)] 
bfd: update to AC_INIT

Move the package name/version from AM_INIT_AUTOMAKE to AC_INIT per recent
autotools guidelines.  We use recent versions of both, so it shouldn't be
a problem.

This sets PACKAGE_xxx variables correctly, and makes the output of:
./configure --version
actually useful:
bfd configure 2.22.52

Changing the other dirs to use AC_INIT would require a bit of m4 trickery
that I don't feel like getting into, and they all use BFD_VERSION anyways,
so there isn't much point.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agogdb/
Yao Qi [Fri, 27 Jul 2012 16:21:44 +0000 (16:21 +0000)] 
gdb/
* tracepoint.c (cur_traceframe_number): Remove.
(set_tfile_traceframe): Remove.
(tfile_trace_find, tfile_fetch_registers): Update callers.
(tfile_xfer_partial, tfile_get_trace_state_variable_value): Likewise.
(tfile_open, tfile_trace_find): Likewise.

11 years ago2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 27 Jul 2012 15:56:43 +0000 (15:56 +0000)] 
2012-07-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default
arch depending on the target size.

11 years ago2012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
Sean Keys [Fri, 27 Jul 2012 14:13:23 +0000 (14:13 +0000)] 
2012-07-27  James Murray  <jsm@jsm-net.demon.co.uk>

* config/tc-m68hc11.c: Replace binary with hex for cygwin.

11 years agobfd/
Tristan Gingold [Fri, 27 Jul 2012 08:24:36 +0000 (08:24 +0000)] 
bfd/
2012-07-27  Tristan Gingold  <gingold@adacore.com>

* configure.in: Bump version to 2.23.51
* configure: Regenerate.

11 years agobinutils/
Tristan Gingold [Fri, 27 Jul 2012 08:13:03 +0000 (08:13 +0000)] 
binutils/
2012-07-27  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add marker for 2.23.

gas/
2012-07-27  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add marker for 2.23.

ld/
2012-07-27  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add marker for 2.23.

11 years agogdb/gdbserver/
Yao Qi [Fri, 27 Jul 2012 08:09:14 +0000 (08:09 +0000)] 
gdb/gdbserver/
PR remote/14161.

* server.h: Declare gdb_agent_about_to_close.
* target.c (kill_inferior): Include "agent.h".
New.  Send command 'kill'.
* target.h (kill_inferior): Removed macro.
* tracepoint.c (gdb_agent_about_to_close): New.
(gdb_agent_helper_thread): Handle command 'close'.
Wait endlessly until the inferior stops.
Install gdb_agent_remove_socket to atexit hook.
(agent_socket_name): New static variable.
(gdb_agent_socket_init): Replace local variable 'name' with
'agent_socket_name'.
(gdb_agent_remove_socket): New.

gdb/doc/
* gdb.texinfo (IPA Protocol Commands): Document new command
'close'.

gdb/testsuite/
KFAIL for PR remote/14161.
* gdb.trace/strace.exp (strace_remove_socket): kfail for native.
Cleanup socket files.
(strace_info_marker): Detach inferior.

11 years ago2012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
Segher Boessenkool [Fri, 27 Jul 2012 03:32:21 +0000 (03:32 +0000)] 
2012-07-26  Segher Boessenkool  <segher@kernel.crashing.org>

gas/
        * listing.c (struct list_message): New.
        (struct list_info_struct): Delete "message".  Add "messages"
        and "last_message".
        (listing_message): Adjust.
        (listing_newline): Adjust.
        (print_lines): Adjust.

11 years agogdb/gdbserver/
Yao Qi [Fri, 27 Jul 2012 00:56:32 +0000 (00:56 +0000)] 
gdb/gdbserver/
* server.c (process_point_options): Stop at 'X' when parsing.

11 years agogdb/
Yao Qi [Fri, 27 Jul 2012 00:52:36 +0000 (00:52 +0000)] 
gdb/
* thread.c (switch_to_thread): Don't call registers_changed.

11 years agomerge from gcc
DJ Delorie [Fri, 27 Jul 2012 00:02:21 +0000 (00:02 +0000)] 
merge from gcc

11 years agodaily update
Alan Modra [Fri, 27 Jul 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Fri, 27 Jul 2012 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * Makefile.in (SFILES): Remove objc-exp.y.
Tom Tromey [Thu, 26 Jul 2012 20:11:10 +0000 (20:11 +0000)] 
* Makefile.in (SFILES): Remove objc-exp.y.
     (YYFILES): Remove objc-exp.c.
     (YYOBJ): Remove objc-exp.o.
     (local-maintainer-clean): Don't mention objc-exp.c.
     * c-exp.y: Include objc-lang.h.
     (%union) <class>: New field.
     (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens.
     (exp): Clone subscript production for OBJC_LBRAC.  Add various
     Objective C productions.
     (msglist, msgarglist, msgarg): New productions.
     (array_mod, func_mod, operator): Clone productions for
     OBJC_LBRAC.
     (parse_string_or_char): Handle '@' strings.
     (lex_one_token): Return OBJC_LBRAC.  Recognize @selector.
     (classify_name): Check la_name_of_this.  Recognize ObjC class
     names.
     * objc-exp.y: Remove.
     * objc-lang.c (objc_language_defn): Use c_parse, c_error.
     * objc-lang.h (objc_parse, objc_error): Don't declare.
gdb/testsuite
     * gdb.objc/print.exp (test_float_accepted): Remove kfails.

11 years agogdb/
Jan Kratochvil [Thu, 26 Jul 2012 19:09:35 +0000 (19:09 +0000)] 
gdb/
* python/py-inferior.c (infpy_threads): Call update_thread_list ().

gdb/testsuite/
* gdb.python/py-inferior.c (thread): New function.
(check_threads): New function.
(test_threads): New function.
* gdb.python/py-inferior.exp: Added test.
Replaced runto with continue to breakpoint.

11 years ago * lib/ada.exp (standard_ada_testfile): New proc.
Tom Tromey [Thu, 26 Jul 2012 18:43:02 +0000 (18:43 +0000)] 
* lib/ada.exp (standard_ada_testfile): New proc.
* gdb.ada/aliased_array.exp: Use standard_ada_testfile.
* gdb.ada/array_bounds.exp: Use standard_ada_testfile.
* gdb.ada/array_return.exp: Use standard_ada_testfile.
* gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
* gdb.ada/arrayidx.exp: Use standard_ada_testfile.
* gdb.ada/arrayparam.exp: Use standard_ada_testfile.
* gdb.ada/arrayptr.exp: Use standard_ada_testfile.
* gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
* gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
* gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
* gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
* gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
* gdb.ada/call_pn.exp: Use standard_ada_testfile.
* gdb.ada/catch_ex.exp: Use standard_ada_testfile.
* gdb.ada/char_enum.exp: Use standard_ada_testfile.
* gdb.ada/char_param.exp: Use standard_ada_testfile.
* gdb.ada/complete.exp: Use standard_ada_testfile.
* gdb.ada/cond_lang.exp: Use standard_ada_testfile,
standard_output_file.
* gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
* gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
* gdb.ada/exec_changed.exp: Use standard_ada_testfile,
standard_output_file.
* gdb.ada/exprs.exp: Use standard_ada_testfile.
* gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
* gdb.ada/fixed_points.exp: Use standard_ada_testfile.
* gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
* gdb.ada/frame_args.exp: Use standard_ada_testfile.
* gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
* gdb.ada/fun_addr.exp: Use standard_ada_testfile.
* gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
* gdb.ada/funcall_param.exp: Use standard_ada_testfile.
* gdb.ada/homonym.exp: Use standard_ada_testfile.
* gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
* gdb.ada/int_deref.exp: Use standard_ada_testfile.
* gdb.ada/interface.exp: Use standard_ada_testfile.
* gdb.ada/lang_switch.exp: Use standard_ada_testfile,
standard_output_file
* gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
* gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
* gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
* gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
* gdb.ada/nested.exp: Use standard_ada_testfile.
* gdb.ada/null_array.exp: Use standard_ada_testfile.
* gdb.ada/null_record.exp: Use standard_ada_testfile.
* gdb.ada/operator_bp.exp: Use standard_ada_testfile.
* gdb.ada/packed_array.exp: Use standard_ada_testfile.
* gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
* gdb.ada/print_chars.exp: Use standard_ada_testfile.
* gdb.ada/print_pc.exp: Use standard_ada_testfile.
* gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
* gdb.ada/ptype_field.exp: Use standard_ada_testfile.
* gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
* gdb.ada/rec_return.exp: Use standard_ada_testfile.
* gdb.ada/ref_param.exp: Use standard_ada_testfile.
* gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
* gdb.ada/same_enum.exp: Use standard_ada_testfile.
* gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
* gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
* gdb.ada/start.exp: Use standard_ada_testfile.
* gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
* gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
* gdb.ada/taft_type.exp: Use standard_ada_testfile.
* gdb.ada/tagged.exp: Use standard_ada_testfile.
* gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
* gdb.ada/task_bp.exp: Use standard_ada_testfile.
* gdb.ada/tasks.exp: Use standard_ada_testfile.
* gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
* gdb.ada/type_coercion.exp: Use standard_ada_testfile.
* gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
* gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
* gdb.ada/watch_arg.exp: Use standard_ada_testfile.
* gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
* gdb.ada/widewide.exp: Use standard_ada_testfile.

11 years agogdb/
Jan Kratochvil [Thu, 26 Jul 2012 18:21:50 +0000 (18:21 +0000)] 
gdb/
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
and decrement.

11 years ago2012-07-26 Teresa Johnson <tejohnson@google.com>
Cary Coutant [Thu, 26 Jul 2012 18:20:39 +0000 (18:20 +0000)] 
2012-07-26  Teresa Johnson  <tejohnson@google.com>

* bfd/dwarf2.c (find_line): Initialize discriminator_ptr
if it is non-NULL.

11 years ago * copying.c: Rebuild.
Tom Tromey [Thu, 26 Jul 2012 17:21:06 +0000 (17:21 +0000)] 
* copying.c: Rebuild.
* copying.awk: Don't use immediate_quit.  Use 'no_set_class', not
'no_class'.

11 years ago * symmisc.c (print_symbol_bcache_statistics): Use QUIT, not
Tom Tromey [Thu, 26 Jul 2012 16:57:22 +0000 (16:57 +0000)] 
* symmisc.c (print_symbol_bcache_statistics): Use QUIT, not
immediate_quit.
(print_objfile_statistics): Likewise.
(maintenance_print_symbols): Likewise.
(maintenance_print_msymbols): Likewise.
(maintenance_print_objfiles): Likewise.
* psymtab.c (print_partial_symbols): Call QUIT.
(maintenance_print_psymbols): Likewise.  Don't modify
immediate_quit.
* copying.c (show_copying_command): Don't modify immediate_quit.
(show_warranty_command): Likewise.
* cli/cli-cmds.c (show_version): Don't modify immediate_quit.

11 years ago * linespec.c (linespec_lexer_lex_number): The input
Keith Seitz [Thu, 26 Jul 2012 16:22:48 +0000 (16:22 +0000)] 
* linespec.c (linespec_lexer_lex_number): The input
is also a valid number if the next character is a comma
or colon.

11 years ago[NEWS] Document --enable-libmcheck/--disable-libmcheck
Joel Brobecker [Thu, 26 Jul 2012 15:28:21 +0000 (15:28 +0000)] 
[NEWS] Document --enable-libmcheck/--disable-libmcheck

gdb/ChangeLog:

        * NEWS: Document new --enable-libmcheck/--disable-libmcheck
        configure options.

11 years agoFix attributation of PR 13135 patch.
Nick Clifton [Thu, 26 Jul 2012 14:05:38 +0000 (14:05 +0000)] 
Fix attributation of PR 13135 patch.

11 years ago PR ld/14397
Nick Clifton [Thu, 26 Jul 2012 13:43:24 +0000 (13:43 +0000)] 
PR ld/14397
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error
if a required section is missing from the linker script.

* ld-arm/arm-elf.exp: Add tests of linking without .rel.plt.
* ld-arm/arm-no-rel-plt.out: Linker script without .rel.plt section.
* ld-arm/arm-no-rel-plt.out: Expected output.

11 years ago2012-07-26 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 26 Jul 2012 09:00:42 +0000 (09:00 +0000)] 
2012-07-26  Tristan Gingold  <gingold@adacore.com>

* machoread.c: Include gdb_bfd.h.

11 years ago2012-07-26 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 26 Jul 2012 08:47:14 +0000 (08:47 +0000)] 
2012-07-26  Tristan Gingold  <gingold@adacore.com>

* dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for
offset.

11 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter
Siddhesh Poyarekar [Thu, 26 Jul 2012 02:03:16 +0000 (02:03 +0000)] 
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter
SIZE to size_t.
(dwarf2_evaluate_loc_desc): Likewise.
(dwarf2_loc_desc_needs_frame): Likewise.
(locexpr_describe_location_1): Likewise.
* dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as
size_t.
(struct dwarf2_loclist_baton): Likewise.
* dwarf2read.c (struct dwarf_block): Likewise.
(dump_die_shallow): Use pulongest to print dwarf_block.size.
(decode_locdesc): Expand SIZE and I to size_t.

11 years ago*** empty log message ***
gdbadmin [Thu, 26 Jul 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Thu, 26 Jul 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years agogdb/testsuite/
Jan Kratochvil [Wed, 25 Jul 2012 20:19:56 +0000 (20:19 +0000)] 
gdb/testsuite/
Fix testsuite regression after --use-deprecated-index-sections removal.
* lib/mi-support.exp (gdbindex_warning_re): Update the expect string.

11 years agogdb/testsuite/
Jan Kratochvil [Wed, 25 Jul 2012 20:17:59 +0000 (20:17 +0000)] 
gdb/testsuite/
Fix compatibility with Tcl before 7.5.
* lib/future.exp (lreverse): New function if it does not exist.

11 years agogdb/
Jan Kratochvil [Wed, 25 Jul 2012 20:14:20 +0000 (20:14 +0000)] 
gdb/
* contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/.

11 years ago2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Wed, 25 Jul 2012 18:34:17 +0000 (18:34 +0000)] 
2012-07-25  Marc Khouzam  <marc.khouzam@ericsson.com>

* gdb.mi/mi-pending.c: New method to set a second pending
breakpoint.
* gdb.mi/mi-pending.exp: Set a pending breakpoint with a
condition.

11 years agoconvert_doublest_to_floatformat: handle off-range values.
Joel Brobecker [Wed, 25 Jul 2012 18:27:21 +0000 (18:27 +0000)] 
convert_doublest_to_floatformat: handle off-range values.

On x86_64-linux targetting AVR, we see the following issues:

    (gdb) print 1.6e+308
    $1 = 0.89002949
    (gdb) print 1.6e-308
    $3 = 2.87630892

What happens is that GDB is trying to convert the value it read
(as a host "long double") into a target "double" value. The routine
performing the conversion does not realize that 1.6e+308 is just
too large to fit in a double. Similarly, it does not notice that
1.6e-308 is too small to be represented.

This patch enhances convert_doublest_to_floatformat to both handle
floats that are too small and too large.

gdb/ChangeLog:

        * doublest.c (convert_doublest_to_floatformat): If the exponent
        is too small, treat the value as zero.  If the exponent is too
        large, treat the value as infinity.

11 years agoAdd support for --enable-lmcheck configure option.
Joel Brobecker [Wed, 25 Jul 2012 18:27:11 +0000 (18:27 +0000)] 
Add support for --enable-lmcheck configure option.

This allows the user to enable this option at configure time if building
a release, or to disable it if building a snapshot.

gdb/ChangeLog:

        * configure.ac: Add --enable-lmcheck configure option.
        * configure: Regenerate.

11 years ago * NEWS: Mention maint info bfds.
Tom Tromey [Wed, 25 Jul 2012 15:47:09 +0000 (15:47 +0000)] 
* NEWS: Mention maint info bfds.
     * gdb_bfd.c (all_bfds): New global.
     (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds.
     (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd):
     New functions.
gdb/doc
     * gdb.texinfo (Maintenance Commands): Document maint info bfds.

11 years ago2012-07-25 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsepius [Wed, 25 Jul 2012 15:34:08 +0000 (15:34 +0000)] 
2012-07-25  Ralf Corsépius  <ralf.corsepius@rtems.org>

* configure.tgt: Add v850*-*-rtems*.

11 years ago * macrotab.c (macro_bcache_str): Remove cast.
Tom Tromey [Wed, 25 Jul 2012 15:32:09 +0000 (15:32 +0000)] 
* macrotab.c (macro_bcache_str): Remove cast.

11 years ago2012-07-25 James Lemke <jwlemke@codesourcery.com>
James Lemke [Wed, 25 Jul 2012 13:08:55 +0000 (13:08 +0000)] 
2012-07-25  James Lemke  <jwlemke@codesourcery.com>

* ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns.

11 years ago2012-07-25 Hui Zhu <hui_zhu@mentor.com>
Hui Zhu [Wed, 25 Jul 2012 12:26:27 +0000 (12:26 +0000)] 
2012-07-25  Hui Zhu  <hui_zhu@mentor.com>

* linespec.c (linespec_lexer_lex_number): Update comments,
change the return and add check to make sure the input is
the decimal numbers.
(linespec_lexer_lex_one): If linespec_lexer_lex_number return
false, call linespec_lexer_lex_string.

11 years agoMASM accepts ESP/RSP being specified second in a memory address
Jan Beulich [Wed, 25 Jul 2012 11:34:49 +0000 (11:34 +0000)] 
MASM accepts ESP/RSP being specified second in a memory address
operand, by silently making it the base register despite not being
specified first.

Consequently, we also permit an xmm/ymm index to be specified first
(possibly alone), nevertheless putting it in as index register.

2012-07-24  Jan Beulich <jbeulich@suse.com>

* config/tc-i386-intel.c (i386_intel_simplify_register): Handle
xmm/ymm index register being specified first as well as esp/rsp
base register being specified last in a memory operand.

11 years agoUsing the dedicated manifest constant is more descriptive.
Jan Beulich [Wed, 25 Jul 2012 11:33:23 +0000 (11:33 +0000)] 
Using the dedicated manifest constant is more descriptive.

2012-07-24  Jan Beulich <jbeulich@suse.com>

* config/tc-i386-intel.c (i386_intel_simplify_register):
Replace literal 4 by corresponding ESP_REG_NUM.

11 years agodaily update
Alan Modra [Wed, 25 Jul 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Wed, 25 Jul 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago2012-07-24 Jan Waclawek <konfera@efton.sk>
Eric B. Weddington [Tue, 24 Jul 2012 22:23:21 +0000 (22:23 +0000)] 
2012-07-24  Jan Waclawek <konfera@efton.sk>

PR ld/14058
* emultempl/avrelf.em (avr_elf_after_allocation): Call
elf32_avr_size_stubs with is_prealloc_run as TRUE.

11 years ago2012-07-24 Jan Waclawek <konfera@efton.sk>
Eric B. Weddington [Tue, 24 Jul 2012 21:44:44 +0000 (21:44 +0000)] 
2012-07-24  Jan Waclawek <konfera@efton.sk>
PR 13899
* elf32-avr.c (elf32_avr_relax_delete_bytes): Call
_bfd_elf_link_read_relocs with keep_memory as TRUE.

11 years ago2012-07-24 Teresa Johnson <tejohnson@google.com>
Cary Coutant [Tue, 24 Jul 2012 21:06:58 +0000 (21:06 +0000)] 
2012-07-24  Teresa Johnson  <tejohnson@google.com>

bfd/
* bfd.c (bfd_find_nearest_line_discriminator): New macro.
* coff-rs6000.c: Init _bfd_find_nearest_line_discriminator.
* coff64-rs6000.c: Likewise.
* dwarf2.c (struct line_info): Add discriminator field.
(add_line_info): Fill in new discriminator field.
(decode_line_info): Record discriminator information instead
        of ignoring it.
(lookup_address_in_line_info_table): Return discriminator field if
        requested.
(comp_unit_find_nearest_line): Add discriminator argument.
(find_line): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise.
(_bfd_dwarf2_find_line): Likewise.
* elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New.
        (_bfd_elf_find_line_discriminator): Likewise.
        (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined.
* elf.c (_bfd_elf_find_nearest_line): Change to a wrapper
        that invokes _bfd_elf_find_nearest_line_discriminator with correct
        arguments.
(_bfd_elf_find_nearest_line_discriminator): New.
(_bfd_elf_find_line): Change to a wrapper
        that invokes _bfd_elf_find_line_discriminator with correct
        arguments.
(_bfd_elf_find_line_discriminator): New.
* coffgen.c (coff_find_nearest_line_with_names): Handle
        new discriminator argument.
* elf32-arm.c (elf32_arm_find_nearest_line): Likewise.
* elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise.
* elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise.
* mach-o.c (bfd_mach_o_find_nearest_line): Likewise.
* libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator
        argument.
        (_bfd_dwarf2_find_line): Likewise.
        (_bfd_generic_find_nearest_line_discriminator): New.
* libbfd.c (_bfd_generic_find_nearest_line_discriminator): New.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize
        _bfd_find_nearest_line_discriminator with
        _bfd_generic_find_nearest_line_discriminator.
        (bfd_target): Add _bfd_find_nearest_line_discriminator.

binutils/
* addr2line.c (find_address_in_section): Invoke
        bfd_find_nearest_line_discriminator to get the discriminator.
(find_offset_in_section): Likewise.
(translate_addresses): Print discriminator if it is non-zero.
* objdump.c (show_line): Invoke
        bfd_find_nearest_line_discriminator to get the discriminator,
        and keep track of prev_discriminator. Print discriminator
        if it is non-zero.
(disassemble_data): Initialize prev_discriminator.
(dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
        to get the discriminator, and keep track of last_discriminator.
        Print discriminator if it is non-zero.

11 years ago * symfile.c (symbol_file_add): Don't open BFD twice.
Tom Tromey [Tue, 24 Jul 2012 20:15:56 +0000 (20:15 +0000)] 
* symfile.c (symbol_file_add): Don't open BFD twice.

11 years agoUpdated last commit's date.
Marc Khouzam [Tue, 24 Jul 2012 17:39:18 +0000 (17:39 +0000)] 
Updated last commit's date.

11 years ago2012-07-20 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Tue, 24 Jul 2012 17:37:56 +0000 (17:37 +0000)] 
2012-07-20  Marc Khouzam  <marc.khouzam@ericsson.com>

* breakpoint.c (create_breakpoint): Store condition for pending
breakpoints.

11 years ago2012-07-24 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 24 Jul 2012 16:38:35 +0000 (16:38 +0000)] 
2012-07-24  Sandra Loosemore  <sandra@codesourcery.com>
    Jie Zhang  <jzhang918@gmail.com>

gas/
* config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
if offset is negative.

gas/testsuite/
* gas/arm/adr.d: New test.
* gas/arm/adr.s: New test.

11 years ago* m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types.
Andreas Schwab [Tue, 24 Jul 2012 16:37:24 +0000 (16:37 +0000)] 
* m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types.
(m68k_return_value): Handle complex types like structures.
(m68k_svr4_return_value): Likewise.

11 years agoAdded maintainer entry for M68HC1x port.
Sean Keys [Tue, 24 Jul 2012 15:14:07 +0000 (15:14 +0000)] 
Added maintainer entry for M68HC1x port.

11 years ago * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code
Nick Clifton [Tue, 24 Jul 2012 13:23:41 +0000 (13:23 +0000)] 
    * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code
that enables the linker to offset addresses, when linking against
        symbols from the XGATE processor and vice versa.

11 years agogdb/
Jan Kratochvil [Tue, 24 Jul 2012 13:14:37 +0000 (13:14 +0000)] 
gdb/
* gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust
parameters to bfd_get_section_name.

11 years ago PR binutils/13135
Nick Clifton [Tue, 24 Jul 2012 12:56:47 +0000 (12:56 +0000)] 
PR binutils/13135
* arm-dis.c: Add necessary casts for printing integer values.
Use %s when printing string values.
* hppa-dis.c: Likewise.
* m68k-dis.c: Likewise.
* microblaze-dis.c: Likewise.
* mips-dis.c: Likewise.
* ppc-dis.c: Likewise.
* sparc-dis.c: Likewise.

* dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.

11 years agogdb/
Yao Qi [Tue, 24 Jul 2012 12:49:22 +0000 (12:49 +0000)] 
gdb/
* cli/cli-setshow.c (do_setshow_command): Handle case 'var_uinteger'
and 'var_zuninteger' together.  Handle case 'var_integer' and
'var_zinteger' together.

11 years agodaily update
Alan Modra [Tue, 24 Jul 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Tue, 24 Jul 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * linespec.c (convert_linespec_to_sal): Don't add
Keith Seitz [Mon, 23 Jul 2012 20:40:07 +0000 (20:40 +0000)] 
* linespec.c (convert_linespec_to_sal): Don't add
any symbols to the result vector if symbol_to_sal
returns zero.

11 years ago * linespec.c (decode_objc): Record the function name
Keith Seitz [Mon, 23 Jul 2012 20:31:34 +0000 (20:31 +0000)] 
* linespec.c (decode_objc): Record the function name
in the linespec.

11 years ago * rs6000-nat.c (add_vmap): Rewrite archive loop. Fix reference
Tom Tromey [Mon, 23 Jul 2012 18:54:26 +0000 (18:54 +0000)] 
* rs6000-nat.c (add_vmap): Rewrite archive loop.  Fix reference
counting.
* exec.c (exec_close_1): Unconditionally release vmap's BFD.
(map_vmap): Acquire a reference to the BFD.

11 years ago * p-valprint.c (pascal_object_print_value): Replace potentially
Siddhesh Poyarekar [Mon, 23 Jul 2012 18:08:29 +0000 (18:08 +0000)] 
* p-valprint.c (pascal_object_print_value): Replace potentially
unsafe alloca with xmalloc/xfree.
* valops.c (search_struct_method): Likewise.

11 years ago * solib-svr4.c (enable_break): Update.
Tom Tromey [Mon, 23 Jul 2012 15:25:12 +0000 (15:25 +0000)] 
* solib-svr4.c (enable_break): Update.
* bfd-target.h (target_bfd_reopen): Update documentation.

11 years ago * symfile.c (separate_debug_file_exists): Update.
Tom Tromey [Mon, 23 Jul 2012 15:03:59 +0000 (15:03 +0000)] 
* symfile.c (separate_debug_file_exists): Update.
(gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.
(reread_symbols): Update.
* elfread.c (build_id_verify): Update.
* symfile.h (gdb_bfd_open_maybe_remote): Rename from
bfd_open_maybe_remote.

11 years ago * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.
Tom Tromey [Mon, 23 Jul 2012 15:01:50 +0000 (15:01 +0000)] 
* gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.

11 years ago * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile'
Tom Tromey [Mon, 23 Jul 2012 14:58:44 +0000 (14:58 +0000)] 
* coffread.c (coff_symfile_read): Make a cleanup for 'debugfile'
and 'abfd'.
* elfread.c (elf_symfile_read): Make a cleanup for 'debugfile'
and 'abfd'.
* jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'.
* machoread.c (macho_add_oso_symfile): Make a cleanup for
'abfd'.
(macho_symfile_read): Make a cleanup for 'dsym_bfd'.
* objfiles.c (allocate_objfile): Acquire a new reference.
* rs6000-nat.c (add_vmap): Don't acquire a BFD reference.
* solib.c (solib_read_symbols): Don't acquire a BFD reference.
* spu-linux-nat.c (spu_symbol_file_add_from_memory): Make
a cleanup for 'nbfd'.
* symfile-mem.c (symbol_file_add_from_memory): Make a cleanup
for 'nbfd'.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Don't
make a cleanup for 'abfd'.
(symbol_file_add): Make a BFD cleanup.

11 years ago * cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr.
Tom Tromey [Mon, 23 Jul 2012 14:57:58 +0000 (14:57 +0000)] 
* cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr.
(bfd_openw_with_cleanup): Use gdb_bfd_openw.
* corelow.c (core_open): Use gdb_bfd_fopen.
* dsrec.c (load_srec): Use gdb_bfd_openr.
* exec.c (exec_file_attach): Use gdb_bfd_fopen.
* gcore.c (gcore_memory_sections): Use gdb_bfd_openw.
* gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
(gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
(gdb_bfd_fdopenr): New functions.
* gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
(gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
(gdb_bfd_fdopenr): Declare.
* jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec.
* m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr.
* machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr,
gdb_bfd_openr_next_archived_file.
(macho_check_dsym): Use gdb_bfd_openr.
(macho_add_oso_symfile): Don't call gdb_bfd_stash_filename.
* procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr.
* remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr.
* remote-mips.c (mips_load_srec, pmon_load_fast): Use
gdb_bfd_openr.
* remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec.
* rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr,
gdb_bfd_openr_next_archived_file.
* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
Use gdb_bfd_openr.
* solib-pa64.c (pa64_solib_create_inferior_hook): Use
gdb_bfd_openr.
* solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec.
* solib.c (solib_bfd_fopen): Use gdb_bfd_fopen.
* spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec.
* symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr.
(symfile_bfd_open): Use gdb_bfd_fopen.
(generic_load): Use gdb_bfd_openr.
* windows-nat.c (windows_make_so): Use gdb_bfd_openr.

11 years ago * bfd-target.c (target_bfd_reopen): Update.
Tom Tromey [Mon, 23 Jul 2012 14:56:11 +0000 (14:56 +0000)] 
* bfd-target.c (target_bfd_reopen): Update.
* cli/cli-dump.c (bfd_openr_with_cleanup)
(bfd_openw_with_cleanup): Update.
* corelow.c (core_open): Update.
* dsrec.c (load_srec): Update.
* exec.c (exec_file_attach): Update.
* gcore.c (create_gcore_bfd): Update.
* gdb_bfd.c (gdb_bfd_ref): Return void.
(gdb_bfd_open): Update.
* gdb_bfd.h (gdb_bfd_ref): Return void.
Update comments.
* jit.c (jit_bfd_try_read_symtab): Update.
* m32r-rom.c (m32r_load, m32r_upload_command): Update.
* machoread.c (macho_symfile_read_all_oso): Update.
(macho_check_dsym): Update.
* procfs.c (insert_dbx_link_bpt_in_file): Update.
* remote-m32r-sdi.c (m32r_load): Update.
* remote-mips.c (mips_load_srec, pmon_load_fast): Update.
* rs6000-nat.c (add_vmap): Update.
* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
Update.
* solib-pa64.c (pa64_solib_create_inferior_hook): Update.
* solib-spu.c (spu_bfd_open): Update.
* solib.c (solib_bfd_fopen, solib_read_symbols): Update.
* spu-linux-nat.c (spu_bfd_open): Update.
* symfile.c (bfd_open_maybe_remote, symfile_bfd_open)
(generic_load): Update.
* windows-nat.c (windows_make_so): Update.

11 years ago * cisco-core.c (cisco_core_file_failing_command): Make static.
Nick Clifton [Mon, 23 Jul 2012 13:19:28 +0000 (13:19 +0000)] 
* cisco-core.c (cisco_core_file_failing_command): Make static.
(cisco_core_file_failing_signal): Make static.

11 years agodaily update
Alan Modra [Mon, 23 Jul 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Mon, 23 Jul 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
Siddhesh Poyarekar [Sun, 22 Jul 2012 16:52:41 +0000 (16:52 +0000)] 
* sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.

11 years agodaily update
Alan Modra [Sun, 22 Jul 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sun, 22 Jul 2012 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Sat, 21 Jul 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sat, 21 Jul 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago2012-07-20 Jeff Kenton <jkenton@tilera.com>
Pedro Alves [Fri, 20 Jul 2012 17:54:06 +0000 (17:54 +0000)] 
2012-07-20  Jeff Kenton  <jkenton@tilera.com>

* tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix
SIGTRAMP_FRAME unwinding.

11 years ago * NEWS: Document new options "set/show use-deprecated-index-sections",
Doug Evans [Fri, 20 Jul 2012 17:38:05 +0000 (17:38 +0000)] 
* NEWS: Document new options "set/show use-deprecated-index-sections",
and delete reference to --use-deprecated-index-sections.
* symfile.h (use_deprecated_index_sections): Delete.
* dwarf2read.c (use_deprecated_index_sections): Make static.
(read_index_from_section): Update wording of how to load
deprecated index sections.
(_initialize_dwarf2_read): New options
"set/show use-deprecated-index-sections".
* main.c (captured_main): Delete --use-deprecated-index-sections.

doc/
* gdb.texinfo (Mode Options): Delete --use-deprecated-index-sections.
(Index Files): Document how to control the use of deprecated index
sections.
(Index Section Format): Replace --use-deprecated-index-sections with
"set use-deprecated-index-sections on".

11 years ago2012-07-20 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 20 Jul 2012 17:27:29 +0000 (17:27 +0000)] 
2012-07-20  Pedro Alves  <palves@redhat.com>

PR threads/11692
PR gdb/12203

gdb/
* infrun.c (handle_inferior_event) <new thread>: Don't special
case minus_one_ptid.
<TARGET_WAITKIND_SPURIOUS>: Ditto.
* linux-thread-db.c (thread_get_info_callback): Don't return early
if the thread is zombie.
(thread_from_lwp): Change return type to void.  Rewrite stale
comment.
(attach_thread): Don't return early if the thread is zombie,
instead set its "dying" flag.
(thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore.
(find_new_threads_callback): Don't return early if the thread is
zombie.

gdb/testsuite/
* gdb.threads/create-fail.c: New file.
* gdb.threads/create-fail.exp: New file.

11 years ago2012-07-20 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 20 Jul 2012 16:57:32 +0000 (16:57 +0000)] 
2012-07-20  Pedro Alves  <palves@redhat.com>

* linux-nat.c (linux_nat_wait): Dump the passed in target options.
* target.c (target_wait): Likewise.
(str_comma_list_concat_elem, do_option, target_options_to_string):
New functions.
* target.h (target_options_to_string): Declare.

11 years ago2012-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey [Fri, 20 Jul 2012 16:51:51 +0000 (16:51 +0000)] 
2012-07-20  Jan Kratochvil <jan.kratochvil@redhat.com>
    Tom Tromey  <tromey@redhat.com>

* dwarf2read.c (dwarf_decode_macros)
<DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt,
DW_MACRO_GNU_transparent_include_alt>: New cases.
(dwarf_decode_macro_bytes) <DW_MACRO_GNU_define_indirect,
DW_MACRO_GNU_undef_indirect>: Examine 'section_is_dwz'.

11 years ago * dwarf2read.c (try_open_dwo_file): Don't call
Tom Tromey [Fri, 20 Jul 2012 16:12:44 +0000 (16:12 +0000)] 
* dwarf2read.c (try_open_dwo_file): Don't call
gdb_bfd_stash_filename.

11 years ago2012-07-20 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 20 Jul 2012 11:48:18 +0000 (11:48 +0000)] 
2012-07-20  Pedro Alves  <palves@redhat.com>

* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
(i386_record_lea_modrm, i386_record_push, i386_record_floats)
(i386_process_record): Tweak description comments.

11 years ago2012-07-20 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 20 Jul 2012 11:22:32 +0000 (11:22 +0000)] 
2012-07-20  Pedro Alves  <palves@redhat.com>

* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
(i386_process_record): Use record_read_memory.
* record.c (record_read_memory): New function.
(record_arch_list_add_mem, record_exec_insn): Use
record_read_memory.
* record.h (record_read_memory): Declare.

11 years agogdb/
Yao Qi [Fri, 20 Jul 2012 08:59:32 +0000 (08:59 +0000)] 
gdb/
* cli/cli-setshow.c (do_setshow_command): Don't check pointer is
NULL for xfree.

11 years ago*** empty log message ***
gdbadmin [Fri, 20 Jul 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Fri, 20 Jul 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago2012-07-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Jul 2012 20:00:59 +0000 (20:00 +0000)] 
2012-07-19  Pedro Alves  <palves@redhat.com>

* config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
* config/vx.exp (gdb_start): Likewise.
* gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
* gdb.base/setvar.exp (test_set): Likewise.
* gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
* gdb.reverse/sigall-precsave.exp: Likewise.
* gdb.reverse/sigall-reverse.exp: Likewise.

11 years ago2012-07-19 Michael Eager <eager@eagercon.com>
Michael Eager [Thu, 19 Jul 2012 18:27:17 +0000 (18:27 +0000)] 
2012-07-19  Michael Eager  <eager@eagercon.com>

* i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate
to hw_execute.
* linux-x86-low.c (x86_insert_point, x86_remove_point):
Call i386_low_insert_watchpoint, i386_low_remove_watchpoint to add/del
hardware breakpoint.

11 years ago2012-07-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Jul 2012 17:53:00 +0000 (17:53 +0000)] 
2012-07-19  Pedro Alves  <palves@redhat.com>

* record.c (record_resume): Ask the target beneath to report all
signals.

11 years ago2012-07-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Jul 2012 17:05:49 +0000 (17:05 +0000)] 
2012-07-19  Pedro Alves  <palves@redhat.com>

* gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
handler before recording.

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