OSDN Git Service

Change array element access to something similar to way C works.
authordsl <dsl>
Tue, 9 Sep 2003 16:51:54 +0000 (16:51 +0000)
committerdsl <dsl>
Tue, 9 Sep 2003 16:51:54 +0000 (16:51 +0000)
commit9a4b14d801135d7e9177a21b5c05288be1ed119a
tree0b85111524752e0bf437ffd138fc8588358ba842
parent7b97e981857b2665154bba375facbb7e57285ad8
Change array element access to something similar to way C works.
The old method would drag in the entire array, then look for the
single element.  This method just gets the right element out instead.
Saves memory, and saves a crash for array with (*) as one of the
dimensions when it would previously have allocated (unsigned int) -1 bytes.
gdb/eval.c