From b8727aafa19b9e365bf02e730a2cd5a0ca33edd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Thu, 27 Dec 2007 16:53:13 +0000 Subject: [PATCH] applied patch '[ 1858985 ] possible fix to print the signal aliases' (Hartley Sweeten) git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@892 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/cmd/print.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index d859b189..19a432cf 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2007-12-27 Arnim Laeuger + + * src/cmd/print.c (cmd_print_run): applied patch: + '[ 1858985 ] possible fix to print the signal aliases' (Hartley Sweeten) + 2007-12-26 Kolja Waschk * tap/cable/vision_ep9307.c, tap/cable.c, tap/Makefile.am, configure.ac: diff --git a/jtag/src/cmd/print.c b/jtag/src/cmd/print.c index 7ec991f9..a137264c 100644 --- a/jtag/src/cmd/print.c +++ b/jtag/src/cmd/print.c @@ -68,10 +68,15 @@ cmd_print_run( char *params[] ) signal_t *s; part = chain->parts->parts[chain->active_part]; for(s = part->signals;s != NULL;s = s->next) { + salias_t *sa; if(s->pin)printf("%s %s",s->name,s->pin); else printf("%s",s->name); if(s->input)printf("\tinput=%s",s->input->name); if(s->output)printf("\toutput=%s",s->output->name); + + for (sa = part->saliases; sa != NULL; sa = sa->next) { + if (s == sa->signal)printf("\tsalias=%s",sa->name); + } printf("\n"); } return(1);