Thanks, why did I end up with (anonymous namespace)::AtomicString vs.
WTF::AtomicString? Do you end up with the same thing?
> out/Default$ gdb -ex 'b blink::DocumentThreadableLoader::redirectReceived' -ex r --args chrome --single-process
127.0.0.1:8000/fetch/window/thorough/redirect.html
> GNU gdb (Debian 7.11.1-2) 7.11.1
> [...]
> Thread 27 "Chrome_InProcRe" hit Breakpoint 1, (anonymous namespace)::DocumentThreadableLoader::redirectReceived (this=0x1d9893cdc8c8, resource=0x1d9893cdcde0,
> request=..., redirectResponse=...)
> at ../../third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp:
> 492
> 492 DCHECK(m_client);
> (gdb) whatis request.m_httpHeaderFields.m_headers.m_impl.m_table[0].key
> type = (anonymous namespace)::AtomicString
> (gdb)
On 15/11/16 09:12 AM, Nico Weber wrote:
> Since nobody else is replying: I'm surprised that you ended up with
> (anonymous namespace)::AtomicString, given that AtomicString is in
> WTF::. Maybe that's the problem?
>
> On Sat, Nov 12, 2016 at 12:48 PM, Jack Bates <
ofw...@nottheoilrig.com
> <mailto:
ofw...@nottheoilrig.com>> wrote:
>
> I loaded third_party/WebKit/Tools/gdb/webkit.py, but I'm still seeing:
>
> > (gdb) p header.key
> > $1 = {m_string = {m_impl = {m_ptr = 0x180cd5cc94a0}}}
> > (gdb)
>
> I suspect it's because the type is (anonymous namespace)::AtomicString?
>
> > (gdb) whatis header.key
> > type = (anonymous namespace)::AtomicString
> > (gdb)
>
> There's a WTF::AtomicString pretty printer in webkit.py, but I guess
> it doesn't match (anonymous namespace)::AtomicString?
> What am I doing wrong?
>
> --
> --
> Chromium Developers mailing list:
chromi...@chromium.org
> <mailto:
chromi...@chromium.org>
> <
http://groups.google.com/a/chromium.org/group/chromium-dev>
>
>