* dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
[deliverable/binutils-gdb.git] / gdb / tracepoint.c
index aceeed4503863c7dac8c407bac586f1f1f1c2b3d..a6d700df045f89d6f112ce1fbd6e01c92249d323 100644 (file)
@@ -1,7 +1,7 @@
 /* Tracing functionality for remote targets in custom GDB protocol
 
-   Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
-   Foundation, Inc.
+   Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1693,7 +1693,7 @@ remote_set_transparent_ranges (void)
 
       anysecs = 1;
       lma = s->lma;
-      size = bfd_get_section_size_before_reloc (s);
+      size = bfd_get_section_size (s);
       sprintf_vma (tmp1, lma);
       sprintf_vma (tmp2, lma + size);
       sprintf (target_buf + strlen (target_buf), 
This page took 0.025059 seconds and 4 git commands to generate.