gdb: Don't skip prologue for explicit line breakpoints in assembler
[deliverable/binutils-gdb.git] / gdb / common / print-utils.c
index 1a21404d3c3a3642e157f872e9fafcf612cec2b1..051c4541b28426bf2bf3cda7a1c9e54d7260f4cd 100644 (file)
@@ -1,6 +1,6 @@
 /* Cell-based print utility routines for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2016 Free Software Foundation, Inc.
+   Copyright (C) 1986-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -38,7 +38,7 @@ get_print_cell (void)
 }
 
 static char *
-decimal2str (char *sign, ULONGEST addr, int width)
+decimal2str (const char *sign, ULONGEST addr, int width)
 {
   /* Steal code from valprint.c:print_decimal().  Should this worry
      about the real size of addr as the above does?  */
@@ -250,10 +250,10 @@ hex_string_custom: insufficient space to store result"));
 /* See print-utils.h.  */
 
 char *
-int_string (LONGEST val, int radix, int is_signed, int width, 
+int_string (LONGEST val, int radix, int is_signed, int width,
            int use_c_format)
 {
-  switch (radix) 
+  switch (radix)
     {
     case 16:
       {
@@ -287,7 +287,7 @@ int_string (LONGEST val, int radix, int is_signed, int width,
       internal_error (__FILE__, __LINE__,
                      _("failed internal consistency check"));
     }
-}      
+}
 
 /* See print-utils.h.  */
 
This page took 0.024203 seconds and 4 git commands to generate.