diff options
author | Jakub Jelinek <jakub@redhat.com> | 2023-03-04 11:24:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2023-03-04 11:24:04 +0100 |
commit | 4ee2f419fe42222dbb21dfb0622cc7c0e46a2261 (patch) | |
tree | 59c5e8c7d314fbc0d3f834fa158364e84921eccc /gcc/gdbhooks.py | |
parent | 97651be1b63ae79eeff12b2867454d186e4cb7e0 (diff) | |
download | gcc-4ee2f419fe42222dbb21dfb0622cc7c0e46a2261.zip gcc-4ee2f419fe42222dbb21dfb0622cc7c0e46a2261.tar.gz gcc-4ee2f419fe42222dbb21dfb0622cc7c0e46a2261.tar.bz2 |
Remove remaining traces of m_vecdata from comments [PR109006]
The following patch adjusts remaining references to the removed m_vecdata
array from vec.h in various comments.
2023-03-04 Jakub Jelinek <jakub@redhat.com>
PR middle-end/109006
* vec.cc (test_auto_alias): Adjust comment for removal of
m_vecdata.
* read-rtl-function.cc (function_reader::parse_block): Likewise.
* gdbhooks.py: Likewise.
Diffstat (limited to 'gcc/gdbhooks.py')
-rw-r--r-- | gcc/gdbhooks.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gdbhooks.py b/gcc/gdbhooks.py index e29bd45..32ddaf6 100644 --- a/gcc/gdbhooks.py +++ b/gcc/gdbhooks.py @@ -133,10 +133,10 @@ vector: attempting to do so instead gives you the vec itself (for vec[0]), or a (probably) invalid cast to vec<> for the memory after the vec (for vec[1] onwards). -Instead (for now) you must access m_vecdata: - (gdb) p bb->preds->m_vecdata[0] +Instead (for now) you must access the payload directly: + (gdb) p ((edge_def**)(bb->preds+1))[0] $20 = <edge 0x7ffff044d380 (3 -> 5)> - (gdb) p bb->preds->m_vecdata[1] + (gdb) p ((edge_def**)(bb->preds+1))[1] $21 = <edge 0x7ffff044d3b8 (4 -> 5)> """ import os.path |