AIX 4.3 changes.
[binutils-gdb.git] / gdb / ChangeLog
1 2000-02-15 Kevin Buettner <kevinb@redhat.com>
2
3 Changes for AIX 4.3:
4 * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
5 to correct value for generic dummy frames. When using
6 generic dummy frames, don't attempt to write TOC value or
7 function to call into the call dummy.
8 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
9 code to also handle the PowerOpen ABI.
10 (ppc_push_return_address): Enable for all ports.
11 * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
12 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
13 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
14 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
15 provided by generic RS6000 definitions so that call dummies
16 are implemented using generic dummy frames instead.
17
18 * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
19 prior to changing the stack pointer via ptrace(). Also, ignore
20 attempts to store to undefined registers that are less than
21 NUM_REGS.
22
23 * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
24 frame from 436 to 448 to account for alignment padding.
25 (rs6000_push_arguments): Obtain actual register size instead
26 of assuming the register is 4 bytes long. [There's still
27 more work to be done to totally remove the 4 byte assumption,
28 however.] Make sure the stack is 16 byte aligned as required
29 by the PowerOpen ABI. Also, make sure that small structures
30 passed in registers are properly aligned within the register.
31
32 2000-02-15 Jesper Skov <jskov@cygnus.co.uk>
33
34 Patch applied by Kevin Buettner <kevinb@redhat.com>
35
36 * rs6000-tdep.c (skip_prologue): skip copying of argument
37 registers to local variable registers.
38
39 2000-02-14 Jim Kingdon <kingdon@redhat.com>
40
41 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
42 sym->section->index number is not a SECT_OFF_* code.
43
44 Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
45
46 * MAINTAINERS (write after approval): Add H.J. Lu.
47
48 2000-02-14 Nick Clifton <nickc@cygnus.com>
49
50 * sh-tdep.c: Remove extraneous code.
51
52 2000-02-14 Amit S. Kale <akale@veritas.com>
53
54 * elfread.c (elf_symtab_read): Move the use of sym to after where
55 it is set.
56 Checked in by Jim Kingdon <kingdon@redhat.com>
57
58 Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
59
60 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
61
62 Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
63
64 From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
65 * dwarf2read.c: (die_is_declaration): New fn.
66 (read_structure_scope): Use it.
67
68 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
69
70 2000-02-10 J.T. Conklin <jtc@redback.com>
71
72 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
73 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
74 configdirs.
75 * gdbserver/low-nbsd.c: New file.
76
77 * gdbserver/Makefile.in: convert to autoconf.
78 * gdbserver/configure.in: likewise.
79 * gdbserver/configure: generate.
80
81 Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
82
83 * CONTRIBUTE: New file. How to contribute to GDB.
84
85 Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
86
87 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
88 Buettner to powerpc maintainers. Make Kevin Buettner the
89 GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
90 and Jason Molenda to write after aproval list.
91
92 Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
93
94 * MAINTAINERS: Reformat. Separate into check-in categories.
95
96 Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
97
98 * uw-thread.c: Remove __FUNCTION__ GNUism.
99
100 2000-01-17 Amit S. Kale <akale@veritas.com>
101
102 * elfread.c (elf_symtab_read): Use offset for the section in which a
103 symbol resides, instead of .text section for calculating address of a
104 symbol.
105 Checked in by Jim Kingdon <kingdon@redhat.com>
106
107 2000-02-10 Mark Kettenis <kettenis@gnu.org>
108
109 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
110 no longer necessary now we have gdb_wait.h.
111
112 2000-02-09 Mark Kettenis <kettenis@gnu.org>
113
114 * gnu-nat.c (proc_string): Make global.
115 (do_mach_notify_dead_name): Suppress dead name notifications if we
116 know that the task is dead.
117
118 1999-12-13 Mark Kettenis <kettenis@gnu.org>
119
120 * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
121 instead of directly from the kernel. Add some hackery to make
122 sure that the info isn't influenced by suspension of the task in
123 the proc server itself.
124
125 2000-02-10 Jim Kingdon <kingdon@redhat.com>
126
127 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
128 approved by Michael Snyder.
129
130 2000-02-09 Mark Kettenis <kettenis@gnu.org>
131
132 * linux-thread.c: Include defs.h before gdb_wait.h.
133
134 Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
135
136 * Makefile.in (wait_h): Delete macro. Update all dependencies
137 specifying gdb_wait.h instead.
138
139 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
140 remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
141 remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
142 convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
143 remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
144 remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
145 remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
146 ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
147 infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
148 fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
149 or <sys/wait.h>.
150 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
151
152 * gdb_wait.h: New file. Based on ../include/wait.h. Include
153 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
154
155 Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
156
157 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
158 * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
159 (d10v_stack_align): Declare.
160 * d10v-tdep.c (d10v_stack_align): Define.
161
162 1999-08-23 J.T. Conklin <jtc@redback.com>
163
164 * top.c (remote_timeout): Change default to 2. Add comment
165 explaining history of changes to the default value.
166 * remote.c (_initialize_remote): Remove code that adds set/
167 show remotetimeout, as that's also done in top.c
168
169 1999-10-18 J.T. Conklin <jtc@redback.com>
170
171 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
172 Return E01 instead of P01 when 'P' command fails.
173
174 2000-02-05 J.T. Conklin <jtc@redback.com>
175
176 * remote.c (putpkt_binary): Handle NAK from target stub.
177
178 2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
179
180 * configure.in: Remove the addition of sol-thread.c to the
181 CONFIG_INITS list. This caused problems with init.c, because
182 sol-thread.c would be grepped twice for _initialize_* functions.
183 * configure: Ditto.
184 * Makefile.in: Add FIXME for init.c.
185
186 2000-02-07 Jim Kingdon <kingdon@redhat.com>
187
188 Clean up compiler warnings:
189 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
190 stack.c, valprint.c: Change variables to unsigned.
191 * bcache.c: Rearrange to avoid warnings about variables not being set.
192 * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
193 rather than declaring print_max and repeat_count_threashold
194 ourselves (incorrectly).
195 * valprint.h: Do declare repeat_count_threashold.
196 * ch-exp.c: Use default case for internal error.
197 * findvar.c: Don't omit argument type.
198 * symtab.c: Remove unused variable.
199
200 2000-02-04 Jim Blandy <jimb@redhat.com>
201
202 * c-typeprint.c (remove_qualifiers): New function.
203 (c_type_print_base): Use it to remove qualifiers from C++
204 qualified names, not strrchr.
205
206 * c-typeprint.c (c_type_print_base): Recognize type conversion
207 operators by calling is_type_conversion_operator.
208 (is_type_conversion_operator): New function.
209
210 2000-02-04 Nick Clifton <nickc@cygnus.com>
211
212 * config/arm/tm-arm.h (LOWEST_PC): Define.
213
214 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
215
216 * infrun.c (resume): Make just one call to target_resume(), instead
217 of four: set up correct parameters in all the cases ahead of time,
218 and do call at the end.
219
220 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
221
222 * config/powerpc/tm-ppc-eabi.h: Define
223 SOFUN_ADDRESS_MAYBE_MISSING.
224
225 2000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
226
227 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
228 frames (revisited).
229
230 Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
231
232 * Makefile.in (INIT_FILES): Append CONFIG_INITS
233 * configure.in (CONFIG_INIT): Initialize.
234 (links): Link srcdir/gdbtk/library to gdbtcl2.
235 * gdbtcl2: Moved to gdbtk/library.
236 ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
237 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
238 gdbtk.h: Moved to gdbtk/generic.
239
240 2000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
241
242 * printcmd.c (build_address_symbolic): New function. Returns all
243 the parts that are necessary to print an address in a symbolic
244 form.
245 (print_address_symbolic): Split into a printing part and an
246 information building part, build_address_symbolic().
247
248 * defs.h (build_address_symbolic): Export.
249
250 2000-02-03 Jim Blandy <jimb@redhat.com>
251
252 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
253 opcode.
254
255 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
256
257 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
258 arguments on dummy frames.
259
260 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
261
262 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
263 (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
264
265 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
266
267 * remote.c (getpkt_sane): New function. It is the old getpkt(),
268 which now returns a timeout indication.
269 (getpkt): New function. Wrapper for getpkt_sane(), so that return
270 value can still be ignored.
271
272 Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
273
274 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
275 UI_OUT.
276
277 Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
278
279 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
280 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
281 GDB_FILE.
282
283 * Makefile.in: Update.
284
285 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
286 c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
287 ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
288 cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
289 expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
290 frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
291 gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
292 jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
293 m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
294 printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
295 remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
296 ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
297 serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
298 target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
299 utils.c, v850ice.c, valprint.c, valprint.h, value.h,
300 config/pa/tm-hppa.h: Update.
301 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
302
303 2000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
304
305 * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
306 config/i386/i386dgux.mh, config/i386/i386sol2.mh,
307 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
308 config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
309 config/m88k/delta88v4.mh, config/mips/irix4.mh,
310 config/mips/irix5.mh, config/mips/mipsv4.mh,
311 config/powerpc/solaris.mh (NATDEPFILES): Change references to
312 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
313 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
314
315 Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
316
317 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
318
319 * main.c (captured_main): Only use the legacy tui_file code when
320 linking in older code such as the TUI.
321
322 * gdb-file.h, gdb-file.c: New files.
323 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
324 null_file_isatty, null_file_rewind, null_file_put,
325 null_file_flush, null_file_write, null_file_fputs,
326 null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
327 gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
328 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
329 set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
330 set_gdb_file_data, struct accumulated_gdb_file,
331 do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
332 mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
333 mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
334 stdio_file_delete, stdio_file_flush, stdio_file_write,
335 stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
336 Moved to gdb-file.h and gdb-file.c.
337 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
338 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
339 tui_file_rewind, tui_file_put, tui_file_fputs,
340 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
341 fputs_unfiltered_hook):
342 Moved to tui/tui-file.c and tui/tui-file.h.
343
344 * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
345 (tui-file.o, gdb-file.o): Add dependencies.
346 (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
347 * main.c: #include tui/tui-file.h.
348
349 2000-01-28 Fred Fish <fnf@cygnus.com>
350
351 * findvar.c (value_from_register): Special case handling of D10V
352 pointer values fetched from registers.
353
354 2000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
355
356 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
357 support for new style thumb prologues.
358
359 2000-01-28 Nick Clifton <nickc@redhat.com>
360
361 * arm-tdep.c: Remove extraneous dash at start of strings
362 introduced in previous delta.
363
364 2000-01-27 Nick Clifton <nickc@redhat.com>
365
366 * arm-tdep.c: Replace uses of arm_toggle_renames() with
367 parse_arm_disassembler_option().
368
369 2000-01-27 Jim Blandy <jimb@cygnus.com>
370
371 * symtab.c (decode_line_1): Don't let commas that are within
372 quotes or parenthesis terminate the line spec. Don't use pp when
373 removing the final double quote of a double-quoted string. Don't
374 forget to skip the opening double quote. I have no clue whether
375 this change is correct; probably we've just moved this function
376 from one buggy place to another buggy place, and never came within
377 an outhouse whiff of correctness.
378 (find_toplevel_char): New function.
379
380 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
381
382 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
383 passing the pointer to a thumb function as an argument.
384
385 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
386
387 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
388 are reinserted for another run.
389
390 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
391
392 * cli-out.c (cli_filed_string): Test for NULL string.
393
394 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
395
396 * infcmd.c (run_stack_dummy): Account for a random signal stopping
397 the inferior as well as breakpoints being hit while performing an
398 inferior function call.
399 * valops.c (hand_function_call): Ditto.
400
401 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
402
403 From Mark Kettenis <kettenis@gnu.org>
404
405 * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
406 i386_REGS_SEGS_STATE.
407 (HAVE_I387_REGS): Define.
408 (FLOAT_INFO): Remove.
409 * i386gnu-nat.c: Almost completely rewritten to use new i386
410 register layout and `float info' implementation.
411 * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
412 Move prototypes from here.
413 * gnu-nat.h: To here.
414
415 2000-01-24 Kevin Buettner <kevinb@redhat.com>
416
417 * utils.c (get_field, put_field): Fix buffer underruns and
418 overruns. Also, handle case where total_len is not evenly
419 divisible by 8.
420 (getfield): Make sure zeroing of unwanted bits occurs even
421 when bit field to extract does not straddle two or more
422 bytes.
423
424 2000-01-23 Christopher Faylor <cgf@cygnus.com>
425
426 * defs.h: Add gdb_thread_select declaration.
427
428 2000-01-23 Kevin Buettner <kevinb@redhat.com>
429
430 * linux-thread.c (_initialize_linuxthreads): Make sure that
431 linuxthreads_block_mask does not block SIGCHLD.
432
433 2000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
434
435 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
436 text so that new lines work properly.
437
438 2000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
439
440 * proc-utils.h: New file. Export functions from proc-*.c.
441
442 * proc_api.c: Rename to:
443 * proc-api.c: New file. Add include of proc-utils.h.
444
445 * proc_events.c: Rename to:
446 * proc-events.c: New file.
447
448 * proc_flags.c: Rename to:
449 * proc-flags.c: New file.
450
451 * proc_why.c: Rename to:
452 * proc-why.c: New file. Add include of proc-utils.h.
453
454 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
455 ctype.h, proc-utils.h.
456 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
457 (open_procinfo_files): Conditionalize local variable tmp, to avoid
458 compiler warnings.
459 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
460 pathname.
461 (procfs_wait): Adjust format in some printf_filetered calls to
462 avoid compiler warnings.
463 (make_signal_thread_runnable): Ifdef 0. The calls to this function
464 are also ifdef'd 0 .
465 (procfs_resume): Add parentheses around '&&' operation.
466 (procfs_set_exec_trap): Remove unused variable.
467 (info_proc_cmd): Add braces to avoid ambiguous else clause.
468
469 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
470 proc-why.o): Update dependencies.
471
472 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
473 proc-*.o.
474
475 2000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
476
477 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
478 Fix from Robert Lipe <robertl@sco.com>.
479 * configure: Regenerated.
480
481 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
482
483 * stack.c (print_frame_info_base): Break up into the frame info
484 (location) printing part and the rest (source line printing).
485 (print_frame): New function. Take care of printing the location
486 information.
487 Update copyright.
488
489 * infrun.c (normal_stop): Use enum values rather than integers for the
490 source_flag to be passed to show_and_print_stack_frame().
491 Update copyright.
492
493 * frame.h (print_what): New enum for 'source' argument to
494 print_frame_info_base(). Use this instead of obscure numbers.
495 Update copyright.
496
497 Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
498
499 * event-top.c (stdin_event_handler): call quit_command rather than
500 exit -- run cleanups, give target code a chance to say goodbye to
501 the target. Fixes bug where the inferior processes were left
502 around on Solaris (and probably elsewhere) by the testsuite.
503
504 2000-01-14 Mark Salter <msalter@cygnus.com>
505
506 * v850-tdep.c (v850_target_architecture_hook): Setup correct
507 machine id for disassembly.
508
509 2000-01-13 Jim Blandy <jimb@cygnus.com>
510
511 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
512 convert_to_regset, when regno indicates a specific register.
513
514 Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
515
516 * uw-thread.c: Document libthread.so debugging interface. Minor
517 comment and formatting tweaks.
518 (DEBUG): #define as 0 instead of 1.
519 (CALL_BASE): Include function name in error msg.
520 (libthread_stub): Adjust inferior_pid after thread exit.
521 (uw_thread_create_inferior): Deactivate uw_thread_ops before
522 asking procfs_ops to create inferior.
523 (libthread_init): Don't return nonlocally on error.
524
525 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
526
527 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
528 variable.
529
530 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
531
532 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
533 both sides are on the same state.
534
535 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
536
537 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
538 115200 (minor syntax mistake).
539
540 2000-01-12 Jim Blandy <jimb@cygnus.com>
541
542 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
543 this here, to go along with the definitions of PIDGET and TIDGET.
544
545 2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
546
547 * thread.c (do_captured_thread_select): New function. Switch
548 current thread, safely from within catch_errors().
549 (gdb_thread_select): New function. Switch threads safely.
550 (thread_command): Use gdb_thread_select().
551 Include ui-out.h.
552 (do_captured_list_thread_ids): New function.
553 (gdb_list_thread_ids): New function.
554
555 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
556
557 2000-01-11 Christopher Faylor <cgf@cygnus.com>
558
559 * configure.in: Avoid linking -limagehlp unless it's a native build.
560 * configure: Regenerate.
561 * thread.cc (add_thread): Clear private data pointer here or suffer
562 strange behavior when it is checked for NULL later.
563
564 2000-01-09 Christopher Faylor <cgf@cygnus.com>
565
566 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
567 * configure.in: Add an additional library to cygwin link.
568 * configure: Regenerate.
569
570 Patch from Egor Duda <deo@logos-m.ru>:
571 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
572 type.
573
574 2000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com>
575
576 * uw-thread.c: New file to support UnixWare user-mode threads:
577 contributed by Nickolas Duffek <nsd@cygnus.com>.
578 * target.h (struct target_ops): New vector, to_extra_thread_info,
579 allows back-ends to give extra details in info thread display.
580 (target_extra_thread_info): define new macro.
581 (target_find_new_threads): simplify macro. Cleanup comments.
582 * target.c (to_extra_thread_info): default and inherit new vector.
583 (cleanup_target): eliminate PARAMS, break up long lines,
584 provide default definition for to_extra_thread_info, and
585 to_find_new_threads. Default to_thread_alive and to_query
586 to return_zero, not target_ignore (they each return int not void).
587 (debug_to_find_new_threads): new debug entry.
588 (setup_target_debug): add debug_to_find_new_threads.
589 * gdbthread.h: export struct thread_info, find_thread_pid, and
590 iterate_over_threads. Add comments. Eliminate PARAMS. Update
591 copyright. Add new private data pointer for use by target back-ends.
592 * thread.c (struct thread_info): move definition to gdbthread.h.
593 (find_thread_pid): new exported function for thread lookup.
594 (iterate_over_threads): new exported function for applying
595 arbitrary operations to threads. Update copyright to 2000.
596 (info_threads_command): use new target_extra_thread_info vector
597 to display extra information about each thread (if implemented).
598 * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
599 Add defines for PIDGET, etc.
600 * config/i386/tm-i386sol2.h: ditto.
601 * config/sparc/tm-sun4sol2.h: ditto.
602 * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
603 * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
604 if -lpthread and -lpthreads fail.
605
606 * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
607 (proc_flags): combine flags that UnixWare splits into two locations.
608 (proc_modify_flag): add support for PR_KLC (kill on last close).
609 (proc_[un]set_kill_on_last_close): new functions.
610
611 2000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
612
613 * infrun.c (normal_stop): Print out thread id when we stop.
614
615 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
616
617 * remote.c (remote_open_1): Fix message so it does not imply a
618 specific syntax for serial ports, as it is OS dependent.
619 (remote_async_open_1): Ibid.
620 (init_remote_ops): Ibid.
621
622 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
623
624 * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
625 "set remotebaud" command (if set) when no speed is specified on
626 the "target rdi" command.
627
628 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
629
630 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
631 115200.
632 (baud_options[]): Ibid.
633
634 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
635
636 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
637 used by each operating system.
638
639 2000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
640
641 * breakpoint.c (until_break_command): Add an argument for the
642 continuation, the beginning of the cleanups set up by this
643 command.
644 (until_break_command_continuation): Do cleanups until the one
645 passed in as argument instead of doing all of them.
646
647 * infcmd.c (finish_command_continuation): Expect a new argument,
648 which indicates up to where to do cleanups. Update calls to
649 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
650 (finish_command): Add another argument for the continuation: the
651 starting cleanup for this command.
652
653 2000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
654
655 From Grant Edwards <grante@visi.com> (original patch from Thomas
656 Zenker ):
657 * rdi-share/ardi.c: Allow interruption of interruptible
658 targets with a <CNTL-C>.
659
660 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
661
662 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
663 to control port to accommodate some versions of Angel.
664
665 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
666
667 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
668 Add interpretation for C Support Library packets.
669
670 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
671
672 * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
673 is now being modified.
674 * rdi-share/devsw.h: Adjust declaration of the above funtion.
675
676 For older changes see ChangeLog-99
677 \f
678 Local Variables:
679 mode: change-log
680 left-margin: 8
681 fill-column: 74
682 version-control: never
683 End: