This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Yao> +gdb_test "break main" Yao> +gdb_run_cmd Yao> +gdb_test "" "Breakpoint .*"
I'd prefer some refactoring of gdb_run_cmd or runto instead. gdb_test with an empty argument has always struck me as iffy.
Yao> +if ![gdb_target_supports_trace] { Yao> + unsupported "target does not support trace" Yao> + return -1;
No semicolon.
Yao> +# Restart GDB and read the trace data in tfile target. Yao> +gdb_exit Yao> +gdb_start Yao> +gdb_reinitialize_dir $srcdir/$subdir Yao> +gdb_file_cmd $binfile
clean_restart?
-- Yao (éå)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |