Bug 18033 - C++ style comment used in gdb/iq2000-tdep.c and gdb/compile/compile-*.c
Summary: C++ style comment used in gdb/iq2000-tdep.c and gdb/compile/compile-*.c
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: build (show other bugs)
Version: 7.9
: P2 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 09:39 UTC by Joel Brobecker
Modified: 2015-02-26 15:14 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Brobecker 2015-02-26 09:39:34 UTC
There are couple of lines using C++-style comments in iq2000-tdep.c. These lines have been commented out since 2005, so it should be same to just delete them.
Comment 1 Sourceware Commits 2015-02-26 09:43:56 UTC
The master branch has been updated by Joel Brobecker <brobecke@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9357a9e66e08fea2a13446a4dfba2ceaf11da827

commit 9357a9e66e08fea2a13446a4dfba2ceaf11da827
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 26 10:42:04 2015 +0100

    Remove // comment in gdb/iq2000-tdep.c
    
    gdb/ChangeLog:
    
    	PR build/18033:
    	* iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
Comment 2 Sourceware Commits 2015-02-26 09:45:50 UTC
The gdb-7.9-branch branch has been updated by Joel Brobecker <brobecke@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f57347efc0338cf65539f965f171a318c4a4e523

commit f57347efc0338cf65539f965f171a318c4a4e523
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 26 10:42:04 2015 +0100

    Remove // comment in gdb/iq2000-tdep.c
    
    gdb/ChangeLog:
    
    	PR build/18033:
    	* iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
Comment 3 Joel Brobecker 2015-02-26 09:48:03 UTC
Fixed.
Comment 4 Sourceware Commits 2015-02-26 10:51:33 UTC
The master branch has been updated by Jan Kratochvil <jkratoch@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=17487d857c372c01fb84b028062eaf1cdb41048a

commit 17487d857c372c01fb84b028062eaf1cdb41048a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 26 11:50:08 2015 +0100

    Change // comment in gdb/compile/
    
    Missing ChangeLog in the previous commit:
    	bb2b33b9395662e7562be34b47b9533620b583c6
    
    gdb/ChangeLog
    2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	PR build/18033
    	* compile/compile-c-support.c (c_compute_program): Change // comment.
    	* compile/compile-object-load.c (setup_sections): Change // comment.
Comment 5 Sourceware Commits 2015-02-26 10:53:20 UTC
The gdb-7.9-branch branch has been updated by Jan Kratochvil <jkratoch@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=09de64b93c2402e068daf0bce1c4a1dda833b646

commit 09de64b93c2402e068daf0bce1c4a1dda833b646
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 26 11:52:28 2015 +0100

    Change // comment in gdb/compile/
    
    gdb/ChangeLog
    2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	PR build/18033
    	* compile/compile-c-support.c (c_compute_program): Change // comment.
    	* compile/compile-object-load.c (setup_sections): Change // comment.