This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build regression on 64-bit hosts [Re: [PATCH] Dynamic printf for a target agent]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]