public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/16439] New: rbreak . gives "unmatched quote" on Firefox
@ 2014-01-12 18:31 techmeology.co.uk at gmail dot com
  2014-07-24 20:35 ` [Bug breakpoints/16439] " harry at harrydole dot com
  2024-01-08 17:31 ` ssbssa at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: techmeology.co.uk at gmail dot com @ 2014-01-12 18:31 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16439

            Bug ID: 16439
           Summary: rbreak . gives "unmatched quote" on Firefox
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: techmeology.co.uk at gmail dot com
              Host: Linux Atlantis 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20
                    19:39:00 CET 2013 x86_64 GNU/Linux

Using rbreak . on a debug build of Firefox results in an "unmached quote"
error. This error does not occur on other (admittedly simpler) examples I've
tried. Unlike other similar bugs I've found when searching, this does not
appear to be an error parsing the command itself, but rather a consequence of
the symbols in the executable GDB is run on.

test.gdb:
set pagination off 
rbreak .


Command run: gdb -x ~/gdb/test.gdb --args
asan-firefox-build/mozilla-release/objdir-ff-asan/dist/bin/firefox

Last few lines of gdb output:
Breakpoint 286 at 0x41f38e: file
/mnt/sdb1/home/sandbox/asan-firefox-build/mozilla-release/mfbt/decimal/Decimal.cpp,
line 450.
WebCore::Decimal WebCore::Decimal::operator/(WebCore::Decimal const&) const;
Breakpoint 287 at 0x41f716: file
/mnt/sdb1/home/sandbox/asan-firefox-build/mozilla-release/mfbt/decimal/Decimal.cpp,
line 320.
WebCore::Decimal &WebCore::Decimal::operator/=(WebCore::Decimal const&);
/home/sandbox/gdb/test.gdb:2: Error in sourced command file:
unmatched quote
(gdb) 


Steps to reproduce:
* Compile an ASAN build of Firefox using LLVM
* Run it under gdb as above

You should see the unmached quote error.
I would expect breakpoints to be created without error.

GDB version: GNU gdb (GDB) 7.6.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-08 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-12 18:31 [Bug breakpoints/16439] New: rbreak . gives "unmatched quote" on Firefox techmeology.co.uk at gmail dot com
2014-07-24 20:35 ` [Bug breakpoints/16439] " harry at harrydole dot com
2024-01-08 17:31 ` ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).