diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-30 12:51:17 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-05-06 12:03:34 -0600 |
commit | fb9e63701335b7383622e3da5825dd4aa45b788e (patch) | |
tree | 36ff53ce375624aa8ffd377cec3a07f9e9694cbc /gdb | |
parent | 4d1ae558932c17415bbe5b0dbec0a7539a19b6d5 (diff) | |
download | gdb-fb9e63701335b7383622e3da5825dd4aa45b788e.zip gdb-fb9e63701335b7383622e3da5825dd4aa45b788e.tar.gz gdb-fb9e63701335b7383622e3da5825dd4aa45b788e.tar.bz2 |
Remove unnecessary line from catch_exec_command_1
catch_exec_command_1 clears the new catchpoint's "exec_pathname"
field, but this is already done by virtue of calling "new".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/break-catch-exec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/break-catch-exec.c b/gdb/break-catch-exec.c index 00a0263..fbdc1c2 100644 --- a/gdb/break-catch-exec.c +++ b/gdb/break-catch-exec.c @@ -205,7 +205,6 @@ catch_exec_command_1 (const char *arg, int from_tty, std::unique_ptr<exec_catchpoint> c (new exec_catchpoint ()); init_catchpoint (c.get (), gdbarch, temp, cond_string); - c->exec_pathname.reset (); install_breakpoint (0, std::move (c), 1); } |