Age | Commit message (Collapse) | Author | Files | Lines |
|
* gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
|
|
* infcall.c (call_function_by_hand): Move BP_ADDR comment to
AT_ENTRY_POINT.
(call_function_by_hand) <ON_STACK>: Call write_memory with
gdbarch_breakpoint_from_pc, if possible.
(call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
here.
gdb/testsuite/
* gdb.base/valgrind-infcall.c: New file.
* gdb.base/valgrind-infcall.exp: New file.
|
|
* tracepoint.c: Add 'static' for some variables.
|
|
* go32-nat.c: Declare _initialize_go32_nat.
* ser-go32.c: Declare _initialize_ser_dos.
* top.c (do_chdir_cleanup): Add 'static'.
|
|
|
|
by quotes is a valid number, too.
* gdb.linespec/ls-errs.exp: Check some quote-enclosed
linespecs.
|
|
|
|
* gdb.dwarf2/pr13961.S: Ditto.
|
|
|
|
* arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not
attempt to 4-byte-align HW breakpoint addresses for Thumb.
gdbserver/ChangeLog:
* linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt
to 4-byte-align HW breakpoint addresses for Thumb.
|
|
Re-evaluate floating variables as part of variable invalidate to remove
references to type structures that might have been freed.
|
|
|
|
|
|
|
|
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.
|
|
* 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.
|
|
|
|
* amd64-windows-tdep.c: Include "frame.h".
(amd64_windows_skip_trampoline_code): New function.
(amd64_windows_init_abi): Add trampoline registration.
|
|
* 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.
|
|
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.
|
|
* server.c (process_point_options): Stop at 'X' when parsing.
|
|
* thread.c (switch_to_thread): Don't call registers_changed.
|
|
|
|
(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.
|
|
* 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.
|
|
* 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.
|
|
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
and decrement.
|
|
* copying.awk: Don't use immediate_quit. Use 'no_set_class', not
'no_class'.
|
|
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.
|
|
is also a valid number if the next character is a comma
or colon.
|
|
gdb/ChangeLog:
* NEWS: Document new --enable-libmcheck/--disable-libmcheck
configure options.
|
|
* machoread.c: Include gdb_bfd.h.
|
|
* dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for
offset.
|
|
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.
|
|
|
|
Fix testsuite regression after --use-deprecated-index-sections removal.
* lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
|
|
Fix compatibility with Tcl before 7.5.
* lib/future.exp (lreverse): New function if it does not exist.
|
|
* contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/.
|
|
* 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.
|
|
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.
|
|
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.
|
|
* 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.
|
|
* configure.tgt: Add v850*-*-rtems*.
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
* breakpoint.c (create_breakpoint): Store condition for pending
breakpoints.
|
|
(m68k_return_value): Handle complex types like structures.
(m68k_svr4_return_value): Likewise.
|