diff options
author | Pavel Labath <labath@google.com> | 2015-05-15 10:14:51 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-05-15 10:14:51 +0000 |
commit | 48fca3b982ba5a49bd382e61b011f4fc11327ebf (patch) | |
tree | 3a9cb7de12170b68da92fc6a072648c896c9cb8a /llvm/lib/IR/Module.cpp | |
parent | 69fc298a940515cc91307874ad795b3175154a24 (diff) | |
download | llvm-48fca3b982ba5a49bd382e61b011f4fc11327ebf.zip llvm-48fca3b982ba5a49bd382e61b011f4fc11327ebf.tar.gz llvm-48fca3b982ba5a49bd382e61b011f4fc11327ebf.tar.bz2 |
Fix StopInfoWatchpoint handling after r237411
r237411 exposed the following issue: ProcessGDBRemote used the description field in the
stop-reply to set the description of the StopInfo. In the case of watchpoints, the packet
description contains the raw address that got hit, which is not exactly the information we want
to display to the user as the stop info. Therefore, I have changed the code to use the packet
description only if the StopInfo does not already have a description. This makes the behavior
equivalent to the pre-r237411 behavior as then the SetDecription call got ignored for
watchpoints.
llvm-svn: 237436
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions