<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -330,7 +330,7 @@ handle_signal(Event *event) {
 		remove_proc(event-&gt;proc);
 		return;
 	}
-	if (event-&gt;proc-&gt;state != STATE_IGNORED) {
+	if (event-&gt;proc-&gt;state != STATE_IGNORED &amp;&amp; !options.no_signals) {
 		output_line(event-&gt;proc, &quot;--- %s (%s) ---&quot;,
 				shortsignal(event-&gt;proc, event-&gt;e_un.signum),
 				strsignal(event-&gt;e_un.signum));</diff>
      <filename>handle_event.c</filename>
    </modified>
    <modified>
      <diff>@@ -101,6 +101,7 @@ usage(void) {
 		&quot;  -V, --version       output version information and exit.\n&quot;
 		&quot;  -g, --no-plt        disable breakpoints on PLT entries.\n&quot;
 		&quot;  -x NAME             treat the global NAME like a library subroutine.\n&quot;
+		&quot;  -b, --no-signals    don't print signals.\n&quot;
 #ifdef PLT_REINITALISATION_BP
 		&quot;  -X NAME             same as -x; and PLT's will be initialized by here.\n&quot;
 #endif
@@ -182,6 +183,7 @@ process_options(int argc, char **argv) {
 	progname = argv[0];
 	options.output = stderr;
 	options.no_plt = 0;
+	options.no_signals = 0;
 
 	guess_cols();
 
@@ -202,9 +204,10 @@ process_options(int argc, char **argv) {
 			{&quot;output&quot;, 1, 0, 'o'},
 			{&quot;version&quot;, 0, 0, 'V'},
 			{&quot;no-plt&quot;, 0, 0, 'g'},
+			{&quot;no-signals&quot;, 0, 0, 'b'},
 			{0, 0, 0, 0}
 		};
-		c = getopt_long(argc, argv, &quot;+cfhiLrStTVg&quot;
+		c = getopt_long(argc, argv, &quot;+cfhiLrStTVgb&quot;
 # ifdef USE_DEMANGLE
 				&quot;C&quot;
 # endif
@@ -358,6 +361,9 @@ process_options(int argc, char **argv) {
 		case 'g':
 			options.no_plt = 1;
 			break;
+		case 'b':
+			options.no_signals = 1;
+			break;
 		case 'X':
 #ifdef PLT_REINITALISATION_BP
 			PLTs_initialized_by_here = optarg;</diff>
      <filename>options.c</filename>
    </modified>
    <modified>
      <diff>@@ -2,19 +2,20 @@
 #include &lt;sys/types.h&gt;
 
 struct options_t {
-	int align;    /* -a: default alignment column for results */
-	char * user;  /* -u: username to run command as */
-	int syscalls; /* -S: display system calls */
-	int libcalls; /* -L: display library calls */
-	int demangle; /* -C: demangle low-level names into user-level names */
-	int indent;   /* -n: indent trace output according to program flow */
-	FILE *output; /* output to a specific file */
-	int summary;  /* count time, calls, and report a summary on program exit */
-	int debug;    /* debug */
-	int arraylen; /* default maximum # of array elements printed */
-	int strlen;   /* default maximum # of bytes printed in strings */
-	int follow;   /* trace child processes */
-	int no_plt;   /* set bps on PLT entries */
+	int align;      /* -a: default alignment column for results */
+	char * user;    /* -u: username to run command as */
+	int syscalls;   /* -S: display system calls */
+	int libcalls;   /* -L: display library calls */
+	int demangle;   /* -C: demangle low-level names into user-level names */
+	int indent;     /* -n: indent trace output according to program flow */
+	FILE *output;   /* output to a specific file */
+	int summary;    /* count time, calls, and report a summary on program exit */
+	int debug;      /* debug */
+	int arraylen;   /* default maximum # of array elements printed */
+	int strlen;     /* default maximum # of bytes printed in strings */
+	int follow;     /* trace child processes */
+	int no_plt;     /* set bps on PLT entries */
+	int no_signals; /* don't print signals */
 };
 extern struct options_t options;
 </diff>
      <filename>options.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3538c3aa46734e8118dce582a33c0b7a63e5b26b</id>
    </parent>
  </parents>
  <author>
    <name>Joe Damato</name>
    <email>ice799@gmail.com</email>
  </author>
  <url>http://github.com/ice799/ltrace/commit/cf5c93f17960289498badbee38e2c723c29c8d61</url>
  <id>cf5c93f17960289498badbee38e2c723c29c8d61</id>
  <committed-date>2009-11-06T19:47:47-08:00</committed-date>
  <authored-date>2009-11-06T19:45:10-08:00</authored-date>
  <message>add -b, --no-signals to silence signal print outs</message>
  <tree>b4c184e63705bbb95a212c60276a885d80cff6df</tree>
  <committer>
    <name>Joe Damato</name>
    <email>ice799@gmail.com</email>
  </committer>
</commit>
