public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "techmeology.co.uk at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/16439] New: rbreak . gives "unmatched quote" on Firefox
Date: Sun, 12 Jan 2014 18:31:00 -0000	[thread overview]
Message-ID: <bug-16439-4717@http.sourceware.org/bugzilla/> (raw)

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.


             reply	other threads:[~2014-01-12 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12 18:31 techmeology.co.uk at gmail dot com [this message]
2014-07-24 20:35 ` [Bug breakpoints/16439] " harry at harrydole dot com
2024-01-08 17:31 ` ssbssa at sourceware dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-16439-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).