Commit | Line | Data |
---|---|---|
b68b9783 MA |
1 | Thu Mar 27 14:21:46 1997 Mark Alexander <marka@cygnus.com> |
2 | ||
3 | * remote-mips.c: Clean up comment and extraneous semicolon | |
4 | for mips_monitor_prompt variable. | |
5 | ||
8e493b61 MA |
6 | Thu Mar 27 12:46:58 1997 Mark Alexander <marka@cygnus.com> |
7 | ||
8 | * remote-mips.c: Add `set monitor-prompt' command. | |
9 | ||
10 | Wed Mar 26 06:47:44 1997 Mark Alexander <marka@cygnus.com> | |
11 | ||
12 | Fix from Peter Schauer: | |
13 | * mdebugread.c (parse_procedure): Set address of procedure to | |
14 | block start; this fixes problems with shared libraries introduced | |
15 | by change of Mar 21. | |
16 | ||
2f472f92 GN |
17 | Mon Mar 24 19:43:16 1997 Geoffrey Noer <noer@cygnus.com> |
18 | ||
19 | * symtab.c (find_pc_symtab): change to support the case | |
20 | where the objfile is reordered and contains both coff and | |
21 | stabs debugging info (continue on if a psymtab isn't found). | |
22 | ||
87ee3602 MA |
23 | Sun Mar 23 16:19:20 1997 Mark Alexander <marka@cygnus.com> |
24 | ||
2f472f92 | 25 | Fixes from Peter Schauer: |
87ee3602 MA |
26 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE, |
27 | REGISTER_CONVERT_FROM_TYPE): Swap words if target, not host, | |
28 | is big-endian and if registers are 32 bits. | |
29 | * mips-tdep.c (mips_print_register, mips_extract_return_value, | |
30 | mips_store_return_value): Fix floating-point word-order problems on | |
31 | little-endian targets introduced by changes of Mar 21. | |
32 | ||
a9b9b407 SS |
33 | Sun Mar 23 15:43:27 1997 Stan Shebs <shebs@andros.cygnus.com> |
34 | ||
35 | * remote.c (target_resume_hook, target_wait_loop_hook): New | |
36 | globals. | |
37 | (remote_resume, remote_wait): Use them. | |
38 | * d10v-tdep.c: Set the above hooks. | |
39 | (tracesource): New GDB variable, controls source display in | |
40 | traces. | |
41 | (display_trace): Find and display source line if requested. | |
42 | (trace_info): Mention empty trace buffer if appropriate. | |
43 | (tdisassemble_command): Robustify argument handling. | |
94626fd1 SS |
44 | |
45 | * configure.host: Remove extra bogus Linux case. | |
46 | ||
12967062 FF |
47 | Sat Mar 22 16:41:35 1997 Fred Fish <fnf@cygnus.com> |
48 | ||
49 | * remote-sim.c (simulator_command): Add comment about dealing with | |
50 | NULL or empty args. | |
51 | start-sanitize-tic80 | |
52 | * Makefile.in (tic80-tdep.o): Add target. | |
53 | * configure.tgt: Add tic80 case. | |
54 | * tic80-tdep.c: New file. | |
55 | * config/tic80/{tic80.mt, tm-tic80.h}: New files. | |
56 | end-sanitize-tic80 | |
57 | ||
07422705 PS |
58 | Sat Mar 22 02:48:11 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
59 | ||
60 | * c-exp.y (yylex): Handle nested template parameter lists. | |
61 | * symtab.c (decode_line_2): Fix test for valid choice number. | |
62 | ||
c81a76b3 MA |
63 | Fri Mar 21 19:10:05 1997 Mark Alexander <marka@cygnus.com> |
64 | ||
65 | * mips-tdep.c (mips_push_arguments): On non-EABI architectures, | |
66 | copy first two floating point arguments to general registers, so that | |
67 | MIPS16 functions will receive the arguments correctly. | |
68 | (mips_print_register): Print double registers correctly on | |
69 | little-endian hosts. | |
70 | (mips_extract_return_value): Return double values correctly | |
71 | on little-endian hosts. | |
72 | ||
73 | * mdebugread.c (parse_procedure): Adjust address of procedure relative | |
74 | to address in file descriptor record; this accounts for constant | |
75 | strings that may precede functions in the text section. Remove | |
76 | now-useless lowest_pdr_addr from argument list and all calls. | |
77 | ||
23e92f3f MM |
78 | Fri Mar 21 15:36:25 1997 Michael Meissner <meissner@cygnus.com> |
79 | ||
80 | * configure.tgt (powerpc*-{eabi,linux,sysv,elf}*): Determine | |
81 | whether the simulator will be built by whether the Makefile in the | |
82 | simulator directory was built. | |
83 | ||
84 | * configure.in (--enable-sim-powerpc): Delete switch. | |
85 | * configure: Regenerate. | |
86 | ||
011fa671 JL |
87 | Thu Mar 20 20:52:04 1997 Jeffrey A Law (law@cygnus.com) |
88 | ||
fe380dcc JL |
89 | * mn10200-tdep.c (mn10200_analyze_prologue): Look for save of "a1" |
90 | in the prologue too. | |
91 | ||
011fa671 JL |
92 | * remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSI |
93 | compilers. | |
94 | (gdb_os_evprintf_filtered): Similarly. | |
95 | ||
96 | Wed Mar 19 16:13:22 1997 Geoffrey Noer <noer@pizza.cygnus.com> | |
97 | ||
98 | New UnixWare 2.1 configuration | |
99 | * config/i386/i386v42mp.mt: new | |
100 | * config/i386/i386v42mp.mh: new | |
101 | * config/i386/tm-i386v42mp.h: new | |
102 | * config/i386/nm-i386v42mp.h: new | |
103 | * configure.tgt: added new entries | |
104 | * configure.host: added new entries | |
105 | ||
8a19b35a | 106 | start-sanitize-gdbtk |
23e92f3f | 107 | Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com> |
8a19b35a MH |
108 | |
109 | * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl. | |
110 | ||
111 | * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME | |
112 | to GDBTK_LIBRARY, which is now a path to search. | |
113 | (gdb_path_conv): New function. Convert Cygwin32 pathname to | |
114 | DOS-style pathname. | |
115 | ||
23e92f3f | 116 | * {aclocal.m4,configure.in}: Changes for Windows builds. |
8a19b35a MH |
117 | |
118 | * configure: Rebuilt. | |
119 | ||
120 | end-sanitize-gdbtk | |
3295179c C |
121 | Mon Mar 17 17:52:00 1997 J.T. Conklin <jtc@cygnus.com> |
122 | ||
123 | * dsrec.c (load_srec): Print leading zeroes when printing section | |
124 | addresses. | |
125 | ||
48ae8057 AC |
126 | Mon Mar 17 15:00:16 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
127 | ||
128 | * remote-sim.h: Delete - moved to ../include/remote-sim.h. | |
129 | ||
130 | * Makefile.in (remote_utils_h): Update path to remote-sim.h. | |
131 | ||
132 | Fri Mar 7 20:55:28 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
133 | ||
134 | * remote-sim.c (flush_stdout, write_stderr, flush_stderr, | |
135 | vprintf_filtered, evprintf_filtered): Callbacks that accept | |
136 | varargs. | |
137 | ||
ac7a8760 PS |
138 | Sat Mar 15 00:50:46 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
139 | ||
140 | * breakpoint.c (insert_breakpoints, watchpoint_check, | |
141 | bpstat_stop_status): Do not disable watchpoints going out of scope. | |
142 | (insert_breakpoints): Make sure that the current frame is valid | |
143 | before calling find_frame_addr_in_frame_chain. | |
144 | ||
145 | * top.c (setup_user_args): Handle quotes and backslashes. | |
146 | (print_gdb_version): Update copyright year. | |
147 | ||
a3ee56ec ILT |
148 | Fri Mar 14 15:44:03 1997 Ian Lance Taylor <ian@cygnus.com> |
149 | ||
150 | * Makefile.in (elfread.o): Depend upon elf-bfd.h and elf/mips.h. | |
151 | ||
46964086 TT |
152 | start-sanitize-gdbtk |
153 | Fri Mar 14 10:01:29 1997 Tom Tromey <tromey@cygnus.com> | |
154 | ||
155 | * configure: Regenerated. | |
156 | * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS. | |
157 | ||
158 | end-sanitize-gdbtk | |
35a78bd0 DP |
159 | Thu Mar 13 22:51:00 1997 Dawn Perchik <dawn@cygnus.com> |
160 | ||
a3ee56ec ILT |
161 | * utils.c (pollquit, notice_quit): If _WIN32, limit test for |
162 | cntl-C to wingdb. | |
35a78bd0 DP |
163 | (initialize_utils): If _WIN32, don't call ScreenRows and ScreenCols |
164 | except under wingdb. (Contributed by Martin Hunt). | |
165 | ||
f02156cf TT |
166 | Thu Mar 13 12:40:49 1997 Tom Tromey <tromey@cygnus.com> |
167 | ||
168 | * configure: Regenerated. | |
169 | * configure.in: Run AC_CONFIG_AUX_DIR before AC_CANONICAL_SYSTEM. | |
170 | ||
286f83b4 DE |
171 | Thu Mar 13 11:00:22 1997 Doug Evans <dje@canuck.cygnus.com> |
172 | ||
173 | * remote-sim.h (sim_state, SIM_DESC): New types. | |
174 | (sim_open): Return a `descriptor' as result. | |
175 | (*): New argument of descriptor result from sim_open. | |
176 | * remote-sim.c (gdbsim_desc): Renamed from gdbsim_open_p. | |
177 | (gdbsim_open): Record result of sim_open in gdbsim_desc. | |
178 | Pass argv list to sim_open, argv[0] = pseudo program name. | |
179 | (*): Pass gdbsim_desc to sim_foo fns. | |
180 | ||
f02156cf TT |
181 | Wed Mar 12 14:40:06 1997 Tom Tromey <tromey@cygnus.com> |
182 | ||
183 | * config.in: Regenerated. | |
184 | ||
185 | * acconfig.h (START_INFERIOR_TRAPS_EXPECTED, sys_quotactl, | |
186 | HAVE_HPUX_THREAD_SUPPORT): Define. | |
187 | ||
188 | start-sanitize-gdbtk | |
189 | Wed Mar 12 14:29:52 1997 Tom Tromey <tromey@cygnus.com> | |
190 | ||
191 | * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT, | |
192 | TCL_ALL_EVENTS. | |
193 | ||
194 | * configure: Regenerated. | |
195 | * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in | |
196 | LIBS. | |
197 | ||
198 | end-sanitize-gdbtk | |
011fa671 | 199 | |
286f83b4 DE |
200 | Tue Mar 11 07:25:27 1997 Mark Alexander <marka@cygnus.com> |
201 | ||
202 | First cut at supporting simulators in gdbserver: | |
203 | ||
204 | * configure, configure.in: Allow gdbserver to be configured | |
205 | for cross-target environments. | |
206 | * gdbserver/Makefile.in: Add simulator support. | |
207 | * gdbserver/configure.in: Eliminate assumption that host == target. | |
208 | Simplify using gdb/configure.tgt and gdb/configure.host. | |
209 | Fix other minor configuration errors. | |
210 | * gdbserver/low-sparc.c: Fix compile error. | |
211 | * gdbserver/remote-utils.c: Eliminate assumption that registers | |
212 | and addresses are four bytes. Fix minor compile errors and warnings. | |
213 | * gdbserver/server.c: Rewrite numerous instances of identical code | |
214 | for starting inferior processes to call new function start_inferior. | |
215 | Eliminate assumption that registers and addresses are four bytes. | |
216 | * gdbserver/server.h: Add missing prototypes to eliminate compiler | |
217 | warnings. | |
218 | * gdbserver/low-sim.c: New file to mate gdbserver with simulators. | |
219 | * config/mips/vr5000.mt: Add Vr5000 simulator support to gdbserver. | |
220 | * config/i386/linux.mh: Eliminate gdbserver support as a first step | |
221 | in moving such support from host to target makefile fragments. | |
222 | * config/i386/linux.mt: Move gdbserver support here from linux.mh. | |
223 | ||
b18f1777 MS |
224 | Mon Mar 10 12:27:47 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
225 | ||
226 | * symtab.h (INIT_SAL): New macro to initialize symtab_and_line, | |
227 | to insure consistant initialization of unused fields to zero. | |
228 | * symtab.c: replace initializations of sals with new macro INIT_SAL. | |
229 | * breakpoint.c: ditto. | |
230 | * infrun.c: ditto. | |
231 | * infcmd.c: ditto. | |
232 | * source.c: add call to INIT_SAL macro. | |
233 | ||
a8d38bc5 PS |
234 | Sat Mar 8 00:16:37 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
235 | ||
236 | * sparc-tdep.c (isbranch): Always handle v9 branch instructions, | |
237 | they might get used on 32 bit targets as well. | |
238 | ||
db38473a BM |
239 | Wed Mar 5 19:34:09 1997 Bob Manson <manson@charmed.cygnus.com> |
240 | ||
241 | * remote-mips.c (mips_exit_debug): Some IDT boards don't | |
242 | send the full exit string. | |
243 | ||
fc5c7595 JL |
244 | Wed Mar 5 12:59:27 1997 Jeffrey A Law (law@cygnus.com) |
245 | ||
246 | * mn10200-tdep.c (mn10200_push_arguments): Handle new calling | |
247 | conventions. | |
248 | (mn10200_store_struct_return): Likewise. | |
249 | ||
250 | Tue Mar 4 10:31:02 1997 Mark Alexander <marka@cygnus.com> | |
251 | ||
252 | * mips-tdep.c (mips_fetch_instruction): New function; replace | |
253 | common code throughout with calls to it. | |
254 | (mips_find_saved_regs): Examine MIPS16 entry instruction to determine | |
255 | correct saved addresses of $s0 and $s1. | |
256 | (mips_find_saved_regs, mips16_heuristic_proc_desc): Use MIPS_REGSIZE | |
257 | instead of hardcoded 4. | |
258 | (mips16_skip_prologue): Handle extended instructions correctly. | |
259 | ||
ba5b9eba DE |
260 | Mon Mar 3 12:29:20 1997 Doug Evans <dje@canuck.cygnus.com> |
261 | ||
262 | * defs.h (LONGEST): Move #ifndef LONGEST to outside. | |
263 | Try BFD_HOST_64_BIT if ! CC_HAS_LONG_LONG. | |
264 | ||
c1fc0935 MA |
265 | Thu Feb 27 18:54:11 1997 Mark Alexander <marka@cygnus.com> |
266 | ||
267 | * mips-tdep.c (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): | |
268 | New macros for testing, setting, and clearing bit 0 of addresses. | |
269 | Change numerous bits of code where bit 0 was being manipulated | |
270 | to use these macros. | |
271 | ||
d6ca85a8 MA |
272 | Thu Feb 27 14:12:41 1997 Mark Alexander <marka@cygnus.com> |
273 | ||
274 | * remote-mips.c: Put back the form feeds. | |
275 | ||
266454ca MA |
276 | Thu Feb 27 12:04:24 1997 Mark Alexander <marka@cygnus.com> |
277 | ||
278 | * remote-mips.c: Remove form feeds (^L) from source. | |
279 | (mips_initialize): LSI PMON doesn't support 'set regsize' command. | |
280 | (pmon_wait): Don't need to exit and re-enter debug mode on LSI | |
281 | PMON after a continue; it causes target program misbehavior. | |
282 | (mips_fetch_register): Don't fetch unsupported registers; this | |
283 | cuts down on wasted serial traffic. | |
284 | ||
bfde4a67 SG |
285 | Thu Feb 27 09:38:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
286 | ||
c4c9112a SG |
287 | * configure.in configure (HPUX/OSF thread support): Enable this |
288 | only when running GCC, since HP's thread header files use ANSI C | |
289 | which is not supported by their default compiler. | |
290 | ||
bfde4a67 SG |
291 | * configure.host (i[3456]86-*-windows): Disable long long |
292 | support for WinGDB. Add mswin to configdirs. | |
293 | * configure.in configure: Move calls to configure.host and | |
294 | configure.tgt to the top of configure.in to allow them to set | |
295 | config variables before they are referenced. | |
296 | ||
297 | Tue Feb 25 20:21:52 1997 Stan Shebs <shebs@andros.cygnus.com> | |
298 | ||
299 | * configure.tgt (mips*-*-lnews*): New target. | |
300 | ||
301 | Mon Feb 24 16:35:00 1997 Jeffrey A Law (law@cygnus.com) | |
302 | ||
303 | * mn10200-tdep.c (mn10200_analyze_prologue): Don't fix fi->frame | |
304 | if we're not the innermost frame. Fix minor typos. | |
305 | ||
f3cc5a0e PS |
306 | Sat Feb 22 03:39:50 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
307 | ||
308 | * stabsread.c (read_type): Fix handling of template names | |
309 | with template parameters containing `::'. | |
310 | ||
311 | * valops.c (search_struct_field, search_struct_method): | |
312 | Pass correct valaddr parameter to baseclass_offset. | |
313 | Prevent gdb crashes by making sure that the virtual base pointer | |
314 | from an user object still points to accessible memory. | |
315 | ||
6e5d087d MA |
316 | Tue Feb 18 13:36:34 1997 Mark Alexander <marka@cygnus.com> |
317 | ||
318 | * maint.c: Eliminate -Wall warnings by including some header files. | |
319 | ||
1387cba1 MA |
320 | Tue Feb 18 13:06:30 1997 Mark Alexander <marka@cygnus.com> |
321 | ||
322 | * remote-sim.c (init_callbacks): Undo previous change. | |
323 | ||
324 | Tue Feb 18 11:13:00 1997 Dawn Perchik <dawn@cygnus.com> | |
325 | ||
326 | * maint.c: Fix dereference of pointer. | |
327 | * remote-sim.c: Fix reference of structure member "last_error". | |
328 | * debugify.c: Include config.h to get ANSI definitions. | |
329 | ||
e1a51cc2 SG |
330 | Sat Feb 15 17:43:46 1997 Stu Grossman (grossman@critters.cygnus.com) |
331 | ||
332 | * remote-vx.c (vx_attach): Fix for PR 11356. Remove code added | |
333 | by kung. It made no sense. | |
334 | ||
4fbc396d ILT |
335 | Fri Feb 14 13:00:07 1997 Ian Lance Taylor <ian@cygnus.com> |
336 | ||
337 | * main.c (print_gdb_help): Make static to match declaration. | |
16a43bf4 | 338 | |
e36491f4 DP |
339 | Thu Feb 13 18:18:18 1997 Dawn Perchik <dawn@cygnus.com> |
340 | ||
341 | * remote-e7000.c, ser-e7kpc.c, serial.c: Remove // comments. | |
342 | ||
8662603f DP |
343 | Wed Feb 12 15:58:00 1997 Dawn Perchik <dawn@cygnus.com> |
344 | ||
345 | * debugify.c, debugify.h: Make safe for non-ansi compilers. | |
346 | ||
2dec4933 DP |
347 | Wed Feb 12 15:30:00 1997 Dawn Perchik <dawn@cygnus.com> |
348 | ||
349 | * defs.h: Fix prototypes for new cleanup functions. | |
350 | ||
27e81a4e DP |
351 | Wed Feb 12 15:08:47 1997 Dawn Perchik <dawn@cygnus.com> |
352 | ||
353 | * debugify.c, debugify.h: Fix for general gnu use. Remove C++ | |
354 | comment, add PARAMS, add license info and fix indentation. | |
355 | ||
4659e3b3 DP |
356 | Wed Feb 12 14:42:47 1997 Dawn Perchik <dawn@cygnus.com> |
357 | ||
27e81a4e | 358 | * debugify.c, debugify.h: New files. Provide common macros |
4659e3b3 DP |
359 | for writing debug info to a log file or stdio. |
360 | ||
be733f58 DP |
361 | Wed Feb 12 02:44:39 1997 Dawn Perchik <dawn@cygnus.com> |
362 | ||
363 | * c-valprint.c (c_val_print): Fix printing for arrays defined | |
364 | with 0 length. A sticky tag caused this fix from | |
365 | revision 2.32 date: 1996/04/29 23:25:27; author: dawn; | |
366 | state: Exp; lines: +1 -0 branches: 2.32.34; | |
367 | to not make it into devo. | |
368 | ||
16a43bf4 DP |
369 | Tue Feb 11 22:24:39 1997 Dawn Perchik <dawn@cygnus.com> |
370 | ||
371 | * defs.h: Fix cntl-C to read from the Windows message queue. | |
372 | Add prototypes for make_final_cleanup (and the other cleanup | |
373 | routines. | |
374 | * remote-e7000.c: Fix sync code to timeout if unable to sync. | |
375 | Change sync code to report status while trying to sync-up | |
376 | with hardware. Add debugging output and document. | |
377 | * ser-e7kpc.c: Swap order of len & offset to match implementation. | |
378 | Add debugging output and document. | |
379 | * serial.c: Add debugging output. | |
380 | * top.c: Add call to do_final_cleanups. | |
381 | Remove conditionals preventing Win32 from getting SIGQUIT. | |
382 | * utils.c: (*_cleanup): Modify cleanup routines to accept a cleanup | |
383 | chain as a parameter. Extract this generic code from the cleanup | |
384 | routines into separate funtions (*_my_cleanup). Keep old | |
385 | functionality by passing "cleanup_chain" to the new funtions. | |
386 | Define the cleanup chain "final_cleanup_chain" to be a cleanup | |
387 | chain which will be executed only when gdb exits. Add functions | |
388 | (*_final_cleanup) to match the original (*_cleanup) functions. | |
389 | (pollquit, quit, notice_quit): Fix to read cntl-C from the | |
390 | Windows message queue. | |
391 | ||
46148567 DE |
392 | start-sanitize-m32r |
393 | Tue Feb 11 15:36:31 1997 Doug Evans <dje@canuck.cygnus.com> | |
394 | ||
395 | * m32r-rom.c: #include <sys/types.h>. | |
396 | #ifdef out new load support if wingdb. | |
397 | * m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb. | |
398 | ||
399 | end-sanitize-m32r | |
25de138b JL |
400 | Tue Feb 11 12:28:09 1997 Jeffrey A Law (law@cygnus.com) |
401 | ||
8bd49d39 | 402 | |
d601a41f JL |
403 | * config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix. |
404 | * mn10200-tdep.c (mn10200_store_struct_return): New function. | |
d601a41f | 405 | |
527579ee JL |
406 | * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when |
407 | extracting a return value from a register pair. | |
408 | ||
25de138b JL |
409 | * mn10200-tdep.c (mn10200_push_arguments): Stack only needs to |
410 | be two byte aligned. Round argument sizes up to two byte boundary. | |
411 | Write out args in two byte hunks. | |
412 | (mn10200_push_return_address): Implement. | |
413 | * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Abort for | |
414 | structures > 8 bytes (temporary). | |
415 | (STORE_RETURN_VALUE): Likewise. | |
416 | (CALL_DUMMY): No longer undefine. | |
417 | (USE_STRUCT_CONVENTION): Use for args > 8 bytes. | |
418 | (REG_STRUCT_HAS_ADDR): Define. | |
419 | ||
276c2d7d GRK |
420 | start-sanitize-r5900 |
421 | Fri Feb 07 09:04:37 1997 Gavin Koch <gavin@cygnus.com> | |
422 | ||
423 | * configure.tgt: added r5900. | |
424 | ||
425 | end-sanitize-r5900 | |
7061bb0e MA |
426 | Mon Feb 10 18:35:55 1997 Mark Alexander <marka@cygnus.com> |
427 | ||
428 | * mips-tdep.c (non_heuristic_proc_desc): New function. | |
429 | (find_proc_desc): Move non-heuristic proc search code into separate | |
430 | function. | |
431 | (gdb_print_insn_mips): Use non-heuristic method to find procedure | |
432 | descriptor, to avoid prologue examination when disassembling. | |
433 | * remote-mips.c: Add support for new "lsi" target (LSI MiniRISC | |
434 | aka MicroMeteor board). | |
435 | (mips_exit_debug): Prevent protocol reinitialization if an error | |
436 | occurs while exiting debug mode. | |
437 | ||
efaf2b58 JL |
438 | Mon Feb 10 16:11:57 1997 Jeffrey A Law (law@cygnus.com) |
439 | ||
a698d0d0 JL |
440 | * mn10200-tdep.c: Remove lots of debugging printfs, update/improve |
441 | comments, formatting, etc. Plus other minor fixes for problems | |
442 | I found during my first pass over the mn10200 port. | |
443 | (mn10200_analyze_prologue): New function. | |
444 | (mn10200_frame_chain, mn10200_init_extra_frame_info): Use it. | |
445 | * config/mn10200/tm-mn10200.h: Lots of updates/improvements to | |
446 | comments, formatting, etc. Minor fixes for problems I found during | |
447 | my first pass over the mn10200 port. | |
448 | (TARGET_*_BIT): Define appropriately for ints, long longs, doubles and | |
449 | pointers. | |
450 | (REGISTER_VIRTUAL_TYPE): Define as a long. | |
451 | (EXTRACT_RETURN_VALUE): Rework to deal with long ints living | |
452 | in register pairs. | |
453 | (STORE_RETURN_VALUE): Similarly. | |
454 | ||
efaf2b58 JL |
455 | * blockframe.c (generic_get_saved_regs): Remove unused variable |
456 | "addr". | |
457 | * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl | |
458 | inside #ifdef CALL_DUMMY. | |
459 | (watch_command_1): Initialize target_resources_ok. | |
460 | * command.c (do_setshow_command): Provide dummy initialization | |
461 | for "match". | |
462 | * valops.c (find_function_addr): Move function & prototype inside | |
463 | #ifdef CALL_DUMMY. | |
464 | (value_arg_coerce): Similarly. | |
465 | (value_of_variable): Provide dummy initialization of "frame". | |
466 | ||
40dffa42 SG |
467 | Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com) |
468 | ||
469 | * gdbtk.c (call_wrapper): Clear running_now if an error occurs. | |
470 | This fixes PR 11323, where gdbtk stops responding if an error occurs. | |
471 | ||
86fdcdaf FF |
472 | Mon Feb 10 07:54:26 1997 Fred Fish <fnf@cygnus.com> |
473 | ||
474 | * xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter | |
475 | to prim_record_minimal_symbol_and_info call that was missed in Jan 3 | |
476 | change. | |
477 | (scan_xcoff_symtab): Ditto. | |
478 | ||
32dab603 MA |
479 | Sun Feb 09 09:23:26 1997 Mark Alexander <marka@cygnus.com> |
480 | ||
481 | * remote-mips.c (common_breakpoint): Prevent 64-bit addresses | |
482 | from being sent to 32-bit targets by masking off upper bits. | |
483 | * mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits | |
484 | of PC on 32-bit targets. | |
485 | (mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a | |
486 | frame setup instruction. | |
487 | (mips32_heuristic_proc_desc): Fix warning found by gcc -Wall. | |
488 | (mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid | |
489 | prologue instruction. Fix warnings and bugs found by gcc -Wall. | |
490 | * buildsym.c (finish_block): Improve handling of overlapping blocks; | |
491 | fixes problem on MIPS16 printing function arguments. | |
492 | ||
e7e98487 PS |
493 | Sat Feb 8 01:14:43 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
494 | ||
495 | * dwarf2read.c (dwarf2_linkage_name): New function to get | |
496 | the linkage name of a die from DW_AT_MIPS_linkage_name or | |
497 | DW_AT_name. | |
498 | (read_func_scope, dwarf2_add_field, dwarf2_add_member_fn, | |
499 | new_symbol): Use it instead of accessing DW_AT_name. | |
500 | (read_partial_die): Use DW_AT_MIPS_linkage name as name of the | |
501 | partial die if present. | |
502 | (dwarf2_add_member_fn): Make a copy of physname on the type obstack. | |
503 | ||
c301abbd JL |
504 | Fri Feb 7 10:06:22 1997 Jeffrey A Law (law@cygnus.com) |
505 | ||
506 | * blockframe.c (generic_frame_chain_valid): If the new frame | |
507 | is not INNER_THAN the old frame, then it's not valid. | |
508 | ||
7d9e8fac MA |
509 | Tue Feb 04 09:04:37 1997 Mark Alexander <marka@cygnus.com> |
510 | ||
511 | * mips-tdep.c (mips16_get_imm): Fix calculation of extended immediate. | |
512 | (mips16_heuristic_proc_desc): Recognize jal(x) instruction. | |
513 | ||
b348b9fd MA |
514 | Mon Feb 03 17:57:58 1997 Mark Alexander <marka@cygnus.com> |
515 | ||
516 | * mips-tdep.c (mips16_decode_reg_save): Distinguish between | |
517 | sd and sw instructions correctly. | |
518 | (heuristic_proc_start): Add support for MIPS16. | |
519 | (mips16_get_imm, mips16_heuristic_proc_desc, | |
520 | mips32_heuristic_proc_desc): New helper functions for | |
521 | heuristic_proc_desc. | |
522 | (heuristic_proc_desc): Rewrite and reorganize to support MIPS16. | |
523 | (mips_push_arguments): Don't align small arguments in EABI. | |
524 | (mips32_skip_prologue): Attempt to shrink code size a little. | |
525 | ||
fbfa4d54 MS |
526 | start-sanitize-m32r |
527 | Mon Feb 3 11:06:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com> | |
528 | ||
529 | * m32r-stub.c: New -- remote protocol support for M32R cpu. | |
530 | * m32r-rom.c: Several experiments with improved download time. | |
531 | * .Sanitize: Add entry for m32r-stub.c | |
532 | end-sanitize-m32r | |
533 | ||
20fa0902 MA |
534 | Fri Jan 31 08:26:39 1997 Mark Alexander <marka@cygnus.com> |
535 | ||
536 | * mips-tdep.c (MIPS16_INSTLEN): Define. | |
537 | (mips_find_saved_regs): Replace hardcoded 2's with MIPS16_INSTLEN. | |
538 | (heuristic_proc_start): Recognize 'entry' pseudo-op as a start | |
539 | of function on MIPS16. | |
540 | (mips32_skip_prologue, mips16_skip_prologue): New helper functions | |
541 | for mips_skip_prologue. | |
542 | (mips_skip_prologue): Recognize both 16- and 32-bit prologues. | |
543 | ||
7e2b3363 MM |
544 | Wed Jan 29 12:45:54 1997 Michael Meissner <meissner@tiktok.cygnus.com> |
545 | ||
546 | * config/powerpc/ppc{,le}-sim.mt (SIM): Remove the library | |
547 | ../sim/common/libcommon.a. | |
548 | ||
b444216f MS |
549 | Tue Jan 28 15:54:13 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
550 | ||
551 | * blockframe.c: fix a null pointer ref in generic_get_saved_register | |
552 | ||
52c8ecee GN |
553 | Tue Jan 28 15:39:50 1997 Geoffrey Noer <noer@cygnus.com> |
554 | ||
bb6debca SS |
555 | * mn10200-tdep.c (mn10200_frame_chain): Get basic backtracing |
556 | working. | |
52c8ecee | 557 | |
f9f8c14b MA |
558 | Mon Jan 27 14:31:52 1997 Mark Alexander <marka@cygnus.com> |
559 | ||
560 | First set of changes for mips16: | |
561 | * config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT, | |
562 | MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define. | |
563 | (ABOUT_TO_RETURN): Call new function mips_about_to_return. | |
564 | (mips_breakpoint_from_pc, mips_about_to_return): Declare. | |
565 | * mem-break.c (memory_breakpoint_from_pc): New function. | |
566 | (memory_insert_breakpoint, memory_remove_breakpoint): Use | |
567 | memory_breakpoint_from_pc to determine breakpoint contents and size. | |
568 | * target.h (memory_breakpoint_from_pc): Declare. | |
569 | * monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc | |
570 | to determine size of breakpoint instruction. | |
571 | * mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save): | |
572 | New helper functions for mips_find_saved_regs. | |
573 | (mips_find_saved_regs): Recognize mips16 prologues. | |
574 | (mips_addr_bits_remove): Strip off upper 32 bits of address | |
575 | when target CPU is 32 bits but CORE_ADDR is 64 bits. | |
576 | (mips_step_skips_delay): No branch delay slot on mips16. | |
577 | (gdb_print_insn_mips): Disassemble mips16 code. | |
578 | (mips_breakpoint_from_pc, mips_about_to_return): New functions. | |
579 | ||
ddc846e9 JL |
580 | Mon Jan 27 10:34:03 1997 Jeffrey A Law (law@cygnus.com) |
581 | ||
582 | * tm-mn10200.h (NUM_REGS): Decrease to 12. | |
583 | (REGISTER_NAMES): Elimination registers not found on the mn10200. | |
584 | (PC_REGNUM, MDR_REGNUM, PSW_REGNUM): Corresponding changes. | |
585 | (LIR_REGNUM, LAR_REGNUM): Delete. They don't exist on the mn10200. | |
586 | ||
54995373 PS |
587 | Sat Jan 25 00:07:59 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
588 | ||
589 | * dwarf2read.c: Replace integral tag, name and form fields in | |
590 | internal structure definitions with the corresponding enumeration | |
591 | types from dwarf2.h. Add default cases to switches on enumerations | |
592 | where appropriate. | |
593 | Make quoting of string arguments in complaint messages consistent. | |
594 | Check for NULL returns from DW_STRING. | |
595 | (struct partial_die_info): Add sibling and has_type fields, remove | |
596 | unused value field. | |
597 | (DW_*): Move access macro definitions near the definition of the | |
598 | attribute structure. | |
599 | (struct field_info): New structure to pass information about fields | |
600 | and member functions between die processing routines. | |
601 | (dwarf2_build_psymtabs_hard): Set cu_header_offset. | |
602 | (scan_partial_symbols): Do not enter DW_TAG_subprogram dies into | |
603 | the partial symbol table if the DW_AT_*_pc attributes are missing. | |
604 | Add file scope base type definitions to the partial symbol table. | |
605 | Skip over child dies if the die has a sibling attribute. | |
606 | (add_partial_symbol): Enter global variables with type attributes | |
607 | and without location descriptors into the partial symbol table. | |
608 | Store value of DW_TAG_variable dies in the partial symbol table. | |
609 | Do not enter global variables into the minimal symbol table. | |
610 | Add base type definitions to the partial symbol table. | |
611 | (psymtab_to_symtab_1): Use dwarf2_get_pc_bounds to determine highpc. | |
612 | (process_die): Move check for DW_AT_low_pc to read_func_scope. | |
613 | Add a typedef symbol for base type definitions to the symbol table. | |
614 | Ignore DW_TAG_inlined_subroutine tags for now. | |
615 | (read_file_scope): Use dwarf2_get_pc_bounds to determine pc bounds. | |
616 | (read_func_scope, read_lexical_block_scope): Use dwarf2_get_pc_bounds | |
617 | to determine pc bounds, ignore dies with invalid bounds. | |
618 | (dwarf2_get_pc_bounds): New routine to extract and validate the | |
619 | DW_AT_*_pc attributes of a die. | |
620 | (dwarf2_add_field, dwarf2_attach_fields_to_type, skip_member_fn_name, | |
621 | dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type): | |
622 | New functions to handle fields and member functions. | |
623 | (read_structure_scope): Rewritten to use them. | |
624 | (read_array_type): Renamed from dwarf_read_array_type. | |
625 | Default upper array bound to describe an array with unspecified | |
626 | length. | |
627 | Create array types in backwards order, as dwarf2 puts out the array | |
628 | dimensions from left to right. | |
629 | (read_subroutine_type): Handle DW_TAG_unspecified_parameters, | |
630 | DW_AT_artificial and DW_AT_prototyped. | |
631 | (read_base_type): Make an unsigned type for DW_ATE_boolean. | |
632 | Pass objfile to dwarf_base_type. | |
633 | (read_partial_die): Use read_attribute to read in the attributes. | |
634 | Handle DW_AT_sibling and DW_AT_type. | |
635 | Follow references when determining DW_AT_name and DW_AT_external | |
636 | attributes of the die. | |
637 | Validate DW_AT_*_pc attributes. | |
638 | (read_full_die): Use read_attribute to read in the attributes. | |
639 | (read_attribute): New function to read an attribute described | |
640 | by an abbreviated attribute. | |
641 | (new_symbol): Relocate symbol value for DW_TAG_label with baseaddr. | |
642 | Do not set SYMBOL_VALUE_ADDRESS for DW_TAG_subprogram, | |
643 | SYMBOL_BLOCK_VALUE for the symbol will be set later by finish_block. | |
644 | Change symbol class for global variables with a zero valued location | |
645 | descriptor to LOC_UNRESOLVED. | |
646 | Handle DW_AT_const_value attributes for DW_TAG_variable, | |
647 | DW_TAG_formal_parameter and DW_TAG_enumerator. | |
648 | Build a typedef symbol for DW_TAG_base_type. | |
649 | (dwarf2_const_value): New routine to copy a constant value from an | |
650 | attribute to a symbol. | |
651 | (dwarf_base_type): Use passed in objfile, not current_objfile | |
652 | when calling dwarf2_fundamental_type. | |
653 | (dump_die): Use DW_* accessor macros to access values of attributes. | |
654 | (decode_locdesc): Handle DW_OP_plus_uconst. | |
655 | ||
879b9398 GN |
656 | Wed Jan 22 01:31:16 1997 Geoffrey Noer <noer@cygnus.com> |
657 | ||
bb6debca SS |
658 | * mn10200-tdep.c: New file. |
659 | * config/mn10200/tm-mn10200.h: New, REGISTER_SIZE is 24 bits not 32, | |
879b9398 | 660 | SP_REGNUM and FP_REGNUM are different, also no lar or lir. |
bb6debca SS |
661 | * config/mn10200/mn10200.mt: New file. |
662 | * configure.tgt: add mn10200 entry. | |
879b9398 | 663 | |
95b47547 SG |
664 | Tue Jan 21 18:32:23 1997 Stu Grossman (grossman@lisa.cygnus.com) |
665 | ||
666 | * configure.in configure: Check if host has libdl if doing | |
667 | Solaris threads. | |
668 | ||
95efddf2 GN |
669 | Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com> |
670 | ||
bb6debca | 671 | * mn10300-tdep.c: Wrote/fixed implementations of |
95efddf2 GN |
672 | mn10300_frame_chain, mn10300_init_extra_frame_info, |
673 | mn10300_frame_saved_pc | |
bb6debca SS |
674 | * config/mn10300/tm-mn10300.h: Redefine INIT_EXTRA_FRAME_INFO |
675 | and INIT_FRAME_PC macros. | |
95efddf2 | 676 | |
ef6c51d1 SG |
677 | Tue Jan 21 17:01:20 1997 Stu Grossman (grossman@lisa.cygnus.com) |
678 | ||
679 | * configure.in configure: Check if host has libm. Make sure we | |
680 | are using gcc when using the -export-dynamic option. Fixes a | |
681 | problem with building under Solaris/SunPro cc. | |
682 | ||
f1536ab5 MA |
683 | Mon Jan 20 13:52:13 1997 Mark Alexander <marka@cygnus.com> |
684 | ||
685 | * config/mips/{embed,embed64,embedl,embedl64}.mt: | |
686 | Link in simulator on MIPS embedded targets. | |
687 | ||
15cb042b PS |
688 | Sat Jan 18 02:31:29 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
689 | ||
690 | * blockframe.c (frameless_look_for_prologue): Mark frames | |
691 | with a zero PC as frameless to improve backtraces from core dumps | |
692 | caused by dereferencing a NULL function pointer. | |
693 | ||
1bb1df85 GN |
694 | Thu Jan 16 14:10:41 1997 Geoffrey Noer <noer@cygnus.com> |
695 | ||
bb6debca | 696 | * config/mn10300/tm-mn10300.h: fix BREAKPOINT definition. |
1bb1df85 GN |
697 | |
698 | Tue Jan 14 16:01:06 1997 Geoffrey Noer <noer@cygnus.com> | |
699 | ||
700 | * mn10300-tdep.c: made a lot more generic, ripping out code | |
701 | from copied target (no more mn10300_scan_prologue, | |
702 | init_extra_frame_info, and mn10300_fix_call_dummy calls) | |
703 | * config/mn10300/tm-mn10300.h: undefine INIT_EXTRA_FRAME_INFO | |
704 | and INIT_FRAME_PC macros | |
705 | ||
afe56235 MS |
706 | Thu Jan 9 11:44:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
707 | ||
708 | * sparc-tdep.c (sparc_frame_find_saved_regs): Don't use | |
709 | FP_REGISTER_BYTES to compute offsets into the saved frame, | |
710 | since it fails for SPARC targets configured without any | |
711 | FP regs. Instead, use DUMMY_STACK_REG_BUF_SIZE. | |
712 | ||
34b22c5c SG |
713 | Mon Jan 6 11:15:14 1997 Stu Grossman (grossman@critters.cygnus.com) |
714 | ||
715 | * symtab.c (fixup_symbol_section): Handle NULL symbols without | |
716 | crashing. | |
717 | ||
6c310da8 SG |
718 | Fri Jan 3 12:08:16 1997 Stu Grossman (grossman@critters.cygnus.com) |
719 | ||
720 | * Makefile.in configure configure.in: Remove ENABLE_CLIBS, | |
721 | ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS | |
722 | and CONFIG_OBS. | |
723 | * configure configure.in: Clean up test cases around thread support. | |
724 | start-sanitize-v850 | |
725 | * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if | |
726 | host is Windows. | |
727 | end-sanitize-v850 | |
728 | * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c | |
729 | printcmd.c valops.c value.h values.c: Add bfd_section arg to | |
730 | value_at and value_at_lazy. | |
731 | * coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h: | |
732 | Add bfd_section arg to prim_record_minimal_symbol_and_info. | |
733 | * corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section | |
734 | instead of read_memory. It takes a bfd_section arg. | |
735 | * coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove | |
736 | unnecessary cast for assignment of struct dbx_symfile_info. | |
737 | Struct objfile now uses a real pointer instead of PTR for this | |
738 | element. | |
739 | * dbxread.c (dbx_symfile_init): Stash bfd section pointers for | |
740 | text, data and bss into dbx_symfile_info. | |
741 | * exec.c (xfer_memory): Handle transfers for user-specified | |
742 | sections. | |
743 | * findvar.c (read_var_value locate_var_value): Copy bfd section | |
744 | from the symbol to the value. | |
745 | * gdb-stabs.h: Add section pointers for text, data and bss | |
746 | sections. | |
747 | * maint.c (translate address command): Add test code for overlay | |
748 | address translation. | |
749 | * printcmd.c (do_examine do_one_display): Now takes a bfd section | |
750 | arg. | |
751 | * (print_formatted x_command): Record current section along with | |
752 | current address for repeated commands. | |
753 | * sparc-nat.c (fetch_inferior_registers): Change | |
754 | target_xfer_memory to target_{read write}_memory to allow changes | |
755 | to target_xfer_memory interface for section info. | |
756 | * symmisc.c (dump_msymbols print_symbol): Print section | |
757 | assocaited with symbol. | |
758 | * symtab.c (fixup_symbol_section): New routine to | |
759 | add section info to symbols returned by lookup_symbol. | |
760 | * symtab.h (struct general_symbol_info): Add bfd section to | |
761 | symbols. | |
762 | * target.c target.h (target_xfer_memory): Add bfd section to | |
763 | args. | |
764 | * (target_read_memory_section): New routine to read data from a | |
765 | specific section. | |
766 | * (target_memory_bfd_section): New global variable to pass bfd | |
767 | section in to targets. | |
768 | * valarith.c (value_add value_addr value_array): Preserve bfd | |
769 | section when computing new value. | |
770 | * value.h (struct value): Add bfd section to values. | |
771 | * values.c (allocate_value value_copy): Initialize/preserve bfd | |
772 | section. | |
773 | * (unpack_double): Clean up _MSC_VER conditionals to remove | |
774 | duplicate code. | |
775 | start-sanitize-v850 | |
776 | * v850ice.c: New module to support communication with NEC's | |
777 | PC-based ICE. | |
778 | * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and | |
779 | ep names with rxx names. sp and fp are renamed via a different | |
780 | mechanism. | |
781 | end-sanitize-v850 | |
782 | ||
3de76938 GN |
783 | Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com> |
784 | ||
bb6debca SS |
785 | * mn10300-tdep.c (mn10300_push_arguments): rewrote, |
786 | also removed code elsewhere that made use of RP_REGNUM. | |
4efc4045 GN |
787 | * config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM, |
788 | ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300 | |
789 | arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE, | |
bb6debca | 790 | EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE. |
3dcd429f | 791 | |
bb6debca | 792 | For older changes see ChangeLog-96 |
bd5635a1 RP |
793 | \f |
794 | Local Variables: | |
795 | mode: indented-text | |
796 | left-margin: 8 | |
797 | fill-column: 74 | |
798 | version-control: never | |
799 | End: |