From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Stan Shebs <stanshebs@earthlink.net>
Cc: Yao Qi <yao@codesourcery.com>, gdb-patches@sourceware.org
Subject: Build regression on 64-bit hosts [Re: [PATCH] Dynamic printf for a target agent]
Date: Mon, 02 Jul 2012 16:41:00 -0000 [thread overview]
Message-ID: <20120702164042.GA24425@host2.jankratochvil.net> (raw)
In-Reply-To: <4FE8841A.7090100@earthlink.net>
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 921)/* Return true if there are no commands to run at this location,
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 922) which likely means we want to report back to GDB. */
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 923)int
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 924)gdb_no_commands_at_breakpoint (CORE_ADDR where)
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 925){
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 926) struct breakpoint *bp = find_gdb_breakpoint_at (where);
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 927)
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 928) if (bp == NULL)
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 929) return 0;
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 930)
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 931) if (debug_threads)
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 932) fprintf (stderr, "at 0x%s, bp command_list is 0x%x\n",
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 933) paddress (where), (int) bp->command_list);
mem-break.c:933:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 934) return (bp->command_list == NULL);
2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 935)}
Thanks,
Jan
prev parent reply other threads:[~2012-07-02 16:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 1:10 [PATCH] Dynamic printf for a target agent Stan Shebs
2012-05-31 6:02 ` Yao Qi
2012-06-25 15:31 ` Stan Shebs
2012-06-27 20:45 ` Tom Tromey
2012-07-02 18:19 ` Stan Shebs
2012-07-18 19:18 ` 7.4->7.5 Regression gdb.base/pending.exp with gdbserver [Re: [PATCH] Dynamic printf for a target agent] Jan Kratochvil
2012-07-20 2:28 ` Yao Qi
2012-07-25 19:50 ` Jan Kratochvil
2012-07-27 2:32 ` [committed]: " Yao Qi
2012-07-27 16:36 ` Pedro Alves
2012-07-28 10:24 ` Yao Qi
2012-07-28 11:41 ` Yao Qi
2012-07-02 16:41 ` Jan Kratochvil [this message]
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=20120702164042.GA24425@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=stanshebs@earthlink.net \
--cc=yao@codesourcery.com \
/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