print_stack_frame (get_selected_frame (), -1, 1);
print_stack_frame (get_selected_frame (), 0, SRC_AND_LOC);
remote_rdp_open (char *args, int from_tty){  int not_icebreaker;  if (!args)    error_no_arg ("serial port device name");  baud_rate = 9600;  target_preopen (from_tty);  io = serial_open (args);  if (!io)    perror_with_name (args);  serial_raw (io);  rdp_init (1, from_tty);  if (from_tty)    {      printf_unfiltered ("Remote RDP debugging using %s at %d baud\n", args, baud_rate);    }  rdp_info ();  /* Need to set up the vector interception state */  rdp_catch_vectors ();  /*     ** If it's an EmbeddedICE, we need to set the processor config.     ** Assume we can always have ARM7TDI...   */  send_rdp ("bw-SB", RDP_INFO, RDP_INFO_ICEBREAKER, &not_icebreaker);  if (!not_icebreaker)    {      const char *CPU = "ARM7TDI";      int ICEversion;      int len = strlen (CPU);      send_rdp ("bbbbw-p-SWZ",		RDP_SELECT_CONFIG,		RDI_ConfigCPU,	/* Aspect: set the CPU */		len,		/* The number of bytes in the name */		RDI_MatchAny,	/* We'll take whatever we get */		0,		/* We'll take whatever version's there */		CPU, len,		&ICEversion);    }  /* command line initialised on 'run' */  push_target (&remote_rdp_ops);  callback->init (callback);  flush_cached_frames ();  registers_changed ();  stop_pc = read_pc ();  print_stack_frame (get_selected_frame (), -1, 1);}