Permalink
Browse files

Merge --bw option from Bullwinkle. Add comment for read_command funciton

  • Loading branch information...
Rocky Bernstein
Rocky Bernstein committed Dec 14, 2012
1 parent 1295f88 commit d9e30284e193ac38b8c678bc50a4b60984c9d82e
Showing with 5 additions and 1 deletion.
  1. +1 −0 lib/Devel/Trepan/Interface/Server.pm
  2. +1 −0 lib/Devel/Trepan/Interface/User.pm
  3. +3 −1 lib/Devel/Trepan/Options.pm
@@ -156,6 +156,7 @@ sub msg_nocr($$)
$self->{inout}->write(PRINT . $msg);
}
+# read a debugger command
sub read_command($$)
{
my ($self, $prompt) = @_;
@@ -170,6 +170,7 @@ sub want_term_readline($)
defined($self->{opts}{readline}) && $self->{input}{term_readline};
}
+# read a debugger command
sub read_command($;$) {
my($self, $prompt) = @_;
$prompt = '(trepanpl) ' unless defined $prompt;
@@ -72,6 +72,7 @@ sub process_options($)
my $result = &GetOptionsFromArray($argv,
'basename' => \$opts->{basename},
'batch:s' => \$opts->{batchfile},
+ 'bw' => \$opts->{bw},
'cd:s' => \$opts->{initial_dir},
'client' => \$opts->{client},
'cmddir=s@' => \$opts->{cmddir},
@@ -203,7 +204,8 @@ trepan.pl - Perl "Trepanning" Debugger
--man full documentation
--basename Show basename only on source file listings.
(Needed in regression tests)
-
+ --bw Use Bullwinkle Processor (for front-ends) rather
+ that the command-line processor
-c| --command FILE Run or 'source' debugger command file FILE
--cmddir DIR Read DIR for additional debugger commands
--batch FILE Like --command, but quit after reading FILE.

0 comments on commit d9e3028

Please sign in to comment.