xasprintf (&b->addr_string, "*0x%s", paddr (b->loc->address));
b->addr_string = xstrprintf ("*0x%s", paddr (b->loc->address));
create_breakpoints (struct symtabs_and_lines sals, char **addr_string,		    struct expression **cond, char **cond_string,		    enum bptype type, enum bpdisp disposition,		    int thread, int ignore_count, int from_tty,		    struct breakpoint *pending_bp){  if (type == bp_hardware_breakpoint)    {      int i = hw_breakpoint_used_count ();      int target_resources_ok = 	TARGET_CAN_USE_HARDWARE_WATCHPOINT (bp_hardware_breakpoint, 					    i + sals.nelts, 0);      if (target_resources_ok == 0)	error ("No hardware breakpoint support in the target.");      else if (target_resources_ok < 0)	error ("Hardware breakpoints used exceeds limit.");    }  /* Now set all the breakpoints.  */  {    int i;    for (i = 0; i < sals.nelts; i++)      {	struct breakpoint *b;	struct symtab_and_line sal = sals.sals[i];	if (from_tty)	  describe_other_breakpoints (sal.pc, sal.section);		b = set_raw_breakpoint (sal, type);	set_breakpoint_count (breakpoint_count + 1);	b->number = breakpoint_count;	b->cond = cond[i];	b->thread = thread;	if (addr_string[i])	  b->addr_string = addr_string[i];	else	  /* addr_string has to be used or breakpoint_re_set will delete	     me.  */	  xasprintf (&b->addr_string, "*0x%s", paddr (b->loc->address));	b->cond_string = cond_string[i];	b->ignore_count = ignore_count;	b->enable_state = bp_enabled;	b->disposition = disposition;	/* If resolving a pending breakpoint, a check must be made to see if	   the user has specified a new condition or commands for the 	   breakpoint.  A new condition will override any condition that was 	   initially specified with the initial breakpoint command.  */	if (pending_bp)	  {	    char *arg;	    if (pending_bp->cond_string)	      {		arg = pending_bp->cond_string;		b->cond_string = savestring (arg, strlen (arg));		b->cond = parse_exp_1 (&arg, block_for_pc (b->loc->address), 0);		if (*arg)		  error ("Junk at end of pending breakpoint condition expression");	      }	    /* If there are commands associated with the breakpoint, they should 	       be copied too.  */	    if (pending_bp->commands)	      b->commands = copy_command_lines (pending_bp->commands);	  }	mention (b);      }  }    }