Attn: Remove --defaultbreakpoint add --defaultti
In order to support breakpoint handling and TI handling on systems that
did not support the get TI info interface the --defaultbreakpoint
configuration option was added. This switch is no longer needed and
breakpoint handling is now the default action for available but invalid
TI info data. A new option --defaultti was added to force handling of
TI's when TI info is available but not valid.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I4bdf90dcbbf20b3428a1cef6f1a71ec32b3ca238
diff --git a/cli.cpp b/cli.cpp
index d68e041..8ab8023 100644
--- a/cli.cpp
+++ b/cli.cpp
@@ -91,12 +91,12 @@
}
// This option determines whether we service a TI or breakpoint in the
- // case where we cannot retrieve the TI info succesfully. The default
- // setting of this is "clear" meaning handle TI by default. This
- // flag is not affected by the set/clear all command line option.
- if (true == getCliOption(i_begin, i_end, "--defaultbreakpoint"))
+ // case where TI info is available but not valid. The default setting
+ // of this is "clear" meaning we will handle breakpoint by default.
+ // This flag is not affected by the set/clear all command line option.
+ if (true == getCliOption(i_begin, i_end, "--defaultti"))
{
- o_config->setFlag(attn::dfltBreakpoint);
+ o_config->setFlag(attn::dfltTi);
}
}
}