equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
211 zeroframe()->identify_word(frame_index, offset, fieldbuf, valuebuf, buflen); |
211 zeroframe()->identify_word(frame_index, offset, fieldbuf, valuebuf, buflen); |
212 fieldbuf[buflen - 1] = '\0'; |
212 fieldbuf[buflen - 1] = '\0'; |
213 valuebuf[buflen - 1] = '\0'; |
213 valuebuf[buflen - 1] = '\0'; |
214 |
214 |
215 // Print the result |
215 // Print the result |
216 st->print_cr(" " PTR_FORMAT ": %-21s = %s", addr, fieldbuf, valuebuf); |
216 st->print_cr(" " PTR_FORMAT ": %-21s = %s", p2i(addr), fieldbuf, valuebuf); |
217 } |
217 } |
218 } |
218 } |
219 |
219 |
220 void ZeroFrame::identify_word(int frame_index, |
220 void ZeroFrame::identify_word(int frame_index, |
221 int offset, |
221 int offset, |