Yao Qi
77a9102503
gdb/doc/
...
* gdb.texinfo (Remote Configuration): Add kindex for 'set
remote hardware-watchpoint-limit' and 'set
remote hardware-breakpoint-limit'.
2012-08-06 14:28:45 +00:00
Yao Qi
d9f08f52f3
gdb/doc/
...
Fix PR14371.
* gdb.texinfo (GDB/MI Async Records): Fix the doc for
'=breakpoint-deleted'.
2012-08-06 14:21:10 +00:00
gdbadmin
8b2b1a6f66
*** empty log message ***
2012-08-06 00:00:03 +00:00
gdbadmin
1e5901e69d
*** empty log message ***
2012-08-05 00:00:33 +00:00
gdbadmin
3984548c4c
*** empty log message ***
2012-08-04 00:00:02 +00:00
Tom Tromey
5a1cf4d6a8
* dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
...
return.
2012-08-03 20:52:47 +00:00
Edjunior Barbosa Machado
0eae2cf456
2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
...
* gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
symbols. Abort if vgdb remote connection is closed.
2012-08-03 16:03:07 +00:00
gdbadmin
7cf3077daf
*** empty log message ***
2012-08-03 00:00:32 +00:00
Doug Evans
09e0881dfd
* gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
2012-08-02 22:27:47 +00:00
Sergio Durigan Junior
b40f514fed
2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
...
* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
s390x, PowerPC 64 and m68k-linux.
2012-08-02 20:37:14 +00:00
Ulrich Weigand
11315ae03c
* gdb.base/annota1.exp: Accept no frames-invalid notification
...
when starting up the program.
* gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
show a symbolic value as well.
* gdb.server/server-exec-info.exp: Skip test when skipping
gdbserver test and/or when skipping shared library tests.
* gdb.threads/linux-dp.exp: Unset "seen" when done with it to
avoid name conflicts with other tests.
2012-08-02 15:59:59 +00:00
Ulrich Weigand
0547eeed14
* gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
...
Fix wrong output on big-endian systems.
* gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4-byte pointer types on 64-bit s390x.
2012-08-02 15:57:49 +00:00
Ulrich Weigand
bdddb4dec8
* gdb.base/watchpoint.c (func2): Initialize local_a. Add
...
marker comment at the beginning (after intialization).
* gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
breakpoint on marker comment instead of function begin.
(test_wide_location_1): Do not expect HW watchpoints on 32-bit
PowerPC.
(test_wide_location_2): Do not expect HW watchpoints on 32-bit
or 64-bit PowerPC.
(do_tests): Consistently set can-use-hw-watchpoints to 0 if
gdb,no_hardware_watchpoints flag is set.
(initialize): Remove now redundant can-use-hw-watchpoints change.
2012-08-02 15:55:45 +00:00
Ulrich Weigand
7c3270aec1
ChangeLog:
...
* inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back
to attempting lseek/write.
(inf_child_fileio_pread): Likewise for pread.
gdbserver/ChangeLog:
* hostio.c (handle_pread): If pread fails, fall back to attempting
lseek/read.
(handle_pwrite): Likewise for pwrite.
2012-08-02 15:52:27 +00:00
Yao Qi
ccce17b060
gdb/
...
* dwarf2loc.c (entry_values_debug): Add 'unsigned'.
(_initialize_dwarf2loc): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* dwarf2loc.h: Update the declaration of 'entry_values_debug'.
* dwarf2read.c (dwarf2_die_debug): Add 'unsigned'.
(_initialize_dwarf2_read): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* darwin-nat.c (dwarwin_debug_flag): Add 'unsigned'.
(_initialize_darwin_inferior): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* frame.c (frame_debug): Add 'unsigned'.
(_intialize_frame): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* frame.h: Update the declaration of 'frame_debug'.
* gdbtypes.c (overload_debug): Add 'unsigned'.
(_initialize_gdbtypes): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* inferior.h: Update declaration of 'debug_infrun'.
* infrun.c (debug_infrun): Add 'unsigned'.
(_initialize_infrun): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* jit.c (jit_debug): Add 'unsigned'.
(_initialize_jit): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* linux-nat.c (debug_linux_nat): Add 'unsigned'.
(_initialize_linux_nat): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* linux-thread-db.c (libthread_db_debug): Add 'unsigned'.
(_initialize_thread_db): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* machoread.c (mach_o_debug_level): Add 'unsigned'.
(_initialize_machoread): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* mi/mi-cmd-var.c: Update the declaration of 'varobjdebug'.
* microblaze-tdep.c (microblaze_debug_flag): Add 'unsigned'.
(_initialize_microblaze_tdep): Call add_setshow_zuinteger_cmd
intead of add_setshow_zinteger_cmd.
* mips-tdep.c (mips_debug): Add 'unsigned'.
(_initialize_mips_tdep): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* monitor.c (monitor_debug): Add 'unsigned'.
(_initialize_remote_monitors): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* observer.c (observer_debug): Add 'unsigned'.
(_initialize_observer): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* parse.c (expressiondebug): Add 'unsigned'.
(_initialize_parse): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* record.c (record_debug): Add 'unsigned'.
(_initialize_record): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* record.h: Update the declaration of 'record_debug'.
* stap-probe.c (stap_expression_debug): Add 'unsigned'.
(_initialize_stap_probe): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* serial.c (global_serial_debug_p): Add 'unsigned'.
(_initialize_serial): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* solib-dsbt.c (solib_dsbt_debug): Add 'unsigned'.
(_initialize_dsbt_solib): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* solib-frv.c (solib_frv_debug): Add 'unsigned'.
(_initialize_frv_solib): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* target.c (targetdebug): Add 'unsigned'.
(initialize_targets): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* valops.c (overload_debug): Add 'unsigned'.
* varobj.c (varobjdebug): Add 'unsigned'.
(_initialize_varobj): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* xtensa-tdep.c (xtensa_debug_level): Add 'unsigned'.
(_initialize_xtensa_tdep): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* arch-utils.h: Remove the declaration of 'gdbarch_debug'.
* gdbarch.sh (gdbarch_debug): Add 'unsigned'.
(extern void _initialize_gdbarch): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* gdbarch.c, gdbarch.h: Re-generated.
2012-08-02 09:36:40 +00:00
Yao Qi
95b07c9692
gdb/
...
* nto-tdep.c: Don't include cli/cli-decode.h and
cli/cli-cmds.h.
(_initialize_nto_tdep): Remove.
* nto-tdep.h (struct nto_target_ops) <internal_debugging>:
Remove field.
Remove macro nto_internal_debugging.
gdb/doc/
* gdb.texinfo (Native): Remove node Neutrino.
2012-08-02 09:27:15 +00:00
Yao Qi
5d206025da
gdb/testsuite:
...
* boards/local-remote-host.exp: New.
2012-08-02 08:46:32 +00:00
gdbadmin
9259fbaee6
*** empty log message ***
2012-08-02 00:00:32 +00:00
Richard Henderson
57295b0bb3
* configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
...
(mep-*-*) [gdb_target_obs]: Likewise.
2012-08-01 19:34:29 +00:00
Ulrich Weigand
4f6650997a
* gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
...
* gdb.base/ctxobj.exp: Call gdb_load_shlibs.
* gdb.base/print-file-var.exp: Likewise.
* gdb.server/solib-list.exp: Skip on remote targets.
2012-08-01 13:07:51 +00:00
Ulrich Weigand
b62e2b271b
gdbserver/ChangeLog:
...
* linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish
between unsupported TYPE and unimplementable ADDR/LEN combination.
(arm_insert_point): Act on new return value.
testsuite/ChangeLog:
* gdb.base/watchpoint.exp (test_wide_location_1): Expect software
watchpoints on ARM. When expecting software watchpoints, tolerate
(remote) targets that report unsupported hardware watchpoint only
at continue time.
(test_wide_location_2): Likewise.
2012-08-01 13:02:41 +00:00
Jan Kratochvil
a967a8512a
gdb/testsuite/
...
* gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
valgrind versions.
2012-08-01 09:02:50 +00:00
gdbadmin
3a3617baaa
*** empty log message ***
2012-08-01 00:00:32 +00:00
Andreas Schwab
f782ad9ba5
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
...
linux_get_siginfo_type.
2012-07-31 19:46:51 +00:00
Pedro Alves
78a99e9119
2012-07-31 Pedro Alves <palves@redhat.com>
...
* server.c (process_point_options): Only skip tokens if we find
one that is unrecognized. Don't treat 'X' specially while
skipping unrecognized tokens.
2012-07-31 19:16:46 +00:00
Jan Kratochvil
75d9f9ff36
gdb/testsuite/
...
* gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2012-07-31 07:35:18 +00:00
Jan Kratochvil
a14dd77ea7
gdb/
...
* 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.
2012-07-31 07:33:16 +00:00
Yao Qi
1467929f3f
gdb/
...
* tracepoint.c: Add 'static' for some variables.
2012-07-31 07:12:28 +00:00
Yao Qi
70976b6551
gdb/
...
* go32-nat.c: Declare _initialize_go32_nat.
* ser-go32.c: Declare _initialize_ser_dos.
* top.c (do_chdir_cleanup): Add 'static'.
2012-07-31 06:16:09 +00:00
gdbadmin
87088e6762
*** empty log message ***
2012-07-31 00:00:03 +00:00
Keith Seitz
eff9c3e636
* linespec.c (linespec_lex_number): A number followed
...
by quotes is a valid number, too.
* gdb.linespec/ls-errs.exp: Check some quote-enclosed
linespecs.
2012-07-30 17:45:37 +00:00
Tom Tromey
728400d769
* remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit.
2012-07-30 17:16:10 +00:00
Doug Evans
85220e0181
* gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
...
* gdb.dwarf2/pr13961.S: Ditto.
2012-07-30 16:56:04 +00:00
Doug Evans
7f9b20344e
* gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2012-07-30 16:33:18 +00:00
Ulrich Weigand
fcf303aba3
ChangeLog:
...
* 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.
2012-07-30 15:05:43 +00:00
Andrew Burgess
4e969b4f01
http://sourceware.org/ml/gdb-patches/2012-07/msg00551.html
...
Re-evaluate floating variables as part of variable invalidate to remove
references to type structures that might have been freed.
2012-07-30 12:10:23 +00:00
gdbadmin
97e548a9fe
*** empty log message ***
2012-07-30 00:00:03 +00:00
gdbadmin
7038524624
*** empty log message ***
2012-07-29 00:00:32 +00:00
gdbadmin
310846bf6e
*** empty log message ***
2012-07-28 00:00:02 +00:00
Jan Kratochvil
e7de8362c1
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.
2012-07-27 21:34:30 +00:00
Jan Kratochvil
c4bfde41c4
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.
2012-07-27 20:23:05 +00:00
Tom Tromey
826f00411d
* c-exp.y (classify_name): Avoid assignment in condition.
2012-07-27 19:22:17 +00:00
Pedro Alves
84552b164d
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.
2012-07-27 17:24:31 +00:00
Yao Qi
a8a64aa848
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.
2012-07-27 16:21:44 +00:00
Yao Qi
7255706c3e
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.
2012-07-27 08:09:14 +00:00
Yao Qi
5a3f286f45
gdb/gdbserver/
...
* server.c (process_point_options): Stop at 'X' when parsing.
2012-07-27 00:56:32 +00:00
Yao Qi
d99067cba7
gdb/
...
* thread.c (switch_to_thread): Don't call registers_changed.
2012-07-27 00:52:36 +00:00
gdbadmin
812b597eb3
*** empty log message ***
2012-07-27 00:00:02 +00:00
Tom Tromey
f2e8016f41
* 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.
2012-07-26 20:11:10 +00:00
Jan Kratochvil
f66713d24a
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.
2012-07-26 19:09:35 +00:00