* p-exp.y (parse_number): Avoid shift overflow when ``long''.
authorAndrew Cagney <cagney@redhat.com>
Mon, 19 Mar 2001 19:05:21 +0000 (19:05 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 19 Mar 2001 19:05:21 +0000 (19:05 +0000)
commit7451d027679bb07d31ddb8d0359d62b0226ffc71
tree8aaa7effccb32413062c31142999c8f3fd23610a
parent177495c9073d6c70971c0a2dbf8f3933ead3015f
* p-exp.y (parse_number): Avoid shift overflow when ``long''.
Code copied from c-exp.y.
gdb/ChangeLog
gdb/p-exp.y