contrib/gdb-7/gdb/utils.c
char *
hex_string (LONGEST num)
{
  char *result = get_cell ();

  xsnprintf (result, CELLSIZE, "0x%s", phex_nz (num, sizeof (num)));
  return result;
}
/* Converts a LONGEST to a C-format hexadecimal literal and stores it
   in a static string.  Returns a pointer to this string.  */
Converts a LONGEST to a C-format hexadecimal literal and stores it
in a static string.  Returns a pointer to this string.
Converts a LONGEST to a C - format hexadecimal literal and stores it in a static string . Returns a pointer to this string .
char *
hex_string (LONGEST num)
{
  char *result = get_cell ();
  xsnprintf (result, CELLSIZE, "0x%s", phex_nz (num, sizeof (num)));
  return result;
}
char * hex_string ( LONGEST num ) { char * result = get_cell ( ) ; xsnprintf ( result , CELLSIZE , " " , phex_nz ( num , sizeof ( num ) ) ) ; return result ; }
Converts a LONGEST to a C-format hexadecimal literal and stores it
in a static string.
Converts a LONGEST to a C - format hexadecimal literal and stores it in a static string .