From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29350 invoked by alias); 18 Sep 2014 14:00:33 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 29326 invoked by uid 48); 18 Sep 2014 14:00:32 -0000 From: "hi-angel at yandex dot ru" To: gdb-prs@sourceware.org Subject: [Bug python/17409] New: Built-in python doesn't see an arguments to the function Date: Thu, 18 Sep 2014 14:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: hi-angel at yandex dot ru X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00703.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17409 Bug ID: 17409 Summary: Built-in python doesn't see an arguments to the function Product: gdb Version: 7.7 Status: NEW Severity: minor Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: hi-angel at yandex dot ru Python in a script don't see a transmitted arguments. Here's a test functio= n: define test p $arg0 python print(str(gdb.parse_and_eval("$arg0"))) end end It takes one string as an argument, and just prints it at first from the outside, and at second from within of a python block. But as the result ins= tead of a string you will see in second time =C2=ABvoid=C2=BB. A workaround for the present time is to assign $arg0 to something else. E.g= .=20 define test set $MyVar =3D $arg0 python print(str(gdb.parse_and_eval("$MyVar"))) end end --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-16715-listarch-gdb-prs=sources.redhat.com@sourceware.org Thu Sep 18 14:56:36 2014 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 10906 invoked by alias); 18 Sep 2014 14:56:36 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 10708 invoked by uid 48); 18 Sep 2014 14:56:33 -0000 From: "martin at minimum dot se" To: gdb-prs@sourceware.org Subject: [Bug gdb/17384] android arm gdb "Cannot access memory at address" when I "stepi" over "blx" Date: Thu, 18 Sep 2014 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin at minimum dot se X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00704.txt.bz2 Content-length: 2169 https://sourceware.org/bugzilla/show_bug.cgi?id=17384 --- Comment #17 from molsson --- The things that makes me believe that I do have symbols available is A) it says "Yes" in the "Syms" column of the libblink_web.cr.so line in "info sharedlibrary", also if I trace all executed commands during the build process I can see that RenderFullscreen.cpp is built with "-g" parameter. FWIW, the list of CFLAGS (I'm skipping a metric ton of -D and -I switches) is: -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -fno-tree-sra -fno-partial-inlining -fno-early-inlining -fno-tree-copy-prop -fno-tree-loop-optimize -fno-move-loop-invariants -fno-caller-saves -Wno-psabi -mthumb-interwork -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64 -Wa,--noexecstack --sysroot=..../third_party/android_tools/ndk/platforms/android-14/arch-arm -isystem..../third_party/android_tools/ndk/sources/cxx-stl/stlport/stlport -O0 -g -funwind-tables -fdiagnostics-color=always -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-c++0x-compat -Wno-abi -std=gnu++11 -Wno-narrowing -Wno-literal-suffix Notably, I'm also not passing -fomit-frame-pointer for this file at least (if I grep for "omit-frame-pointer" I see several hits in the chromium tree but I'm not sure which platforms or files etc use it). Also, I can put a breakpoint on certain other functions like for example base::debug::TaskAnnotator::RunTask() and there I can use "next" without problems so there seems to be something special with blink::RenderFullScreen::createPlaceholder() or possibly with one of the functions it calls. Maybe something with inlining, or maybe because it's static, not sure. I will try to put some breakpoints near the unwind selection tomorrow and get back with more info on that. -- You are receiving this mail because: You are on the CC list for the bug.