Typo fix in signal_pass initialization
authorYao Qi <yao@codesourcery.com>
Thu, 26 Jun 2014 06:25:22 +0000 (14:25 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 26 Jun 2014 08:00:17 +0000 (16:00 +0800)
commit4395285e33e6d67c8a82db744ebfd041034b005a
treeb7afdda0f313f7e48038a8259b17131102abe397
parentcbac4466d7e683855ff72897919791442d5ef756
Typo fix in signal_pass initialization

When I read the code, I happen to see this:

   signal_pass = (unsigned char *)
     xmalloc (sizeof (signal_program[0]) * numsigs);
                      ^^^^^^^^^^^^^^
It is a typo, and this patch is to fix it.

gdb:

2014-06-26  Yao Qi  <yao@codesourcery.com>

* infrun.c (_initialize_infrun): Replace "signal_program[0]"
with "signal_pass[0]" in the initialization of signal_pass.
gdb/ChangeLog
gdb/infrun.c